This commit is contained in:
曹辉 2023-03-03 16:08:20 +08:00
parent 8bb8cae37f
commit 3ac085f866
2 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@
<view class="bottomcontent topcontent" <view class="bottomcontent topcontent"
@tap="goodsDetailslist.couponList.length>0?couponshow=true:''"> @tap="goodsDetailslist.couponList.length>0?couponshow=true:''">
<view class="header"> <view class="header">
优惠 优惠
</view> </view>
<view class="coupon" v-if='coupon' style="color: #D43953;"> <view class="coupon" v-if='coupon' style="color: #D43953;">
已选择 {{coupon.couponTitle}} 已选择 {{coupon.couponTitle}}
@ -182,7 +182,7 @@
<image class="close" src="../../static/gb.png" mode="" @tap='couponshow=false'></image> <image class="close" src="../../static/gb.png" mode="" @tap='couponshow=false'></image>
</image> </image>
<view class="titles"> <view class="titles">
选择优惠 选择优惠
</view> </view>
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper" <scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
@scrolltolower="lower" @scroll="scroll" style="background-color: #fff;height: 700rpx;"> @scrolltolower="lower" @scroll="scroll" style="background-color: #fff;height: 700rpx;">
@ -279,7 +279,7 @@
goodsPrice: '', // goodsPrice: '', //
totalPrice: 0.00, // totalPrice: 0.00, //
Paidinprice: null, // Paidinprice: null, //
couponId: null, //使id couponId: null, //使id
coupon: null, coupon: null,
goodsDetailslist: { goodsDetailslist: {
couponList: [], couponList: [],
@ -287,7 +287,7 @@
goodDetailsLists: [], // goodDetailsLists: [], //
goodshow: true, // goodshow: true, //
buyshow: false, // buyshow: false, //
couponshow: false, // couponshow: false, //
info: [], //list info: [], //list
goodsAttributeId: null, //id goodsAttributeId: null, //id
updata: { // updata: { //
@ -338,7 +338,7 @@
}, },
}, },
methods: { methods: {
//使 //使
tapcoupon(item) { tapcoupon(item) {
if (this.couponId == item.couponId) { if (this.couponId == item.couponId) {
this.couponId = null this.couponId = null

View File

@ -296,7 +296,7 @@
url: '/pages/login/login' url: '/pages/login/login'
}) })
}, },
// //
gocoupon() { gocoupon() {
const value = uni.getStorageSync('openid'); const value = uni.getStorageSync('openid');
const value2 = uni.getStorageSync('patientId'); const value2 = uni.getStorageSync('patientId');