Commit b6a46925ab3283a58d149cfb43402061e8eefc45

Authored by yiren
1 parent bc12a80d

我的订单点击评价按钮失效问题

... ... @@ -73,7 +73,7 @@ Component({
this.setData({
hasComment:res.data!=1,//已评论
})
if(action=='click'){
if(action.type=="tap"){
if(res.data==0){
wx.navigateTo({
url:'/pages/pinglun/create?sid='+this.data.reserve.seller.id+'&oid='+this.data.reserve.id+'&sellername='+this.data.reserve.seller.sellername
... ...
... ... @@ -188,7 +188,8 @@ Page({
}
},
gotoDetail(e){
let url='/pages/customer/'+e.detail.detail.navigator+'?id='+e.detail.detail.id
const id= e.currentTarget.dataset['id'];
let url='/pages/customer/detail_owner?id='+id
wx.navigateTo({
url:url,
})
... ...
... ... @@ -29,13 +29,12 @@
</block>
<block wx:else="">
<block wx:if="{{tabType<7}}">
<navigator wx:for="{{list[tabType]}}" wx:key="*this"
wx:for-item="detail" wx:for-index="dateIndex"
url="/pages/customer/{{detail.navigator}}?id={{detail.id}}" hover-stop-propagation>
<card
hasShowStatus bindevent="gotoDetail"
seller="{{detail.seller}}" detail="{{detail}}" tabType="{{tabType}}"></card>
</navigator>
<block wx:for="{{list[tabType]}}" wx:key="*this" wx:for-item="detail" wx:for-index="dateIndex">
<navigator url="/pages/customer/{{detail.navigator}}?id={{detail.id}}" hover-stop-propagation></navigator>
<card hasShowStatus bindtap="gotoDetail" data-id="{{detail.id}}" seller="{{detail.seller}}" detail="{{detail}}" tabType="{{tabType}}"></card>
</block>
</block>
<view class="view padding-lr" wx:else="">
<navigator wx:for="{{list[tabType]}}" wx:key="*this"
... ...