Explorar o código

feat(福利Go)卡券中心

xing.li %!s(int64=3) %!d(string=hai) anos
pai
achega
1c9dca2e63
Modificáronse 3 ficheiros con 8 adicións e 4 borrados
  1. 5 0
      app.wxss
  2. 0 1
      pages/welfareMall/index/index.js
  3. 3 3
      pages/welfareMall/index/index.wxml

+ 5 - 0
app.wxss

@@ -34,3 +34,8 @@ display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
 }
+
+/* page{
+  -webkit-filter: grayscale(100%);
+  filter: grayscale(100%);
+} */

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

@@ -13,7 +13,6 @@ Page({
       activityList:[],
       bannerList:[],
       navigationList:[],
-     
       autoplay: true,
       interval: 2000,
       duration: 500,

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

@@ -27,7 +27,7 @@ indicator-dots="{{indicatorDots}}"
     <view class="c_l_top_r" bindtap="goToCoupon">更多</view>
   </view>
 
-  <view class="coupon_item flex-row" wx:for="{{activityList}}"  wx:key="unique">
+  <view class="coupon_item flex-row" wx:for="{{activityList}}"  wx:key="unique" bindtap="goCouponDetail" data-id="{{item.activityId}}">
     <image src="{{item.coverImg}}" class="coupon_item_img"></image>
     <view class="coupon_item_right flex-column">
     <view class="flex-column">
@@ -39,8 +39,8 @@ indicator-dots="{{indicatorDots}}"
     </view>
       <view class="coupon_i_r_bottom flex-row">
         <view class="coupon_price">价值 ¥{{item.formatShowPrice}}</view>
-        <view class="coupon_buy" bindtap="goCouponDetail" data-id="{{item.activityId}}" wx:if="{{item.isPay!=0}}">{{item.formatPrice}}元抢</view>
-        <view class="coupon_buy" bindtap="goCouponDetail" data-id="{{item.activityId}}" wx:else>免费领取</view>
+        <view class="coupon_buy"  wx:if="{{item.isPay!=0}}">{{item.formatPrice}}元抢</view>
+        <view class="coupon_buy"  wx:else>免费领取</view>
       </view>
     </view>
   </view>