张延森 5 years ago
parent
commit
18c467c42f
2 changed files with 6 additions and 1 deletions
  1. 5
    1
      src/pages/im/msgItem/index.js
  2. 1
    0
      src/pages/project/detail/index.js

+ 5
- 1
src/pages/im/msgItem/index.js View File

34
     this.props.getPhone(e)
34
     this.props.getPhone(e)
35
   }
35
   }
36
 
36
 
37
+  gotPhone() {
38
+    Taro.showToast({ title: '您已成功授权手机号', icon: 'none' })
39
+  }
40
+
37
   renderMsgContent(row, phone) {
41
   renderMsgContent(row, phone) {
38
     if (row.messageType === 'card') {
42
     if (row.messageType === 'card') {
39
       return (
43
       return (
47
 
51
 
48
           {
52
           {
49
             phone ? (
53
             phone ? (
50
-              <View className="card-btn" onClick={this.getPhoneNumber}>
54
+              <View className="card-btn" onClick={this.gotPhone}>
51
                 <Text className="iconfont icon-shouji"></Text>
55
                 <Text className="iconfont icon-shouji"></Text>
52
                 <Text>留下您的电话</Text>
56
                 <Text>留下您的电话</Text>
53
               </View>
57
               </View>

+ 1
- 0
src/pages/project/detail/index.js View File

1076
     })
1076
     })
1077
   }
1077
   }
1078
   renderChooseHouse() {
1078
   renderChooseHouse() {
1079
+    console.log('----------------renderChooseHouse----------------')
1079
     const { projectDetail: { salesBatch = [] } } = this.props
1080
     const { projectDetail: { salesBatch = [] } } = this.props
1080
     return (
1081
     return (
1081
       <Block>
1082
       <Block>