ソースを参照

处理详情-点击主页-返回详情 下面会多一条的问题!

hotfix/210830_二组需求分支
王饶冀 3年前
コミット
12f7914bd5

+ 1
- 0
pages/index/components/listDetails/Details.js ファイルの表示

@@ -103,6 +103,7 @@ Page({
if (this.data.currentData.customerId != this.data.userCustomerId) {
this.setData({
hotLoading: true,
listData:[],
})
this.getListData();
}

+ 1
- 1
pages/index/components/listDetails/Details.wxml ファイルの表示

@@ -5,7 +5,7 @@
</view>
<view wx:else>
<view class="list-view {{ customerId != currentData.customerId ? 'have-hot' : '' }}">
<listItem item="{{ currentData }}" pageStatus="detatil" isCollect="{{ isCollect }}" isShowCollect="{{ customerId != currentData.customerId }}" bind:changeCollect="changeCollect" customerId="{{ userCustomerId }}" />
<listItem item="{{ currentData }}" pageStatus="detatil" isCollect="{{ isCollect }}" isShowCollect="{{ customerId != currentData.customerId }}" bind:changeCollect="changeCollect" customerId="{{ customerId }}" />
</view>
<view wx:if="{{ customerId != currentData.customerId }}">
<view class="view-interested">你可能感兴趣的需求</view>

読み込み中…
キャンセル
保存