|
@@ -45,7 +45,7 @@ export default class Index extends Component {
|
45
|
45
|
}
|
46
|
46
|
handleChatClick(data, e) {
|
47
|
47
|
e.stopPropagation()
|
48
|
|
-
|
|
48
|
+
|
49
|
49
|
const { userInfo: { miniApp: { tpls }, person: { personId, name, nickname } } } = this.props
|
50
|
50
|
const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_NOTICE && x.isSubscribe == true)[0] || {}).tplId
|
51
|
51
|
const realname = name || nickname
|
|
@@ -66,10 +66,15 @@ export default class Index extends Component {
|
66
|
66
|
}
|
67
|
67
|
|
68
|
68
|
handleConsuItemClick(item) {
|
|
69
|
+ console.log(item, '1231123')
|
|
70
|
+ wx.setStorage({
|
|
71
|
+ key: "isConsultant",
|
|
72
|
+ data: "true"
|
|
73
|
+ })
|
69
|
74
|
Taro.navigateTo({
|
70
|
|
- url: `/pages/card/index?id=${item.id}`
|
|
75
|
+ url: `/pages/card/index?id=${item.id}`
|
71
|
76
|
})
|
72
|
|
- }
|
|
77
|
+ }
|
73
|
78
|
render() {
|
74
|
79
|
const { show } = this.state
|
75
|
80
|
const { data, style, smallStyle } = this.props
|