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 @@ + + + + +