修改
This commit is contained in:
parent
8bb8cae37f
commit
3ac085f866
@ -137,7 +137,7 @@
|
||||
<view class="bottomcontent topcontent"
|
||||
@tap="goodsDetailslist.couponList.length>0?couponshow=true:''">
|
||||
<view class="header">
|
||||
优惠卷
|
||||
优惠券
|
||||
</view>
|
||||
<view class="coupon" v-if='coupon' style="color: #D43953;">
|
||||
已选择 {{coupon.couponTitle}}
|
||||
@ -182,7 +182,7 @@
|
||||
<image class="close" src="../../static/gb.png" mode="" @tap='couponshow=false'></image>
|
||||
</image>
|
||||
<view class="titles">
|
||||
选择优惠卷
|
||||
选择优惠券
|
||||
</view>
|
||||
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
|
||||
@scrolltolower="lower" @scroll="scroll" style="background-color: #fff;height: 700rpx;">
|
||||
@ -279,7 +279,7 @@
|
||||
goodsPrice: '', //页面价格
|
||||
totalPrice: 0.00, //总价
|
||||
Paidinprice: null, //实付价格
|
||||
couponId: null, //使用的优惠卷id
|
||||
couponId: null, //使用的优惠券id
|
||||
coupon: null,
|
||||
goodsDetailslist: {
|
||||
couponList: [],
|
||||
@ -287,7 +287,7 @@
|
||||
goodDetailsLists: [], //提前预备商品规格数组
|
||||
goodshow: true, //商品规格开关
|
||||
buyshow: false, //立即购买遮罩层开关
|
||||
couponshow: false, //优惠卷遮罩层开关
|
||||
couponshow: false, //优惠券遮罩层开关
|
||||
info: [], //轮播list
|
||||
goodsAttributeId: null, //商品规格id
|
||||
updata: { //订单表
|
||||
@ -338,7 +338,7 @@
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
//使用优惠卷
|
||||
//使用优惠券
|
||||
tapcoupon(item) {
|
||||
if (this.couponId == item.couponId) {
|
||||
this.couponId = null
|
||||
|
||||
@ -296,7 +296,7 @@
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
},
|
||||
//优惠卷
|
||||
//优惠券
|
||||
gocoupon() {
|
||||
const value = uni.getStorageSync('openid');
|
||||
const value2 = uni.getStorageSync('patientId');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user