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