|
@@ -59,18 +59,11 @@ export default class customer extends Taro.Component {
|
59
|
59
|
}
|
60
|
60
|
|
61
|
61
|
render() {
|
62
|
|
- const tabList = [{ title: '客户分析' }, { title: '我的客户' }]
|
|
62
|
+ const tabList = [{ title: '我的客户' }, { title: '客户分析' }]
|
63
|
63
|
const { customerNum, current } = this.state
|
64
|
64
|
return (
|
65
|
|
- <AtTabs className="tab-box overflow-tab" current={current} tabList={tabList} onClick={this.handleClick.bind(this)} swipeable={false}>
|
66
|
|
- <AtTabsPane current={current} index={0} >
|
67
|
|
- <View >
|
68
|
|
- {
|
69
|
|
- current != 1 && <Analysis></Analysis>
|
70
|
|
- }
|
71
|
|
- </View>
|
72
|
|
- </AtTabsPane>
|
73
|
|
- <AtTabsPane current={current} index={1}>
|
|
65
|
+ <AtTabs className="tab-box overflow-tab" current={current} tabList={tabList} onClick={this.handleClick.bind(this)} swipeable={false}>
|
|
66
|
+ <AtTabsPane current={current} index={0}>
|
74
|
67
|
<View style="padding:10px 20px; display: flex;flex-wrap: wrap;align-content: flex-start;justify-content: space-between;">
|
75
|
68
|
<View className="my-customer" onClick={this.toFollowUpCustomer} style="border-right:1px solid rgba(0,0,0,0.12)">
|
76
|
69
|
<Image mode="widthFix" src={require('@assets/person/genjin.png')} className='img'></Image>
|
|
@@ -84,6 +77,14 @@ export default class customer extends Taro.Component {
|
84
|
77
|
</View>
|
85
|
78
|
</View>
|
86
|
79
|
</AtTabsPane>
|
|
80
|
+ <AtTabsPane current={current} index={1} >
|
|
81
|
+ <View >
|
|
82
|
+ {
|
|
83
|
+ current != 0 && <Analysis></Analysis>
|
|
84
|
+ }
|
|
85
|
+ </View>
|
|
86
|
+ </AtTabsPane>
|
|
87
|
+
|
87
|
88
|
</AtTabs>
|
88
|
89
|
)
|
89
|
90
|
}
|