panyong před 3 roky
rodič
revize
70c66b068c

+ 0 - 9
htmldev/cps/src/router/index.js

@@ -53,15 +53,6 @@ const routes = [
           isUseCache: false,
           keepAlive: true
         }
-      },
-      {
-        path: '/mall', // 更多省钱
-        name: 'MarketingMall',
-        component: _import('views/marketing/mall/index'),
-        meta: {
-          isUseCache: false,
-          keepAlive: true
-        }
       }
     ]
   }

+ 2 - 3
htmldev/cps/src/views/marketing/index.vue

@@ -7,7 +7,7 @@
         class="tab-list"
         ref="tabList">
         <li class="tab-item"
-            :class="{'link-avtive': $route.name === item.routeName || $route.name === item.sub}"
+            :class="{'link-avtive': $route.name === item.routeName}"
             v-for="(item, index) in navList"
             :key="index"
             @click="_selectNav(item)">
@@ -42,8 +42,7 @@ export default {
           title: '省钱',
           default: require('./image/ic_save_0@2x.png'),
           active: require('./image/ic_save_1@2x.png'),
-          routeName: 'MarketingSave',
-          sub: 'MarketingMall'
+          routeName: 'MarketingSave'
         },
         {
           id: 1,

binární
htmldev/cps/src/views/marketing/save/image/ic_more@2x.png


+ 18 - 1
htmldev/cps/src/views/marketing/save/index.vue

@@ -22,14 +22,23 @@
         </li>
       </ul>
     </div>
+    <img
+      class="jump-more"
+      src="./image/ic_more@2x.png"
+      alt="">
+    <Mall/>
   </div>
 </template>
 
 <script>
 import BScroll from 'better-scroll'
+import Mall from './mall'
 
 export default {
   name: 'index',
+  components: {
+    Mall
+  },
   data () {
     return {
       shopsScroll: null,
@@ -81,6 +90,7 @@ export default {
   top: 56px;
   right: 0;
   bottom: 0;
+  padding-bottom: 102px;
   background: #F7F6F9;
   overflow: hidden;
 }
@@ -95,7 +105,7 @@ export default {
     flex-direction: column;
     align-items: center;
     width: 100%;
-    padding: 15px 0 102px;
+    padding-top: 15px;
 
     li {
       position: relative;
@@ -161,4 +171,11 @@ export default {
     }
   }
 }
+
+.jump-more {
+  display: block;
+  width: 331px;
+  height: 56px;
+  margin: 0 auto;
+}
 </style>

+ 0 - 0
htmldev/cps/src/views/marketing/mall/api/index.js → htmldev/cps/src/views/marketing/save/mall/api/index.js


+ 0 - 0
htmldev/cps/src/views/marketing/mall/image/ic_sold_out@2x.png → htmldev/cps/src/views/marketing/save/mall/image/ic_sold_out@2x.png


+ 1 - 1
htmldev/cps/src/views/marketing/mall/index.vue → htmldev/cps/src/views/marketing/save/mall/index.vue

@@ -185,7 +185,7 @@ export default {
 
 <style lang="scss" scoped>
 .mall-container {
-  position: absolute;
+  position: fixed;
   left: 0;
   top: 0;
   right: 0;

+ 0 - 0
htmldev/cps/src/views/marketing/mall/mock/index.js → htmldev/cps/src/views/marketing/save/mall/mock/index.js