张延森 3 lat temu
rodzic
commit
956edcb2a9

+ 0
- 1
package.json Wyświetl plik

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

+ 15
- 0
src/assets/css/mixin.scss Wyświetl plik

49
     transform: translateX(-30%);
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 Wyświetl plik

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

+ 1
- 1
src/config/env.production.js Wyświetl plik

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

+ 1
- 1
src/config/env.staging.js Wyświetl plik

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

+ 0
- 1
src/main.js Wyświetl plik

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

+ 5
- 0
src/router/index.js Wyświetl plik

27
   router.matcher = newRouter.matcher // reset router
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
 export default router
35
 export default router

+ 2
- 2
src/views/apartment.vue Wyświetl plik

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

+ 5
- 1
src/views/components/ApartmentNavi.vue Wyświetl plik

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