|
|
@ -43,13 +43,13 @@ |
|
|
|
<button class="download btn" style="height:50px;width:100%;border:none;">立即使用</button> |
|
|
|
<button class="download btn" style="height:50px;width:100%;border:none;">立即使用</button> |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
</wx-open-launch-weapp> --> |
|
|
|
</wx-open-launch-weapp> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="width40" style="margin-right: 5%;" @click="useDiscount"> |
|
|
|
<view class="width40" style="margin-right: 5%;" @click="useDiscount"> |
|
|
|
<view class="width100 btnno fotct font16 ">立即使用</view> |
|
|
|
<view class="width100 btnno fotct font16 backcor008">立即使用</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="width40" style="margin-left: 5%;" @click="jumpCounlist"> |
|
|
|
<view class="width40" style="margin-left: 5%;" @click="jumpCounlist"> |
|
|
|
<view class="width100 btnno fotct font16 ">立即查看</view> |
|
|
|
<view class="width100 btnno fotct font16 backcor008">立即查看</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
@ -59,10 +59,14 @@ |
|
|
|
<image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image> |
|
|
|
<image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width90 mart30" v-if="couponsDetails.highDiscount.usingRange == 5"> |
|
|
|
<view class="width90 mart30" v-if="couponsDetails.highDiscount.usingRange == 5"> |
|
|
|
<image :src="imagewxUrl+imgadres1" mode="widthFix" class="width100" v-if="couponsDetails.highDiscountAgentCode.status ==1"></image> |
|
|
|
<image :src="imagewxUrl+imgadres3" mode="widthFix" class="width100" |
|
|
|
<image :src="imagewxUrl+imgadres2" mode="widthFix" class="width100" v-if="couponsDetails.highDiscountAgentCode.status != 1"></image> |
|
|
|
v-if="couponsDetails.highDiscountAgentCode.status ==1"></image> |
|
|
|
|
|
|
|
<image :src="imagewxUrl+imgadres1" mode="widthFix" class="width100" |
|
|
|
|
|
|
|
v-if="couponsDetails.highDiscountAgentCode.status != 1"></image> |
|
|
|
|
|
|
|
<image :src="imagewxUrl+imgadres2" mode="widthFix" class="width100 mart10" |
|
|
|
|
|
|
|
v-if="couponsDetails.highDiscountAgentCode.status != 1"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="product-list mart20 width90"> |
|
|
|
<view class="product-list mart20 width90" v-if="couponsDetails.highDiscount.usingRange != 5"> |
|
|
|
<view class="product" v-for="product in minecoupones" :key="product.id" |
|
|
|
<view class="product" v-for="product in minecoupones" :key="product.id" |
|
|
|
@tap="toGoods(product.highCoupon.id)"> |
|
|
|
@tap="toGoods(product.highCoupon.id)"> |
|
|
|
<image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image> |
|
|
|
<image mode="widthFix" :src="imageUrl+product.highCoupon.couponImg"></image> |
|
|
@ -94,11 +98,11 @@ |
|
|
|
<!-- <authorize></authorize> --> |
|
|
|
<!-- <authorize></authorize> --> |
|
|
|
<view :style="{display: usercouFeedbackHidden}" class="popup_content"> |
|
|
|
<view :style="{display: usercouFeedbackHidden}" class="popup_content"> |
|
|
|
<view class="popup_title font18 fcor333 fontwig6 paddtop10">温馨提示</view> |
|
|
|
<view class="popup_title font18 fcor333 fontwig6 paddtop10">温馨提示</view> |
|
|
|
<view class="popup_title font16 fcor666 paddtop20 height60">领取优惠券后请在有效期三十天内使用</view> |
|
|
|
<view class="popup_title font16 fcor666 paddtop20 height60">请在有效期30天内使用。过期作废!</view> |
|
|
|
<view class="width100 bor-botm1 mart10"></view> |
|
|
|
<view class="width100 bor-botm1 mart10"></view> |
|
|
|
<view class="alijus width90 mart20"> |
|
|
|
<view class="alijus width90 mart20"> |
|
|
|
<view class="width40" style="margin-right: 5%;" @click="hideDiv()"> |
|
|
|
<view class="width40" style="margin-right: 5%;" @click="hideDiv()"> |
|
|
|
<view class="width100 btnno font16 ">取消</view> |
|
|
|
<view class="width100 btnno font16 backcor99">取消</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<wx-open-launch-weapp style="width: 40%;margin-left: 5%;" id="launch-btn" username="gh_5fb54244cdbb"> |
|
|
|
<wx-open-launch-weapp style="width: 40%;margin-left: 5%;" id="launch-btn" username="gh_5fb54244cdbb"> |
|
|
|
<script type="text/wxtag-template"> |
|
|
|
<script type="text/wxtag-template"> |
|
|
@ -116,7 +120,7 @@ |
|
|
|
<button class="download" style="height:40px;line-height: 40PX;width:100%;border:none;">立即使用</button> |
|
|
|
<button class="download" style="height:40px;line-height: 40PX;width:100%;border:none;">立即使用</button> |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
</wx-open-launch-weapp> |
|
|
|
</wx-open-launch-weapp> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="popup_overlay" :style="{display: usercouFeedbackHidden}" @click="hideDiv()"></view> |
|
|
|
<view class="popup_overlay" :style="{display: usercouFeedbackHidden}" @click="hideDiv()"></view> |
|
|
@ -148,6 +152,7 @@ |
|
|
|
imgadres: 'noorder.png', |
|
|
|
imgadres: 'noorder.png', |
|
|
|
imgadres1: 'noCoupon.jpg', |
|
|
|
imgadres1: 'noCoupon.jpg', |
|
|
|
imgadres2: 'onCoupon.jpg', |
|
|
|
imgadres2: 'onCoupon.jpg', |
|
|
|
|
|
|
|
imgadres3: 'showCoupon.jpg', |
|
|
|
pageNum: 1, |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 10, |
|
|
|
pageSize: 10, |
|
|
|
isNoMoreData: false, |
|
|
|
isNoMoreData: false, |
|
|
@ -398,9 +403,9 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
//跳转列表 |
|
|
|
//跳转列表 |
|
|
|
jumpCounlist(){ |
|
|
|
jumpCounlist() { |
|
|
|
uni.reLaunch({ |
|
|
|
uni.reLaunch({ |
|
|
|
url:'/pages/user/coupon/coupon' |
|
|
|
url: '/pages/user/coupon/coupon' |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -412,7 +417,7 @@ |
|
|
|
.coupon-mes { |
|
|
|
.coupon-mes { |
|
|
|
// margin-right: 90px; |
|
|
|
// margin-right: 90px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.popup_content { |
|
|
|
.popup_content { |
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
|
top: 40%; |
|
|
|
top: 40%; |
|
|
@ -427,17 +432,17 @@ |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
border-radius: 20upx; |
|
|
|
border-radius: 20upx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.popup_title { |
|
|
|
.popup_title { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
width: 480upx; |
|
|
|
width: 480upx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 弹窗 |
|
|
|
// 弹窗 |
|
|
|
.popup_overlay { |
|
|
|
.popup_overlay { |
|
|
|
|
|
|
|
|
|
|
|
position: fixed; |
|
|
|
position: fixed; |
|
|
|
top: 0%; |
|
|
|
top: 0%; |
|
|
|
left: 0%; |
|
|
|
left: 0%; |
|
|
@ -517,6 +522,5 @@ |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
color: #ffffff; |
|
|
|
color: #ffffff; |
|
|
|
background: #999999; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|