Quellcode durchsuchen

feat(福利Go)卡券中心 添加跳转

xing.li vor 3 Jahren
Ursprung
Commit
e11e7026bf
2 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 5 0
      pages/welfareMall/index/index.js
  2. 1 1
      pages/welfareMall/index/index.wxml

+ 5 - 0
pages/welfareMall/index/index.js

@@ -77,6 +77,11 @@ Page({
   },
 
    //跳转超值券包
+   goToCouponBag:function () {
+    wx.navigateTo({
+      url: "/pages/welfareMall/activityList/activityList",
+    })
+   },
   goToCoupon:function(e){
     var appId = e.currentTarget.dataset.appid;
     var path = e.currentTarget.dataset.path;

+ 1 - 1
pages/welfareMall/index/index.wxml

@@ -24,7 +24,7 @@ indicator-dots="{{indicatorDots}}"
 <view class="coupon_list flex-column">
   <view class="c_l_top flex-row">
     <view class="c_l_top_l">推荐优惠</view>
-    <view class="c_l_top_r" bindtap="goToCoupon">更多</view>
+    <view class="c_l_top_r" bindtap="goToCouponBag">更多</view>
   </view>
 
   <view class="coupon_item flex-row" wx:for="{{activityList}}"  wx:key="unique" bindtap="goCouponDetail" data-id="{{item.activityId}}">