Commit 4a6b1841 by 李伟康

commit 提交

1 parent e9a04c15
......@@ -83,7 +83,7 @@ Component({
show: {
type: Number,
observer: function (n, o) {
if(n) this.onPageShow()
if (n) this.onPageShow()
else this.onPageHide()
},
},
......@@ -200,7 +200,7 @@ Component({
showEmployeeName: false, // 是否展示销售顾问字段
isShowDefeatBtn: true, // 是否展示录单按钮入口
loaded: false,
track_event_code:'staff_reception_list', //埋点动作类型
track_event_code: 'staff_reception_list', //埋点动作类型
},
lifetimes: {
......@@ -432,7 +432,9 @@ Component({
item
} = e.currentTarget.dataset
wx.$router.go('receptionDetail', item)
wx.$track.setTrackData(0, 'reception_detail', item)
wx.$track.setTrackData(0, 'reception_detail', {
batchId: item.batchId
})
},
onLoad() {
this.onPageShow()
......@@ -1325,6 +1327,6 @@ Component({
wx.$router.go('packageEquity.receptionRecords')
wx.$track.setTrackData(0, 'see_more')
},
},
});
\ No newline at end of file
......@@ -297,6 +297,9 @@ Page({
record
} = e.currentTarget.dataset
wx.$router.go('packageEquity.receptionDetail', record)
wx.$track.setTrackData(0, 'reception_detail', {
batchId: record.batchId
})
},
back() {
wx.$router.back()
......
......@@ -48,7 +48,7 @@
</scroll-view>
</view>
<block wx:for="{{item.receptionStaticInfoDTOList}}" wx:key="subIndex" wx:for-index="subIndex" wx:for-item="record">
<view class="record-card" bind:tap="goto" data-record="{{record}}" data-track="{{record}}" data-event-code="reception_detail">
<view class="record-card" bind:tap="goto" data-record="{{record}}">
<view class="record-card-top">
<text class="round-dot" style="font-size: {{subIndex + 1 > 99 ? 'var(--fontSize16)' : 'var(--fontSize20)'}};">{{subIndex + 1}}</text>
<view class="card-line"></view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!