liudan 6 months ago
parent 0d32b4bf40
commit bb3073c7ad
  1. 7
      components/couponListWindow/index.vue
  2. 2
      pages/goods_details/index.vue

@ -7,9 +7,10 @@
<view class='coupon-list' v-if="coupon.list.length"> <view class='coupon-list' v-if="coupon.list.length">
<view class='item acea-row row-center-wrapper' v-for="(item,index) in coupon.list" @click="getCouponUser(index,item)" <view class='item acea-row row-center-wrapper' v-for="(item,index) in coupon.list" @click="getCouponUser(index,item)"
:key='index'> :key='index'>
<view class='money acea-row row-column row-center-wrapper' :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)` }"> <view class='money acea-row row-column row-center-wrapper' :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)`,'background-size':'cover' }">
<view><text class='num'>{{item.coupon_price}}</text></view> <!-- <view><text class='num'>{{item.coupon_price}}</text></view>
<view class="pic-num">{{item.use_min_price}}元可用</view> <view class="pic-num">{{item.use_min_price}}元可用</view> -->
新人优惠券
</view> </view>
<view class='text'> <view class='text'>
<view class='condition line1'> <view class='condition line1'>

@ -93,7 +93,7 @@
<view class='coupon acea-row row-between-wrapper skeleton-rect' @click='couponTap' style="margin-top: 20rpx;" v-if="coupon.list.length > 0"> <view class='coupon acea-row row-between-wrapper skeleton-rect' @click='couponTap' style="margin-top: 20rpx;" v-if="coupon.list.length > 0">
<view class='hide line1 acea-row'> <view class='hide line1 acea-row'>
优惠券 优惠券
<view class='activity' v-for="(item,index) in coupon.list" :key="index">{{item.use_min_price}}{{item.coupon_price}}</view> <!-- <view class='activity' v-for="(item,index) in coupon.list" :key="index">{{item.use_min_price}}{{item.coupon_price}}</view> -->
</view> </view>
<view class='iconfont icon-jiantou'></view> <view class='iconfont icon-jiantou'></view>
</view> </view>

Loading…
Cancel
Save