This commit is contained in:
2023-11-09 15:20:47 +08:00
parent ed9e38483a
commit bd1a7db910
2 changed files with 15 additions and 14 deletions

View File

@ -731,10 +731,10 @@
if (list.length >= 1) { if (list.length >= 1) {
this.updata.receiver = list[0].receiveName this.updata.receiver = list[0].receiveName
var areaName var areaName
if(res.data[0].areaName){ if (res.data[0].areaName) {
areaName=res.data[0].areaName areaName = res.data[0].areaName
}else{ } else {
areaName="" areaName = ""
} }
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
this.updata.phone = list[0].receivePhone this.updata.phone = list[0].receivePhone
@ -743,14 +743,14 @@
this.updata.receiver = res.data[0].receiveName this.updata.receiver = res.data[0].receiveName
var areaName var areaName
if(res.data[0].areaName){ if (res.data[0].areaName) {
areaName=res.data[0].areaName areaName = res.data[0].areaName
}else{ } else {
areaName="" areaName = ""
} }
this.updata.receiveAddress =areaName + res.data[0].receiveAddress this.updata.receiveAddress = areaName + res.data[0].receiveAddress
this.updata.phone = res.data[0].receivePhone this.updata.phone = res.data[0].receivePhone
this.userid = res.data[0].id this.userid = res.data[0].id
} }
@ -777,6 +777,9 @@
this.baseurl = baseurl; this.baseurl = baseurl;
this.usershow = false; this.usershow = false;
this.loginFlag = false this.loginFlag = false
this.couponId = null
this.Paidinprice = null
this.coupon = null
const value = uni.getStorageSync('patientId'); const value = uni.getStorageSync('patientId');
if (value) { if (value) {
AppIdentification(value).then(res => { AppIdentification(value).then(res => {

View File

@ -20,9 +20,7 @@
分类 分类
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="inputs"> <!-- <view class="inputs">
<i class="icon"></i> <i class="icon"></i>
<input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称"> <input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称">
@ -375,7 +373,7 @@
.productlist { .productlist {
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
padding: 20rpx 0 0 0; padding: 100rpx 0 0 0;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;