张延森 3 years ago
parent
commit
956edcb2a9

+ 0
- 1
package.json View File

@@ -11,7 +11,6 @@
11 11
     "lint": "vue-cli-service lint"
12 12
   },
13 13
   "dependencies": {
14
-    "animate.css": "^4.1.1",
15 14
     "core-js": "^3.6.4",
16 15
     "lib-flexible": "^0.3.2",
17 16
     "lodash": "^4.17.15",

+ 15
- 0
src/assets/css/mixin.scss View File

@@ -49,3 +49,18 @@
49 49
     transform: translateX(-30%);
50 50
   }
51 51
 }
52
+
53
+@keyframes downfade {
54
+  0% {
55
+    opacity: 0;
56
+    transform: translateY(0);
57
+  }
58
+  70% {
59
+    opacity: 1;
60
+    transform: translateY(20%);
61
+  }
62
+  100% {
63
+    opacity: 0;
64
+    transform: translateY(20%);
65
+  }
66
+}

+ 1
- 1
src/config/env.development.js View File

@@ -1,6 +1,6 @@
1 1
 // 本地环境配置
2 2
 module.exports = {
3
-  title: 'vue-h5-template',
3
+  title: '云致科技',
4 4
   baseUrl: 'http://localhost:9018', // 项目地址
5 5
   baseApi: 'https://test.xxx.com/api', // 本地api请求地址,注意:如果你使用了代理,请设置成'/'
6 6
   APPID: 'xxx',

+ 1
- 1
src/config/env.production.js View File

@@ -1,6 +1,6 @@
1 1
 // 正式
2 2
 module.exports = {
3
-  title: 'vue-h5-template',
3
+  title: '华侨城',
4 4
   baseUrl: 'https://www.xxx.com/', // 正式项目地址
5 5
   baseApi: 'https://www.xxx.com/api', // 正式api请求地址
6 6
   APPID: 'xxx',

+ 1
- 1
src/config/env.staging.js View File

@@ -1,5 +1,5 @@
1 1
 module.exports = {
2
-  title: 'vue-h5-template',
2
+  title: '云致科技',
3 3
   baseUrl: 'https://test.xxx.com', // 测试项目地址
4 4
   baseApi: 'https://test.xxx.com/api', // 测试api请求地址
5 5
   APPID: 'xxx',

+ 0
- 1
src/main.js View File

@@ -16,7 +16,6 @@ import { $cdn } from '@/config'
16 16
 Vue.prototype.$cdn = $cdn
17 17
 
18 18
 // 引入全局样式
19
-import 'animate.css'
20 19
 import 'swiper/swiper-bundle.css'
21 20
 import '@/assets/css/index.scss'
22 21
 // 移动端适配

+ 5
- 0
src/router/index.js View File

@@ -27,4 +27,9 @@ export function resetRouter() {
27 27
   router.matcher = newRouter.matcher // reset router
28 28
 }
29 29
 
30
+router.beforeEach((to, from, next) => {
31
+  console.log(to)
32
+  next()
33
+})
34
+
30 35
 export default router

+ 2
- 2
src/views/apartment.vue View File

@@ -137,9 +137,9 @@ export default {
137 137
     position: absolute;
138 138
     z-index: 500;
139 139
     right: 10px;
140
-    bottom: 20px;
140
+    bottom: -24px;
141 141
     width: 96px;
142
-    height: 78px;
142
+    height: 88px;
143 143
 
144 144
     img {
145 145
       width: 100%;

+ 5
- 1
src/views/components/ApartmentNavi.vue View File

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="flex-box">
4
-      <div class="flex-box-item">
4
+      <div class="flex-box-item down-sign">
5 5
         <img :src="require('@/assets/images/apartment/1-2.png')" style="height: 48px;" alt="">
6 6
       </div>
7 7
     </div>
@@ -59,4 +59,8 @@ export default {
59 59
     }
60 60
   }
61 61
 }
62
+
63
+.down-sign {
64
+  animation: downfade 2s infinite;
65
+}
62 66
 </style>