MrShi
19 小时以前 56d7ebbc6297c306ec7197f29737a59703ca4bda
mini-program/pages/coupon/coupon.vue
@@ -7,6 +7,7 @@
         </view>
      </view>
      <view class="list">
         <template v-if="list.length > 0">
         <view :class="[1,2].includes(status) ? 'item disable' : 'item'" v-for="(item, index) in list" :key="index">
            <view class="item-a">
               <text class="item-a-num" v-if="item.couponType === 0">{{item.price}}</text>
@@ -23,6 +24,12 @@
               <view class="item-b-btn" v-else @click="jumpDetails(item.id)">查看详情</view>
            </view>
         </view>
         </template>
         <template v-else>
            <view class="wushuju">
               <image src="/static/images/default_nodata_white.png" mode="widthFix"></image>
            </view>
         </template>
      </view>
   </view>
</template>
@@ -154,6 +161,17 @@
               }
            }
         }
         .wushuju {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 200rpx;
            image {
               width: 320rpx;
               height: 320rpx;
            }
         }
         .item {
            width: 100%;
            height: 170rpx;