|
@@ -457,10 +457,13 @@ export default {
|
|
return Promise.resolve(false)
|
|
return Promise.resolve(false)
|
|
}
|
|
}
|
|
// 真正进入统计
|
|
// 真正进入统计
|
|
- util.request(api.trackRoom, {
|
|
|
|
- roomId: options.roomId,
|
|
|
|
- type: 0
|
|
|
|
- }, 'POST', 'application/json')
|
|
|
|
|
|
+ if (options.roomId !== '888888') {
|
|
|
|
+ util.request(api.trackRoom, {
|
|
|
|
+ roomId: options.roomId,
|
|
|
|
+ type: 0
|
|
|
|
+ }, 'POST', 'application/json')
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
let userInfo = await this.getUserInfo()
|
|
let userInfo = await this.getUserInfo()
|
|
|
|
|
|
@@ -1481,11 +1484,37 @@ export default {
|
|
|
|
|
|
|
|
|
|
sendContactInfo() {
|
|
sendContactInfo() {
|
|
- this.socketSendMessage('getContactInfo', {
|
|
|
|
- contactInfo: this.data.contactInfo,
|
|
|
|
|
|
+ // this.socketSendMessage('getContactInfo', {
|
|
|
|
+ // contactInfo: this.data.contactInfo,
|
|
|
|
+ // })
|
|
|
|
+ this.socketSendMessage('clientSyncAction', {
|
|
|
|
+ type: 'getContactInfo',
|
|
|
|
+ contactInfo: this.data.contactInfo
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ goToCase({
|
|
|
|
+ data
|
|
|
|
+ }) {
|
|
|
|
+ console.log('data', data)
|
|
|
|
+ wx.showModal({
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: `是否跳转到新的场景?`,
|
|
|
|
+ showCancel: true,
|
|
|
|
+ confirmColor: "#52a2d8",
|
|
|
|
+ success: res => {
|
|
|
|
+ wx.navigateTo({
|
|
|
|
+ url: `/pages/webview/index?id=${data.id}&type=32`,
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ fail: () => {
|
|
|
|
+
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
|
|
},
|
|
},
|
|
|
|
+
|
|
selectType(ev) {
|
|
selectType(ev) {
|
|
this.getGoodsList(this.options.id, ev.target.dataset.item.category_id)
|
|
this.getGoodsList(this.options.id, ev.target.dataset.item.category_id)
|
|
},
|
|
},
|