Commit bdbc609b authored by 潘永坪's avatar 潘永坪

价格修改

parent aadeb00c
......@@ -158,7 +158,7 @@ export default {
merchantName:'重庆湖广会馆',
pageUrl:this.huguangUrl,
imgUrl:'http://lx.pangdly.com/img/huiguan.c00da69.jpg',
price:23
price:32
},
]
},
......
......@@ -194,6 +194,7 @@ export default{
}
this.$request('comment/userComment/save',data).then((res)=>{
if(res.code=='00'){
// 加上mask,防止停留在页面2秒时间内,游客一直点击影响性能
uni.showToast({
title:'提交成功',
icon: 'none',
......@@ -205,9 +206,11 @@ export default{
})
},2000)
}else{
// 超过5次,当天不能进行提交,由于是后端直接判断的,加上mask,防止游客一直点击影响性能
uni.showToast({
title: res.message,
icon: 'none'
icon: 'none',
mask:true
})
}
})
......
......@@ -265,6 +265,7 @@ export default{
}
this.$request('comment/userComment/save',data).then((res)=>{
if(res.code=='00'){
// 加上mask,防止停留在页面2秒时间内,游客一直点击影响性能
uni.showToast({
title:'提交成功',
icon: 'none',
......@@ -276,9 +277,11 @@ export default{
})
},2000)
}else{
// 超过5次,当天不能进行提交,由于是后端直接判断的,加上mask,防止游客一直点击影响性能
uni.showToast({
title: res.message,
icon: 'none'
icon: 'none',
mask:true
})
}
})
......
......@@ -146,6 +146,7 @@ export default{
}
this.$request('comment/userComment/save',data).then((res)=>{
if(res.code=='00'){
// 加上mask,防止停留在页面2秒时间内,游客一直点击影响性能
uni.showToast({
title:'提交成功',
icon: 'none',
......@@ -157,9 +158,11 @@ export default{
})
},2000)
}else{
// 超过5次,当天不能进行提交,由于是后端直接判断的,加上mask,防止游客一直点击影响性能
uni.showToast({
title: res.message,
icon: 'none'
icon: 'none',
mask:true
})
}
})
......
......@@ -7,7 +7,7 @@
<!-- --------------------------------------------产品信息部分------------------------------------- -->
<view class="list-Product">
<view class="merchantName">
<text class="title-text">
<text class="title-text" style="flex-shrink: 0;">
{{ item.merchantName || '' }}
</text>
<text>
......
......@@ -6,7 +6,7 @@
<!-- --------------------------------------------产品信息部分------------------------------------- -->
<view class="middle-Product">
<view class="merchantName">
<text class="title-text">
<text class="title-text" style="flex-shrink: 0;">
{{ productIfo.merchantName || '' }}
</text>
<text>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment