diff --git a/front/package.json b/front/package.json index 0496e1ce..95d426a4 100644 --- a/front/package.json +++ b/front/package.json @@ -18,6 +18,7 @@ "@ant-design/icons-vue": "^6.1.0", "@element-plus/icons-vue": "^2.0.1", "@turf/turf": "^6.5.0", + "animate.css": "^4.1.1", "ant-design-vue": "^3.1.0-rc.5", "axios": "^0.21.1", "clipboard": "^2.0.8", diff --git a/front/src/assets/newHome/slogan.png b/front/src/assets/newHome/slogan.png new file mode 100644 index 00000000..29f50cca Binary files /dev/null and b/front/src/assets/newHome/slogan.png differ diff --git a/front/src/main.js b/front/src/main.js index 7b3ccf72..2fdb8ec3 100644 --- a/front/src/main.js +++ b/front/src/main.js @@ -21,6 +21,7 @@ import 'vue3-video-play-emiyagm/dist/style.css' // 引入css import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import * as ElementPlusIconsVue from '@element-plus/icons-vue' +import animate from 'animate.css' /** * @author chuzhixin 1204505056@qq.com * @description 正式环境默认使用mock,正式项目记得注释后再打包 @@ -42,6 +43,7 @@ app .use(Antd) .use(ElementPlus) .mount('#app') + .use(animate) for (const [key, component] of Object.entries(ElementPlusIconsVue)) { app.component(key, component) } diff --git a/front/src/views/newHome/components/Navigation.vue b/front/src/views/newHome/components/Navigation.vue index 4892fd73..fdc13701 100644 --- a/front/src/views/newHome/components/Navigation.vue +++ b/front/src/views/newHome/components/Navigation.vue @@ -147,6 +147,9 @@ +
+ +