许静 5 лет назад
Родитель
Сommit
3c9dab19b9

+ 48
- 45
src/pages/activity/assembleItem/index.js Просмотреть файл

@@ -18,62 +18,65 @@ export default class Item extends Component {
18 18
 
19 19
     leftTime: 0,  // 剩余时间
20 20
   }
21
-  componentWillMount() {
22
-    this.updateLeftTime(this.props.data.startDate, this.props.data.endDate)
23
-  }
21
+  // componentWillMount() {
22
+  //   this.updateLeftTime(this.props.data.startDate, this.props.data.endDate)
23
+  // }
24 24
 
25
-  updateLeftTime(startDate, endDate) {
26
-    const st = dayjs(startDate).valueOf()
27
-    const ed = dayjs(endDate).valueOf()
25
+  // updateLeftTime(startDate, endDate) {
26
+  //   const st = dayjs(startDate).valueOf()
27
+  //   const ed = dayjs(endDate).valueOf()
28 28
 
29
-    this.setState({
30
-      ltTicker: setInterval(() => {
31
-        const nw = dayjs().valueOf()
29
+  //   this.setState({
30
+  //     ltTicker: setInterval(() => {
31
+  //       const nw = dayjs().valueOf()
32 32
 
33
-        if (st > nw) {
34
-          // 活动未开始
35
-          this.setState({
36
-            leftTime: st - nw,
37
-            actState: 0,
38
-          })
39
-        } else if (ed > nw) {
40
-          // 活动未结束
41
-          this.setState({
42
-            leftTime: ed - nw,
43
-            actState: 1,
44
-          })
45
-        } else {
46
-          // 活动已结束
47
-          this.clearTicker()
48
-          this.setState({
49
-            leftTime: 0,
50
-            actState: 2,
51
-          })
52
-        }
53
-      }, 1000)
54
-    })
55
-  }
56
-  formateLeftTime() {
57
-    const nd = 1000 * 24 * 60 * 60;
58
-    const nh = 1000 * 60 * 60;
59
-    const nm = 1000 * 60;
60
-    const ns = 1000;
33
+  //       if (st > nw) {
34
+  //         // 活动未开始
35
+  //         this.setState({
36
+  //           leftTime: st - nw,
37
+  //           actState: 0,
38
+  //         })
39
+  //       } else if (ed > nw) {
40
+  //         // 活动未结束
41
+  //         this.setState({
42
+  //           leftTime: ed - nw,
43
+  //           actState: 1,
44
+  //         })
45
+  //       } else {
46
+  //         // 活动已结束
47
+  //         this.clearTicker()
48
+  //         this.setState({
49
+  //           leftTime: 0,
50
+  //           actState: 2,
51
+  //         })
52
+  //       }
53
+  //     }, 1000)
54
+  //   })
55
+  // }
56
+  // formateLeftTime() {
57
+  //   const nd = 1000 * 24 * 60 * 60;
58
+  //   const nh = 1000 * 60 * 60;
59
+  //   const nm = 1000 * 60;
60
+  //   const ns = 1000;
61 61
 
62
-    const day = Math.floor(this.state.leftTime / nd);
63
-    const hour = Math.floor(this.state.leftTime % nd / nh);
64
-    const min = Math.floor(this.state.leftTime % nd % nh / nm);
65
-    const sec = Math.floor(this.state.leftTime % nd % nh % nm / ns);
62
+  //   const day = Math.floor(this.state.leftTime / nd);
63
+  //   const hour = Math.floor(this.state.leftTime % nd / nh);
64
+  //   const min = Math.floor(this.state.leftTime % nd % nh / nm);
65
+  //   const sec = Math.floor(this.state.leftTime % nd % nh % nm / ns);
66 66
 
67
-    return `${day}天${hour}小时${min}分${sec}秒`
68
-  }
67
+  //   return `${day}天${hour}小时${min}分${sec}秒`
68
+  // }
69 69
   render() {
70 70
     const { data, style } = this.props
71 71
     return (
72 72
       <View className="item" style={style} onClick={this.handleClick.bind(this, data)}>
73 73
         <Image className="pic" src={data.mainImg} ></Image>
74 74
         <View className="title">{data.activityName}</View>
75
-        {!data.verificationCode &&
76
-          <View className="time">{this.state.actState === 1 ? '距活动结束:' : '活动已结束'}<Text className="count-time">{this.state.actState != 2 ? this.formateLeftTime() : ''}</Text></View>
75
+        {(!data.verificationCode && data.status == 1) &&
76
+          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD hh:mm:ss')}`}</Text></View>
77
+        }
78
+        {(!data.verificationCode && data.status != 1) &&
79
+          <View className="time"><Text className="count-time">活动已结束</Text></View>
77 80
         }
78 81
         {data.verificationCode &&
79 82
           <Block>

+ 48
- 45
src/pages/activity/assistanceItem/index.js Просмотреть файл

@@ -17,62 +17,65 @@ export default class Item extends Component {
17 17
 
18 18
     leftTime: 0,  // 剩余时间
19 19
   }
20
-  componentWillMount() {
21
-    this.updateLeftTime(this.props.data.startDate, this.props.data.endDate)
22
-  }
20
+  // componentWillMount() {
21
+  //   this.updateLeftTime(this.props.data.startDate, this.props.data.endDate)
22
+  // }
23 23
 
24
-  updateLeftTime(startDate, endDate) {
25
-    const st = dayjs(startDate).valueOf()
26
-    const ed = dayjs(endDate).valueOf()
24
+  // updateLeftTime(startDate, endDate) {
25
+  //   const st = dayjs(startDate).valueOf()
26
+  //   const ed = dayjs(endDate).valueOf()
27 27
 
28
-    this.setState({
29
-      ltTicker: setInterval(() => {
30
-        const nw = dayjs().valueOf()
28
+  //   this.setState({
29
+  //     ltTicker: setInterval(() => {
30
+  //       const nw = dayjs().valueOf()
31 31
 
32
-        if (st > nw) {
33
-          // 活动未开始
34
-          this.setState({
35
-            leftTime: st - nw,
36
-            actState: 0,
37
-          })
38
-        } else if (ed > nw) {
39
-          // 活动未结束
40
-          this.setState({
41
-            leftTime: ed - nw,
42
-            actState: 1,
43
-          })
44
-        } else {
45
-          // 活动已结束
46
-          this.clearTicker()
47
-          this.setState({
48
-            leftTime: 0,
49
-            actState: 2,
50
-          })
51
-        }
52
-      }, 1000)
53
-    })
54
-  }
55
-  formateLeftTime() {
56
-    const nd = 1000 * 24 * 60 * 60;
57
-    const nh = 1000 * 60 * 60;
58
-    const nm = 1000 * 60;
59
-    const ns = 1000;
32
+  //       if (st > nw) {
33
+  //         // 活动未开始
34
+  //         this.setState({
35
+  //           leftTime: st - nw,
36
+  //           actState: 0,
37
+  //         })
38
+  //       } else if (ed > nw) {
39
+  //         // 活动未结束
40
+  //         this.setState({
41
+  //           leftTime: ed - nw,
42
+  //           actState: 1,
43
+  //         })
44
+  //       } else {
45
+  //         // 活动已结束
46
+  //         this.clearTicker()
47
+  //         this.setState({
48
+  //           leftTime: 0,
49
+  //           actState: 2,
50
+  //         })
51
+  //       }
52
+  //     }, 1000)
53
+  //   })
54
+  // }
55
+  // formateLeftTime() {
56
+  //   const nd = 1000 * 24 * 60 * 60;
57
+  //   const nh = 1000 * 60 * 60;
58
+  //   const nm = 1000 * 60;
59
+  //   const ns = 1000;
60 60
 
61
-    const day = Math.floor(this.state.leftTime / nd);
62
-    const hour = Math.floor(this.state.leftTime % nd / nh);
63
-    const min = Math.floor(this.state.leftTime % nd % nh / nm);
64
-    const sec = Math.floor(this.state.leftTime % nd % nh % nm / ns);
61
+  //   const day = Math.floor(this.state.leftTime / nd);
62
+  //   const hour = Math.floor(this.state.leftTime % nd / nh);
63
+  //   const min = Math.floor(this.state.leftTime % nd % nh / nm);
64
+  //   const sec = Math.floor(this.state.leftTime % nd % nh % nm / ns);
65 65
 
66
-    return `${day}天${hour}小时${min}分${sec}秒`
67
-  }
66
+  //   return `${day}天${hour}小时${min}分${sec}秒`
67
+  // }
68 68
   render() {
69 69
     const { data, style } = this.props
70 70
     return (
71 71
       <View className="item" style={style} onClick={this.handleClick.bind(this, data)}>
72 72
         <Image className="pic" src={data.img} ></Image>
73 73
         <View className="title">{data.title}</View>
74
-        {!data.verification &&
75
-          <View className="time">{this.state.actState === 1 ? '距活动结束:' : '活动已结束'}<Text className="count-time">{this.state.actState != 2 ? this.formateLeftTime() : ''}</Text></View>
74
+        {(!data.verification &&data.status == 1 )&&
75
+          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD hh:mm:ss')}`}</Text></View>
76
+        }
77
+        {(!data.verification &&data.status != 1)&&
78
+          <View className="time"><Text className="count-time">活动已结束</Text></View>
76 79
         }
77 80
         {data.verification &&
78 81
           <Block>

+ 13
- 19
src/pages/activity/detail/assemble.js Просмотреть файл

@@ -303,7 +303,7 @@ export default class Detail extends Component {
303 303
       }).catch(err => {
304 304
         console.log('err:', err)
305 305
         Taro.hideLoading()
306
-        
306
+
307 307
         Taro.showToast({
308 308
           title: '失败: ' + err.message,
309 309
           icon: 'none'
@@ -432,14 +432,6 @@ export default class Detail extends Component {
432 432
               <Notice></Notice>
433 433
               <View className="detail-banner">
434 434
                 <Image mode="widthFix" src={detail.mainImg} className="detail-banner__img"></Image>
435
-<<<<<<< HEAD
436
-                
437
-                <View className="rest-time">
438
-                  <Text className="row-label">{actState === ActBeforeStart ? '距活动开始 :' : (actState === ActInProcess ? '活动剩余时间 :' : '')} </Text>
439
-                  <Text className="row-content">{actState != ActFinished ? formateLeftTime(leftTime) : '活动已结束'}</Text>
440
-                </View>
441
-
442
-=======
443 435
                 {
444 436
                   groupState === GroupInProcess && actState != ActFinished &&
445 437
                   (
@@ -450,17 +442,19 @@ export default class Detail extends Component {
450 442
                   )
451 443
                 }
452 444
                 {detail.successNum > 0 &&
453
-                  <View className="success-num">已成功 {detail.successNum}</View>
445
+                  <View className="success-num">
446
+                    <View className="triangle"></View>
447
+                    <View className="text">已成功 {detail.successNum}</View>
448
+                  </View>
454 449
 
455 450
                 }
456
->>>>>>> 4fa08fccaf3ed20ed1dcc549346b4b829f473145
457 451
               </View>
458 452
               <ScrollView
459 453
                 scrollY
460 454
                 className="detail-wrap">
461 455
                 <View className="detail">
462 456
                   <View class="detail-title">{detail.activityName}</View>
463
-                  <View className="detail-info">
457
+                  <View className="detail-info" >
464 458
                     <View style="margin-right:30px">所需<Text style="color:#FF245A">{detail.integral}</Text>积分</View>
465 459
                     <Image style="width:20px;height:20px;margin-right:2px" src={memberImg} ></Image>
466 460
                     <Text >{detail.groupBuyPeople}人团</Text>
@@ -469,7 +463,7 @@ export default class Detail extends Component {
469 463
                     groupState === GroupSuccess &&
470 464
                     (
471 465
                       <Block>
472
-                        <Image className="status__img"style="margin:40rpx auto 24rpx auto" src={successImg}></Image>
466
+                        <Image className="status__img" style="margin:12rpx auto 24rpx auto" src={successImg}></Image>
473 467
                         <View className="hexiaoma" style="margin:0 auto 40rpx auto">核销码: {verificationCode}</View>
474 468
                       </Block>
475 469
                     )
@@ -479,16 +473,16 @@ export default class Detail extends Component {
479 473
                     groupState === GroupFailure &&
480 474
                     (
481 475
                       <View>
482
-                        <Image className="status__img" style="margin:40rpx auto 24rpx auto" src={failImg}></Image>
476
+                        <Image className="status__img" style="margin:12rpx auto 24rpx auto" src={failImg}></Image>
483 477
                         <View className="fail-text" style="margin:0 auto 40rpx auto">活动已超时,拼团失败!</View>
484 478
                       </View>
485 479
                     )
486 480
                   }
487 481
 
488
-                  {isStarter&&
489
-                    <View className="detail-title">我的拼团</View>
482
+                  {isStarter &&
483
+                    <View className="detail-title" >我的拼团</View>
490 484
                   }
491
-                  
485
+
492 486
                   <View className='tools-main'>
493 487
                     {
494 488
                       recordDetail.recordId &&
@@ -523,9 +517,9 @@ export default class Detail extends Component {
523 517
                   </View>
524 518
                 </View>
525 519
 
526
-                <View className="assistance-text"><Text style="color:#dcdcdc">————————</Text><Text className="acitivty-desc">活动说明</Text><Text style="color:#dcdcdc">————————</Text></View>
520
+                <View className="assistance-text"><Text style="color:#dcdcdc">------------------- </Text><Text className="acitivty-desc">活动说明</Text><Text style="color:#dcdcdc">-------------------</Text></View>
527 521
                 <View style="padding:0 40rpx">
528
-                <Image src={detail.descImg} style="width:100%"></Image>
522
+                  <Image src={detail.descImg} style="width:100%"></Image>
529 523
                 </View>
530 524
 
531 525
                 {

+ 10
- 15
src/pages/activity/detail/assistance.js Просмотреть файл

@@ -304,7 +304,7 @@ export default class Detail extends Component {
304 304
       }).catch(err => {
305 305
         console.log('err:', err)
306 306
         Taro.hideLoading()
307
-        
307
+
308 308
         Taro.showToast({
309 309
           title: '失败: ' + err.message,
310 310
           icon: 'none'
@@ -430,14 +430,6 @@ export default class Detail extends Component {
430 430
               <Notice></Notice>
431 431
               <View className="detail-banner">
432 432
                 <Image mode="widthFix" src={detail.img} className="detail-banner__img"></Image>
433
-<<<<<<< HEAD
434
-                
435
-                <View className="rest-time">
436
-                  <Text className="row-label">{actState === ActBeforeStart ? '距活动开始 :' : (actState === ActInProcess ? '活动剩余时间 :' : '')} </Text>
437
-                  <Text className="row-content">{actState != ActFinished ? formateLeftTime(leftTime) : '活动已结束'}</Text>
438
-                </View>
439
-
440
-=======
441 433
                 {
442 434
                   helpState === HelpInProcess && actState != ActFinished &&
443 435
                   (
@@ -447,11 +439,14 @@ export default class Detail extends Component {
447 439
                     </View>
448 440
                   )
449 441
                 }
450
-                {detail.successNum>0 &&
451
-                  <View className="success-num">已成功 {detail.successNum}</View>
442
+                {detail.successNum > 0 &&
443
+
444
+                  <View className="success-num">
445
+                    <View className="triangle"></View>
446
+                    <View className="text">已成功 {detail.successNum}</View>
447
+                  </View>
452 448
 
453 449
                 }
454
->>>>>>> 4fa08fccaf3ed20ed1dcc549346b4b829f473145
455 450
               </View>
456 451
               <ScrollView
457 452
                 scrollY
@@ -530,11 +525,11 @@ export default class Detail extends Component {
530 525
                     )
531 526
                   }
532 527
                 </View>
533
-                <View className="assistance-text"><Text style="color:#dcdcdc">————————</Text><Text className="acitivty-desc">活动说明</Text><Text style="color:#dcdcdc">————————</Text></View>
528
+                <View className="assistance-text"><Text style="color:#dcdcdc">------------------- </Text><Text className="acitivty-desc">活动说明</Text><Text style="color:#dcdcdc">-------------------</Text></View>
534 529
                 <View style="padding:0 40rpx">
535
-                <Image src={detail.activityInstructions} style="width:100%;margin-bottom:20px"></Image>
530
+                  <Image src={detail.activityInstructions} style="width:100%;margin-bottom:20px"></Image>
536 531
                 </View>
537
-               
532
+
538 533
               </ScrollView>
539 534
 
540 535
               <action-sheet hidden={!actionSheetVisible} bindchange={this.toggleActionVisible}>

+ 19
- 3
src/pages/activity/detail/index.scss Просмотреть файл

@@ -35,7 +35,7 @@
35 35
     bottom:0;
36 36
     left:0;
37 37
     background-color: #DFDFDF;
38
-    padding: 10px 40px;
38
+    padding: 10px 36px;
39 39
     font-size: 30px;
40 40
     border-radius: 0 12px 0 0 ;
41 41
     .row-label{
@@ -51,16 +51,32 @@
51 51
     right:0;
52 52
     bottom:0;
53 53
     color: #fff;
54
+    display: flex;
55
+    height: 48px;
56
+    line-height: 48px;
57
+
58
+    .triangle{
59
+      width: 0px;
60
+      height: 0px;
61
+      border: 50px solid;
62
+      border-top-color: transparent;
63
+      border-left-color:transparent;
64
+      border-right: none;  
65
+      border-bottom-color: rgba(47,6,1,0.5) ;
66
+      margin-top: -48px;
67
+    }
68
+    .text{
54 69
     background:rgba(47,6,1,0.5);
55
-    padding: 8px 22px 8px 42px;
56
-    border-radius: 100px 0 0 0;
70
+    padding:0 18px 0 6px;
57 71
     font-size: 24px;
72
+    }
58 73
   }
59 74
 }
60 75
 .detail-info{
61 76
   display: flex;
62 77
   align-items: center;
63 78
   color: $primary-color;
79
+  margin-bottom: 28px;
64 80
 }
65 81
 .detail-wrap {
66 82
   background: transparent;

+ 6
- 3
src/pages/activity/item/index.js Просмотреть файл

@@ -24,11 +24,14 @@ export default class Item extends Component {
24 24
           }
25 25
           {(data.type == 'help' || data.type == 'group') &&
26 26
             <View className={data.type == 'help' ? 'type' : 'type2'}>{data.type == 'help' ? '助力' : '拼团'}</View>
27
-            
27
+
28 28
           }
29 29
           {(data.type == 'help' || data.type == 'group') &&
30
-            <View className="success-num">已成功 {data.successNum}</View>
31
-            
30
+            <View className="success-num">
31
+              <View className="triangle"></View>
32
+              <View className="text">已成功 {data.successNum}</View>
33
+            </View>
34
+
32 35
           }
33 36
 
34 37
           {/* <View className="time">活动开始时间:{`${dayjs(data.startDate).format('YYYY-MM-DD HH:mm:ss')}`}</View> */}

+ 17
- 2
src/pages/activity/item/index.scss Просмотреть файл

@@ -41,10 +41,25 @@
41 41
     right:0;
42 42
     top:282px;
43 43
     color: #fff;
44
+    display: flex;
45
+    height: 48px;
46
+    line-height: 48px;
47
+
48
+    .triangle{
49
+      width: 0px;
50
+      height: 0px;
51
+      border: 48px solid;
52
+      border-top-color: transparent;
53
+      border-left-color:transparent;
54
+      border-right: none;  
55
+      border-bottom-color: rgba(47,6,1,0.5) ;
56
+      margin-top: -48px;
57
+    }
58
+    .text{
44 59
     background:rgba(47,6,1,0.5);
45
-    padding: 8px 24px 8px 46px;
46
-    border-radius: 100px 0 0 0;
60
+    padding:0 20px 0 12px;
47 61
     font-size: 24px;
62
+    }
48 63
   }
49 64
   .hot-tip{
50 65
     position: absolute;

+ 102
- 26
src/pages/person/index.js Просмотреть файл

@@ -81,7 +81,6 @@ export default class Person extends Component {
81 81
       Taro.showToast({ title: '暂无客户', icon: 'none' })
82 82
       return
83 83
     }
84
-    // App.zhuge.track('推荐客户')
85 84
 
86 85
     Taro.navigateTo({
87 86
       url: '/pages/person/myGuest/index'
@@ -93,6 +92,11 @@ export default class Person extends Component {
93 92
       url: '/pages/person/favorite/index'
94 93
     })
95 94
   }
95
+  toAgentClient() {
96
+    Taro.navigateTo({
97
+      url: '/pages/agent/client/index'
98
+    })
99
+  }
96 100
   toAssemble() {
97 101
     Taro.navigateTo({
98 102
       url: '/pages/activity/assemblePage'
@@ -108,6 +112,36 @@ export default class Person extends Component {
108 112
       url: '/pages/person/profile/index'
109 113
     })
110 114
   }
115
+  toAgent() {
116
+    Taro.navigateTo({
117
+      url: '/pages/agent/index'
118
+    })
119
+  }
120
+  toAgentInvitation() {
121
+    Taro.navigateTo({
122
+      url: '/pages/agent/invitation/index'
123
+    })
124
+  }
125
+  toActivity() {
126
+    Taro.navigateTo({
127
+      url: '/pages/activity/index?from=mine'
128
+    })
129
+  }
130
+  toRecord() {
131
+    Taro.navigateTo({
132
+      url: '/pages/shop/record/index'
133
+    })
134
+  }
135
+  toToolkit() {
136
+    Taro.navigateTo({
137
+      url: '/pages/toolKit/index'
138
+    })
139
+  }
140
+  toFeedback() {
141
+    Taro.navigateTo({
142
+      url: '/pages/person/feedback/index'
143
+    })
144
+  }
111 145
 
112 146
   getRoleName(type) {
113 147
     switch (type) {
@@ -124,7 +158,6 @@ export default class Person extends Component {
124 158
         return '渠道经纪人'
125 159
         break;
126 160
       default:
127
-
128 161
         return '普通用户'
129 162
         break;
130 163
     }
@@ -176,7 +209,7 @@ export default class Person extends Component {
176 209
                 <View className="info-text__name">{user.name ? user.name : user.nickname} {/* <Text className="iconfont icon-more"></Text> */}</View>
177 210
                 <View className="info-text__intro">积分 {user.points || 0}</View>
178 211
               </View>
179
-              <Navigator url={`/pages/person/spread/index`}  className="tuiguang">
212
+              <Navigator url={`/pages/person/spread/index`} className="tuiguang">
180 213
                 <Image style="width:40px;height:36px" src={require('@assets/mine/tuiguangma.png')} ></Image>
181 214
                 <View className="info-text__intro" style="margin:4px 0 0 4px">推广码</View>
182 215
               </Navigator>
@@ -196,18 +229,32 @@ export default class Person extends Component {
196 229
           </View>
197 230
         </View>
198 231
         <View>
199
-          {/* <View></View> */}
200
-          <View style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
232
+          <View onClick={this.toAgent} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
201 233
             <View style="display: flex;align-items: center;">
202 234
               <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/homepage.png')} ></Image>
203 235
               <Text >我的主页</Text>
204 236
             </View>
205 237
             <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
206 238
           </View>
207
-          <View style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
239
+          <View onClick={this.toAgentClient} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
208 240
             <View style="display: flex;align-items: center;">
209
-              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/homepage.png')} ></Image>
210
-              <Text >我的收藏</Text>
241
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/recommend.png')} ></Image>
242
+              <Text >推荐客户</Text>
243
+            </View>
244
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
245
+          </View>
246
+          <View onClick={this.toAgentInvitation} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
247
+            <View style="display: flex;align-items: center;">
248
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/development.png')} ></Image>
249
+              <Text >发展经纪人</Text>
250
+            </View>
251
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
252
+          </View>
253
+          <View className='line'></View>
254
+          <View onClick={this.toActivity} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
255
+            <View style="display: flex;align-items: center;">
256
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/activities.png')} ></Image>
257
+              <Text >我的活动</Text>
211 258
             </View>
212 259
             <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
213 260
           </View>
@@ -218,6 +265,28 @@ export default class Person extends Component {
218 265
             </View>
219 266
             <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
220 267
           </View>
268
+          <View onClick={this.toAssistance} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
269
+            <View style="display: flex;align-items: center;">
270
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/help.png')} ></Image>
271
+              <Text >我的助力</Text>
272
+            </View>
273
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
274
+          </View>
275
+          <View className='line'></View>
276
+          <View onClick={this.toFavor} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
277
+            <View style="display: flex;align-items: center;">
278
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/collection.png')} ></Image>
279
+              <Text >我的收藏</Text>
280
+            </View>
281
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
282
+          </View>
283
+          <View onClick={this.toRecord} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
284
+            <View style="display: flex;align-items: center;">
285
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/exchange.png')} ></Image>
286
+              <Text >兑换记录</Text>
287
+            </View>
288
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
289
+          </View>
221 290
           <View onClick={this.toProfile} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
222 291
             <View style="display: flex;align-items: center;">
223 292
               <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/regiment.png')} ></Image>
@@ -225,25 +294,43 @@ export default class Person extends Component {
225 294
             </View>
226 295
             <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
227 296
           </View>
228
-          <View onClick={this.toAssistance} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
297
+          <View onClick={this.toToolkit} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
229 298
             <View style="display: flex;align-items: center;">
230
-              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/help.png')} ></Image>
231
-              <Text >我的助力</Text>
299
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/calculator.png')} ></Image>
300
+              <Text >房贷计算器</Text>
301
+            </View>
302
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
303
+          </View>
304
+          <View onClick={this.toToolkit} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
305
+            <View style="display: flex;align-items: center;">
306
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/encyclopedia.png')} ></Image>
307
+              <Text >购房百科</Text>
308
+            </View>
309
+            <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
310
+          </View>
311
+          <View onClick={this.toFeedback} style=" display: flex;align-items: center;justify-content: space-between;margin: 0 20px;padding:10px 0;box-shadow:0px 1px 0px 0px rgba(0,0,0,0.12);">
312
+            <View style="display: flex;align-items: center;">
313
+              <Image style="width:22px;height:22px;margin-right:10px" src={require('@assets/mine/feedback.png')} ></Image>
314
+              <Text >意见反馈</Text>
232 315
             </View>
233 316
             <Text style=" width:10px;height:10px;border-top: 1px solid #999;border-right: 1px solid #999;transform:rotate(45deg);"></Text>
234 317
           </View>
235
-          <View className='line'></View>
236 318
         </View>
237 319
         {/* <View className="list-item">
238 320
           <Image src={require('@assets/person/shouye.png')} className="icon" ></Image>
239 321
           <Text className='menu-item_txt'>我的主页</Text>
240 322
         </View> */}
241 323
         {/* <View className="menu menu1"> */}
242
-        {/* 经纪人我的主页 */}
324
+        {/* 经纪人的主页 */}
243 325
         {/* {(user.personType == ROLE_CODE['ESTATE_AGENT'] || user.personType == ROLE_CODE['CHANNEL_AGENT']) && (<Navigator className="menu-item" hover-class="none" url={`/pages/agent/index`}>
244 326
             <Image src={require('@assets/person/shouye.png')} className='menu-item_img' mode="widthFix"></Image>
245 327
             <Text className='menu-item_txt'>我的主页</Text>
246 328
           </Navigator>)} */}
329
+        {/* 置业顾问主页 */}
330
+        {/* {user.personType == 'Realty Consultant' && (<Navigator className="menu-item" hover-class="none" url={`/pages/card/index?id=${user.id}`}>
331
+            <Image src={require('@assets/person/shouye.png')} className='menu-item_img' mode="widthFix"></Image>
332
+            <Text className='menu-item_txt'>我的主页</Text>
333
+          </Navigator>)} */}
247 334
 
248 335
         {/* 经纪人推荐客户 */}
249 336
         {/* {(user.personType == ROLE_CODE['ESTATE_AGENT'] || user.personType == ROLE_CODE['CHANNEL_AGENT']) && (<Navigator className="menu-item" hover-class="none" url={`/pages/agent/client/index`}>
@@ -251,11 +338,7 @@ export default class Person extends Component {
251 338
             <Text className='menu-item_txt'>推荐客户</Text>
252 339
           </Navigator>)} */}
253 340
 
254
-        {/* 置业顾问主页 */}
255
-        {/* {user.personType == 'Realty Consultant' && (<Navigator className="menu-item" hover-class="none" url={`/pages/card/index?id=${user.id}`}>
256
-            <Image src={require('@assets/person/shouye.png')} className='menu-item_img' mode="widthFix"></Image>
257
-            <Text className='menu-item_txt'>我的主页</Text>
258
-          </Navigator>)} */}
341
+
259 342
 
260 343
         {/* 游客主页 */}
261 344
         {/* {(user.personType == ROLE_CODE['CUSTOMER'] || !user.personType) && (<Navigator className="menu-item" hover-class="none" url={`/pages/agent/become/index`}>
@@ -289,14 +372,7 @@ export default class Person extends Component {
289 372
             <Image src={require('@assets/person/shou.png')} className='menu-item_img' mode="widthFix"></Image>
290 373
             <Text className='menu-item_txt'>我的收藏</Text>
291 374
           </View>
292
-          <View className='menu-item' onClick={this.toAssemble}>
293
-            <Image src={require('@assets/person/shou.png')} className='menu-item_img' mode="widthFix"></Image>
294
-            <Text className='menu-item_txt'>我的拼团</Text>
295
-          </View>
296
-          <View className='menu-item' onClick={this.toAssistance}>
297
-            <Image src={require('@assets/person/shou.png')} className='menu-item_img' mode="widthFix"></Image>
298
-            <Text className='menu-item_txt'>我的助力</Text>
299
-          </View> */}
375
+        */}
300 376
 
301 377
         {/* 经纪人我的邀请 */}
302 378
         {/* {(user.personType == ROLE_CODE['ESTATE_AGENT'] || user.personType == ROLE_CODE['CHANNEL_AGENT']) && (<Navigator className="menu-item" hover-class="none" url={`/pages/agent/invitation/index`}>