From 5f22b5bd21f2e9807b53bbf48432489e7268a303 Mon Sep 17 00:00:00 2001 From: bemege Date: Fri, 25 Jun 2021 00:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=80=82=E9=85=8D=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- public/index.html | 1 + src/App.vue | 37 ++ src/main.js | 5 + src/views/official/index.vue | 1061 ++++++++++++++++++++----------- src/views/official/indexbak.vue | 508 +++++++++++++++ 6 files changed, 1229 insertions(+), 386 deletions(-) create mode 100644 src/views/official/indexbak.vue diff --git a/package.json b/package.json index c3f5696..b2b3e92 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "animate.css": "^4.1.1", + "aos": "^2.3.4", "axios": "^0.21.0", "core-js": "^3.6.4", "crypto-js": "^4.0.0", @@ -39,7 +40,6 @@ "@vue/cli-service": "^4.5.8", "babel-eslint": "^10.1.0", "babel-plugin-dynamic-import-node": "^2.3.3", - "script-ext-html-webpack-plugin": "^2.1.5", "eslint": "^7.12.1", "eslint-plugin-vue": "^7.1.0", "html-webpack-plugin": "^4.5.0", @@ -49,6 +49,7 @@ "sass": "~1.32.1", "sass-loader": "^10.0.4", "sass-resources-loader": "^2.1.1", + "script-ext-html-webpack-plugin": "^2.1.5", "svg-sprite-loader": "^5.0.0", "svgo": "^1.3.0", "vue-template-compiler": "^2.6.12" diff --git a/public/index.html b/public/index.html index 1e633cc..e273311 100644 --- a/public/index.html +++ b/public/index.html @@ -3,6 +3,7 @@ + <%= htmlWebpackPlugin.options.title %> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %> diff --git a/src/App.vue b/src/App.vue index 5e2bf68..57ac97b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,3 +39,40 @@ export default { } } + diff --git a/src/main.js b/src/main.js index 24d493f..45c690c 100644 --- a/src/main.js +++ b/src/main.js @@ -18,6 +18,9 @@ import '@/components/autoRegister' import VueClipboard from 'vue-clipboard2' import Process from '@/components/HandleProcess/process' +import AOS from 'aos' +import 'aos/dist/aos.css' + Vue.prototype.$api = api Vue.prototype.$dayjs = dayjs Vue.prototype.$store = store @@ -38,6 +41,7 @@ Vue.prototype.$process = Process Vue.use(VueClipboard) Vue.use(meta) Vue.use(Element, {size: 'small', zIndex: 3000}) +Vue.use(AOS) Vue.config.productionTip = false @@ -46,3 +50,4 @@ new Vue({ store, render: h => h(App) }).$mount('#app') +AOS.init() \ No newline at end of file diff --git a/src/views/official/index.vue b/src/views/official/index.vue index 18012a4..0ca6c9f 100644 --- a/src/views/official/index.vue +++ b/src/views/official/index.vue @@ -1,153 +1,212 @@ + \ No newline at end of file diff --git a/src/views/official/indexbak.vue b/src/views/official/indexbak.vue new file mode 100644 index 0000000..18012a4 --- /dev/null +++ b/src/views/official/indexbak.vue @@ -0,0 +1,508 @@ + + + + +