|
@@ -7,47 +7,62 @@ export default class Person extends Component {
|
7
|
7
|
}
|
8
|
8
|
|
9
|
9
|
state = {
|
10
|
|
-
|
|
10
|
+ popVisible: false,
|
11
|
11
|
}
|
12
|
12
|
|
13
|
13
|
componentDidShow() {
|
14
|
14
|
// Taro.showLoading()
|
15
|
15
|
}
|
|
16
|
+ handleMaskClose() {
|
|
17
|
+ this.setState({
|
|
18
|
+ popVisible: false,
|
|
19
|
+ })
|
|
20
|
+ }
|
|
21
|
+ activityList(){
|
|
22
|
+ this.setState({
|
|
23
|
+ popVisible: true,
|
|
24
|
+ })
|
|
25
|
+ }
|
16
|
26
|
renderPop() {
|
17
|
27
|
return (
|
18
|
28
|
<View className="pop-box">
|
19
|
29
|
|
20
|
30
|
|
21
|
31
|
<View className="content">
|
22
|
|
-
|
|
32
|
+ <Icon className="iconfont close icon-buoumaotubiao20" onClick={this.handleMaskClose}></Icon>
|
|
33
|
+ <View className="activity-item">
|
|
34
|
+ <View className="name">
|
|
35
|
+ 活动名称展示处活动名称展示处活动名么的事借款部分手机电脑热风
|
|
36
|
+ </View>
|
|
37
|
+ <View className="time">
|
|
38
|
+ 2019-12-06 12:23:54
|
|
39
|
+ </View>
|
|
40
|
+ </View>
|
23
|
41
|
</View>
|
24
|
|
-
|
25
|
|
-
|
26
|
|
-
|
27
|
42
|
</View>
|
28
|
43
|
)
|
29
|
44
|
}
|
30
|
45
|
|
31
|
46
|
render() {
|
32
|
|
-
|
|
47
|
+ const {popVisible} = this.state
|
33
|
48
|
return (
|
34
|
49
|
<Block>
|
35
|
|
- {this.renderPop()}
|
|
50
|
+ {popVisible&&this.renderPop()}
|
36
|
51
|
<View className='access-page'>
|
37
|
52
|
<View className='item'>
|
38
|
53
|
<View className="tag">我的客户</View>
|
39
|
54
|
<Image className="touxiang" src={require('@assets/default-avatar.png')}></Image>
|
40
|
55
|
<View className="info-top">
|
41
|
56
|
<View className="name">曹建芳</View>
|
42
|
|
- <Image className="goutong-icon" src={require('@assets/person/zixun.png')}></Image>
|
43
|
|
- <View className="goutong">在线沟通</View>
|
|
57
|
+ <View style="display: flex;align-items: center;"><Image className="goutong-icon" src={require('@assets/person/zixun.png')}></Image><Text className="goutong">在线沟通</Text></View>
|
44
|
58
|
</View>
|
45
|
|
- <View className="activity-name">
|
|
59
|
+ <View className="activity-name" onClick={this.activityList}>
|
46
|
60
|
活动名称展示处活动名称展示处活动名么的事借款部分手机电脑热风
|
47
|
|
- </View>
|
|
61
|
+ </View>
|
|
62
|
+ <Text className="right-icon"></Text>
|
48
|
63
|
<View className="activity-time">
|
49
|
64
|
2019-12-06 12:23:54
|
50
|
|
- </View>
|
|
65
|
+ </View>
|
51
|
66
|
</View>
|
52
|
67
|
</View>
|
53
|
68
|
</Block>
|