修改快捷买单按钮显示异常问题
This commit is contained in:
parent
b8a0a13ad3
commit
afd6b44644
@ -29,7 +29,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="table">
|
<view class="table">
|
||||||
<view class="label">营业地址</view>
|
<view class="label">营业地址</view>
|
||||||
<view class="desc" v-if="info.ad">{{ info.ad.ad_name ? info.ad.ad_name.replace(/,/g, "") : "" }}{{ info.address }}</view>
|
<view class="desc" v-if="info.ad">{{ info.ad.ad_name ? info.ad.ad_name.replace(/,/g, "") : "" }}{{
|
||||||
|
info.address }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="table mb32">
|
<view class="table mb32">
|
||||||
<view class="label">特色服务</view>
|
<view class="label">特色服务</view>
|
||||||
@ -109,10 +110,8 @@
|
|||||||
mode="" />
|
mode="" />
|
||||||
<view>点评</view>
|
<view>点评</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="left_label" @click="handleKfClick">
|
<view class="left_label" @click="handleKfClick">
|
||||||
<image
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/kefu0.png" mode="" />
|
||||||
src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/kefu0.png"
|
|
||||||
mode="" />
|
|
||||||
<view>客服</view>
|
<view>客服</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -149,19 +148,19 @@ export default {
|
|||||||
request(apiArr.getMerchantInfo, "POST", params).then(res => {
|
request(apiArr.getMerchantInfo, "POST", params).then(res => {
|
||||||
this.info = res
|
this.info = res
|
||||||
uni.setStorageSync('merchantInfo', res)
|
uni.setStorageSync('merchantInfo', res)
|
||||||
|
|
||||||
// 确保onLoad执行完后再执行这两个方法
|
// 确保onLoad执行完后再执行这两个方法
|
||||||
this.page_num = 1
|
this.page_num = 1
|
||||||
this.flag = false
|
this.flag = false
|
||||||
this.commentList = []
|
this.commentList = []
|
||||||
this.getCommentList()
|
this.getCommentList()
|
||||||
this.getMerchantInfo()
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
if(this.info.id){
|
if (this.info.id) {
|
||||||
this.getCommentList()
|
this.getCommentList()
|
||||||
}
|
}
|
||||||
|
this.getMerchantInfo()
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.flag) {
|
if (this.flag) {
|
||||||
@ -193,7 +192,7 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
list.forEach(item => {
|
list.forEach(item => {
|
||||||
if(item.merchant_evaluation_reply_list){
|
if (item.merchant_evaluation_reply_list) {
|
||||||
item.merchant_evaluation_reply_list = item.merchant_evaluation_reply_list.filter((item) => {
|
item.merchant_evaluation_reply_list = item.merchant_evaluation_reply_list.filter((item) => {
|
||||||
return item.status == 2;
|
return item.status == 2;
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user