|
@@ -277,18 +277,10 @@ export default class myCustomer extends Taro.Component {
|
277
|
277
|
this.setState({
|
278
|
278
|
customerDetail: res || {}
|
279
|
279
|
})
|
280
|
|
- const params = {
|
281
|
|
- recordType: '添加跟进',
|
282
|
|
- customerSex: this.state.customerDetail.sex,
|
283
|
|
- customerId,
|
284
|
|
- }
|
285
|
280
|
Taro.showToast({
|
286
|
281
|
title: '完善信息成功',
|
287
|
282
|
icon: 'none'
|
288
|
283
|
})
|
289
|
|
- addFollowRecord(params).then(res => {
|
290
|
|
- this.queryFollowRecord(1)
|
291
|
|
- })
|
292
|
284
|
})
|
293
|
285
|
this.setState({
|
294
|
286
|
baseVisible: false,
|
|
@@ -455,7 +447,7 @@ export default class myCustomer extends Taro.Component {
|
455
|
447
|
<View>
|
456
|
448
|
{followVisible && this.renderFollowBox()}
|
457
|
449
|
{baseVisible && this.renderBaseBox()}
|
458
|
|
- <View className="user_con">
|
|
450
|
+ <View className="user_con" style=" margin: 0 20rpx 40rpx 20rpx; height:256rpx;box-shadow:0rpx 4rpx 12rpx 0rpx rgba(0,0,0,0.12); border-radius:12rpx;">
|
459
|
451
|
<Image className="bg" src={getThumbnail('https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/images/shop/background.jpg')} ></Image>
|
460
|
452
|
<Image className="user__left__headimg" src={customerDetail.picture || require('@assets/default-avatar.png')} />
|
461
|
453
|
<View className='user__left__name'>
|
|
@@ -469,7 +461,7 @@ export default class myCustomer extends Taro.Component {
|
469
|
461
|
</View>
|
470
|
462
|
<View onClick={this.handleTelClick.bind(this, customerDetail)} className='user__left__phone'>{customerDetail.phone}<Image style="width:36rpx;height:36rpx;margin-left:20rpx;" src={phoneImg} /></View>
|
471
|
463
|
</View>
|
472
|
|
- <AtTabs height="calc(100vh - 400rpx)" className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
|
|
464
|
+ <AtTabs height="calc(100vh - 320rpx)" className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
|
473
|
465
|
<AtTabsPane current={this.state.current} index={0} >
|
474
|
466
|
<View className="tab-pane1 pane">
|
475
|
467
|
<View className="status">{customerDetail.status == 1 ? '报备' : customerDetail.status == 2 ? '到访' : customerDetail.status == 3 ? '认筹' : '签约'}</View>
|
|
@@ -485,7 +477,7 @@ export default class myCustomer extends Taro.Component {
|
485
|
477
|
<View className="tab-pane2 pane">
|
486
|
478
|
<ListView
|
487
|
479
|
className="wrap"
|
488
|
|
- style="height:calc(100vh - 400rpx)"
|
|
480
|
+ style="height:calc(100vh - 320rpx)"
|
489
|
481
|
needInit
|
490
|
482
|
isEmpty={isEmpty}
|
491
|
483
|
emptyText="暂无访问记录~"
|
|
@@ -521,7 +513,7 @@ export default class myCustomer extends Taro.Component {
|
521
|
513
|
<View className="tab-pane3 pane">
|
522
|
514
|
<ListView
|
523
|
515
|
className="wrap"
|
524
|
|
- style="height:calc(100vh - 400rpx)"
|
|
516
|
+ style="height:calc(100vh - 320rpx)"
|
525
|
517
|
needInit
|
526
|
518
|
isEmpty={isEmpty2}
|
527
|
519
|
emptyText="暂无活动信息~"
|
|
@@ -553,7 +545,7 @@ export default class myCustomer extends Taro.Component {
|
553
|
545
|
<ListView
|
554
|
546
|
className="wrap"
|
555
|
547
|
needInit
|
556
|
|
- style="height:calc(100vh - 600rpx)"
|
|
548
|
+ style="height:calc(100vh - 560rpx)"
|
557
|
549
|
isEmpty={isEmpty3}
|
558
|
550
|
emptyText="暂无跟进记录~"
|
559
|
551
|
hasMore={hasMore3}
|