소스 검색

中奖记录组件调整

kk.shi 3 년 전
부모
커밋
4046e8b30b
1개의 변경된 파일15개의 추가작업 그리고 13개의 파일을 삭제
  1. 15 13
      pages/luckDraw/profile.wxml

+ 15 - 13
pages/luckDraw/profile.wxml

@@ -15,20 +15,22 @@
   <button class="luck-draw-cz" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">请登录</button>
   <!-- 优惠券内容 -->
   <view hidden="{{hidden1}}">
-    <navigator wx:for="{{goodsItemList}}" wx:key="index" data-id="{{item.id}}" class="coupon flex-row" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" extra-data="{foo: 'bar'}" open-type='navigate'>
-      <view class="coupon-content">
-        <view class="coupon-title over-ellipsis">{{item.goodsName?item.goodsName:'未设置名称'}}</view>
-        <view class="coupon-data flex-row">
-          <view class="coupon-data-time">{{item.createTime}}</view>
-          <view class="coupon-refund flex-row" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" extra-data="{foo: 'bar'}" open-type='navigate'>
-            <view class="lower-coupon-text">立即使用</view>
+    <view wx:for="{{goodsItemList}}" wx:key="index" data-id="{{item.id}}">
+      <navigator class="coupon flex-row" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" extra-data="{foo: 'bar'}" open-type='navigate'>
+        <view class="coupon-content">
+          <view class="coupon-title over-ellipsis">{{item.goodsName?item.goodsName:'未设置名称'}}</view>
+          <view class="coupon-data flex-row">
+            <view class="coupon-data-time">{{item.createTime}}</view>
+            <view class="coupon-refund flex-row" target="miniProgram" app-id="wxd92a2d29f8022f40" path="pages/index/index" extra-data="{foo: 'bar'}" open-type='navigate'>
+              <view class="lower-coupon-text">立即使用</view>
+            </view>
           </view>
         </view>
-      </view>
-      <view class="coupon-img flex-column">
-        <image class="coupon-img-url" src="{{item.fullGoodsSmallImage}}"></image>
-      </view>
-    </navigator>
+        <view class="coupon-img flex-column">
+          <image class="coupon-img-url" src="{{item.fullGoodsSmallImage}}"></image>
+        </view>
+      </navigator>
+    </view>
     <view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂无可用优惠券 ————</view>
     <view class="no_result" wx:if="{{noMore}}">—— 人家也是有底线的 ——</view>
   </view>
@@ -46,7 +48,7 @@
         </view>
       </view>
       <view class="coupon-img flex-column">
-        <image class="coupon-img-url" src="{{item.fullGoodsSmallImage}}" ></image>
+        <image class="coupon-img-url" src="{{item.fullGoodsSmallImage}}"></image>
       </view>
     </view>
     <view class="no_result" wx:if="{{noResult}}">———— 抱歉,您暂无可领取奖品 ————</view>