From be07d880f2d4ec1b3493ad76a09f1abc13425b89 Mon Sep 17 00:00:00 2001 From: zhjiho <709643304@qq.com> Date: Fri, 9 Apr 2021 11:26:30 +0800 Subject: [PATCH] fix --- web_src/.gitignore | 17 + web_src/config/index.js | 8 +- web_src/index.html | 43 +- web_src/src/assets/logo.png | Bin 6849 -> 4877 bytes web_src/src/components/Index.vue | 233 +- web_src/src/components/admin/Index.vue | 2 +- web_src/src/components/admin/attachment/Index.vue | 2 +- web_src/src/components/admin/setting/Index.vue | 7 +- web_src/src/components/admin/user/Index.vue | 18 +- web_src/src/components/attachment/Index.vue | 24 +- web_src/src/components/catalog/Index.vue | 122 +- web_src/src/components/common/Mock.vue | 118 + web_src/src/components/common/OxFooter.vue | 86 + web_src/src/components/common/OxHeader.vue | 288 +++ web_src/src/components/item/export/Index.vue | 44 +- web_src/src/components/item/show/Index.vue | 6 +- .../item/show/show_regular_item/Index.vue | 15 +- .../item/show/show_regular_item/LeftMenu.vue | 10 +- .../item/show/show_regular_item/LeftMenuSub.vue | 2 +- .../item/show/show_regular_item/OpBar.vue | 23 +- .../item/show/show_single_page_item/Index.vue | 2 +- .../components/item/show/show_table_item/Index.vue | 4 +- .../src/components/page/edit/AttachmentList.vue | 51 +- web_src/src/components/page/edit/Filehub.vue | 174 ++ web_src/src/components/page/edit/Index.vue | 40 +- web_src/src/main.js | 4 + web_src/src/models/page.js | 149 +- web_src/src/store/actions.js | 8 +- web_src/src/store/index.js | 5 +- web_src/src/store/mutations.js | 3 + web_src/src/store/state.js | 7 + web_src/src/util.js | 106 +- web_src/static/css/OxFooter.css | 228 ++ web_src/static/css/qietu.css | 82 + web_src/static/css/responsive.css | 333 +++ web_src/static/css/style.css | 793 ++++++ web_src/static/css/unisans.otf | Bin 0 -> 113772 bytes web_src/static/editor.md/editormd.js | 7 +- web_src/static/editor.md/lib/marked.min.js | 2708 +++++++++++++++++++- web_src/static/editor.md/lib/marked.old.js | 29 + web_src/static/images/bg.jpg | Bin 0 -> 23307 bytes web_src/static/images/code.png | Bin 0 -> 16226 bytes web_src/static/images/icon_right.png | Bin 0 -> 287 bytes web_src/static/images/logo.png | Bin 0 -> 21367 bytes web_src/static/images/logo_b.png | Bin 0 -> 12022 bytes web_src/static/images/mini.png | Bin 0 -> 22133 bytes web_src/static/images/search.png | Bin 0 -> 1244 bytes web_src/static/imgs/Android.png | Bin 0 -> 649 bytes web_src/static/imgs/Auto.png | Bin 0 -> 7377 bytes web_src/static/imgs/Logo.png | Bin 0 -> 1862 bytes web_src/static/imgs/Mac.png | Bin 0 -> 204 bytes web_src/static/imgs/Server.png | Bin 0 -> 419 bytes web_src/static/imgs/Vector 9.png | Bin 0 -> 1608 bytes web_src/static/imgs/Vector.png | Bin 0 -> 342 bytes web_src/static/imgs/Vector1.png | Bin 0 -> 241 bytes web_src/static/imgs/Wechat.png | Bin 0 -> 1263 bytes web_src/static/imgs/Windows.png | Bin 0 -> 439 bytes web_src/static/imgs/bg1.png | Bin 0 -> 60969 bytes web_src/static/imgs/bg2-1.png | Bin 0 -> 15538 bytes web_src/static/imgs/bg2-2.png | Bin 0 -> 9649 bytes web_src/static/imgs/bg2-3.png | Bin 0 -> 9442 bytes web_src/static/imgs/bg2-4.png | Bin 0 -> 7635 bytes web_src/static/imgs/bg2-5.png | Bin 0 -> 25673 bytes web_src/static/imgs/code.png | Bin 0 -> 12683 bytes web_src/static/imgs/home1.png | Bin 0 -> 81777 bytes web_src/static/imgs/home2-1111111.png | Bin 0 -> 12283 bytes web_src/static/imgs/home2-img.png | Bin 0 -> 15607 bytes web_src/static/imgs/home2.png | Bin 0 -> 35075 bytes web_src/static/imgs/home3.png | Bin 0 -> 39453 bytes web_src/static/imgs/home4.png | Bin 0 -> 17703 bytes web_src/static/imgs/home5.png | Bin 0 -> 69125 bytes web_src/static/imgs/home6.png | Bin 0 -> 20288 bytes web_src/static/imgs/home7.png | Bin 0 -> 26813 bytes web_src/static/imgs/home8.png | Bin 0 -> 46599 bytes web_src/static/imgs/home9.png | Bin 0 -> 76737 bytes web_src/static/imgs/iOS.png | Bin 0 -> 601 bytes web_src/static/imgs/regbg.jpg | Bin 0 -> 50517 bytes web_src/static/lang/en.js | 59 +- web_src/static/lang/zh-CN.js | 67 +- 79 files changed, 5496 insertions(+), 431 deletions(-) create mode 100644 web_src/.gitignore create mode 100644 web_src/src/components/common/Mock.vue create mode 100644 web_src/src/components/common/OxFooter.vue create mode 100644 web_src/src/components/common/OxHeader.vue create mode 100644 web_src/src/components/page/edit/Filehub.vue create mode 100644 web_src/src/store/state.js create mode 100644 web_src/static/css/OxFooter.css create mode 100644 web_src/static/css/qietu.css create mode 100644 web_src/static/css/responsive.css create mode 100644 web_src/static/css/style.css create mode 100644 web_src/static/css/unisans.otf create mode 100644 web_src/static/editor.md/lib/marked.old.js create mode 100644 web_src/static/images/bg.jpg create mode 100644 web_src/static/images/code.png create mode 100644 web_src/static/images/icon_right.png create mode 100644 web_src/static/images/logo.png create mode 100644 web_src/static/images/logo_b.png create mode 100644 web_src/static/images/mini.png create mode 100644 web_src/static/images/search.png create mode 100644 web_src/static/imgs/Android.png create mode 100644 web_src/static/imgs/Auto.png create mode 100644 web_src/static/imgs/Logo.png create mode 100644 web_src/static/imgs/Mac.png create mode 100644 web_src/static/imgs/Server.png create mode 100644 web_src/static/imgs/Vector 9.png create mode 100644 web_src/static/imgs/Vector.png create mode 100644 web_src/static/imgs/Vector1.png create mode 100644 web_src/static/imgs/Wechat.png create mode 100644 web_src/static/imgs/Windows.png create mode 100644 web_src/static/imgs/bg1.png create mode 100644 web_src/static/imgs/bg2-1.png create mode 100644 web_src/static/imgs/bg2-2.png create mode 100644 web_src/static/imgs/bg2-3.png create mode 100644 web_src/static/imgs/bg2-4.png create mode 100644 web_src/static/imgs/bg2-5.png create mode 100644 web_src/static/imgs/code.png create mode 100644 web_src/static/imgs/home1.png create mode 100644 web_src/static/imgs/home2-1111111.png create mode 100644 web_src/static/imgs/home2-img.png create mode 100644 web_src/static/imgs/home2.png create mode 100644 web_src/static/imgs/home3.png create mode 100644 web_src/static/imgs/home4.png create mode 100644 web_src/static/imgs/home5.png create mode 100644 web_src/static/imgs/home6.png create mode 100644 web_src/static/imgs/home7.png create mode 100644 web_src/static/imgs/home8.png create mode 100644 web_src/static/imgs/home9.png create mode 100644 web_src/static/imgs/iOS.png create mode 100644 web_src/static/imgs/regbg.jpg diff --git a/web_src/.gitignore b/web_src/.gitignore new file mode 100644 index 0000000..dfb4167 --- /dev/null +++ b/web_src/.gitignore @@ -0,0 +1,17 @@ +.DS_Store +node_modules/ +/dist/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +/test/unit/coverage/ +/test/e2e/reports/ +selenium-debug.log + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln diff --git a/web_src/config/index.js b/web_src/config/index.js index f6feae7..991b435 100644 --- a/web_src/config/index.js +++ b/web_src/config/index.js @@ -11,7 +11,13 @@ module.exports = { assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { - '/server/': 'http://127.0.0.1/showdoc/' + '/server': { + target: 'http://showdoc.t.3pr.com.cn', // + changeOrigin: true, + pathRewrite: { + '^/server': '/server' + } + }, }, // Various Dev Server settings diff --git a/web_src/index.html b/web_src/index.html index 20e1f83..6ae46d9 100644 --- a/web_src/index.html +++ b/web_src/index.html @@ -5,34 +5,33 @@ -