Просмотр исходного кода

feat:超级订阅对比服务增加查看全部权益入口

zhangsiya 1 год назад
Родитель
Сommit
ebfa9a6a45
1 измененных файлов с 14 добавлено и 1 удалено
  1. 14 1
      apps/bigmember_pc/src/views/vipsubscribe/components/Contrast.vue

+ 14 - 1
apps/bigmember_pc/src/views/vipsubscribe/components/Contrast.vue

@@ -163,6 +163,8 @@
         </div>
       </div>
     </div>
+    <div class="view-all" @click="viewAll">查看全部权益 <i class="iconfont icon-more"></i></div>
+
   </div>
 </template>
 
@@ -203,6 +205,9 @@ export default {
         $(window).scrollTop() > this.stickyed.startFixedTop &&
         $(window).scrollTop() < tableMaxHeight
       this.stickyed.forbid = !show
+    },
+    viewAll () {
+      window.open('/product/index?serviceType=0', '_blank')
     }
   }
 }
@@ -276,7 +281,7 @@ export default {
   }
   .contrast-main {
     width: 100%;
-    height: 1180px;
+    height: 1170px;
     margin-top: 32px;
 
     $border-color: #ececec;
@@ -647,4 +652,12 @@ export default {
     }
   }
 }
+.view-all{
+  cursor: pointer;
+  font-size:16px;
+  line-hieght: 24px;
+  color: $color_main;
+  text-align: center;
+  padding-bottom:20px;
+}
 </style>