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

价格修改

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