许静 5 年前
父节点
当前提交
37b99368ac

+ 4
- 4
config/dev.js 查看文件

@@ -5,12 +5,12 @@ module.exports = {
5 5
   defineConstants: {
6 6
     // HOST: '"http://47.101.36.130:8085"',//测试
7 7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
-    WSS_HOST: '"wss://dev.jinchengjiaye.com"',
8
+    // HOST:  '"https://dev.jinchengjiaye.com"',//测试
9
+    // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10 10
     // HOST: '"https://lt.pawoma.cn"',
11 11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    // HOST: '"http://192.168.0.84:8080"',
13
-    // WSS_HOST: '"ws://192.168.0.84:8080"',
12
+    HOST: '"http://192.168.0.84:8080"',
13
+    WSS_HOST: '"ws://192.168.0.84:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 2
- 1
src/pages/agent/recommend/index.js 查看文件

@@ -271,7 +271,7 @@ export default class Index extends Component {
271 271
       status: 1
272 272
     }
273 273
     recommendClient(param).then(res => {
274
-
274
+      // if (res) {
275 275
       Taro.showToast({
276 276
         title: '提交成功'
277 277
       })
@@ -279,6 +279,7 @@ export default class Index extends Component {
279 279
         Taro.navigateTo({ url: '/pages/agent/client/index' })//测试用
280 280
       }, 700)
281 281
       this.clearInputEvent()
282
+      // }
282 283
     })
283 284
   }
284 285
   // 性别

+ 1
- 1
src/pages/person/customerAnalysis/index.scss 查看文件

@@ -250,7 +250,7 @@
250 250
       }
251 251
     }
252 252
     .tab-pane3{
253
-      padding: 20px 40px;
253
+      padding: 20px 30px;
254 254
     }
255 255
   }
256 256
   .tab-pane4{

+ 1
- 0
src/pages/person/customerAnalysis/item/index.scss 查看文件

@@ -15,6 +15,7 @@
15 15
   width: 98%;
16 16
   margin: 0 1%;
17 17
   position: relative;
18
+  margin-bottom: 16px ;
18 19
   .type{
19 20
     position: absolute;
20 21
     left:0;

+ 14
- 7
src/pages/person/customerAnalysis/myCustomer.js 查看文件

@@ -138,6 +138,8 @@ export default class myCustomer extends Taro.Component {
138 138
       const { records, list, total, current, pages } = res || {}
139 139
       const _list = records || list || []
140 140
       const newList = current <= 1 ? _list : this.state.activityList.concat(_list)
141
+      console.log(_list, "list")
142
+      console.log(newList, "newList")
141 143
       this.setState({
142 144
         activityList: newList,
143 145
         isEmpty2: total == 0,
@@ -445,6 +447,7 @@ export default class myCustomer extends Taro.Component {
445 447
     const { customerDetail, visitRecord, activityList, followRecord, followVisible, baseVisible, isEmpty, hasMore, isEmpty2, hasMore2, isEmpty3, hasMore3 } = this.state
446 448
     return (
447 449
       <View>
450
+        {console.log(activityList, "item")}
448 451
         {followVisible && this.renderFollowBox()}
449 452
         {baseVisible && this.renderBaseBox()}
450 453
         <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;">
@@ -461,7 +464,7 @@ export default class myCustomer extends Taro.Component {
461 464
           </View>
462 465
           <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>
463 466
         </View>
464
-        <AtTabs height="calc(100vh - 320rpx)" className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
467
+        <AtTabs height="calc(100vh - 310rpx)" className="my-tab" current={this.state.current} tabList={tabList} onClick={this.handleClick.bind(this)}>
465 468
           <AtTabsPane current={this.state.current} index={0} >
466 469
             <View className="tab-pane1 pane">
467 470
               <View className="status">{customerDetail.status == 1 ? '报备' : customerDetail.status == 2 ? '到访' : customerDetail.status == 3 ? '认筹' : '签约'}</View>
@@ -477,7 +480,7 @@ export default class myCustomer extends Taro.Component {
477 480
             <View className="tab-pane2 pane">
478 481
               <ListView
479 482
                 className="wrap"
480
-                style="height:calc(100vh - 320rpx)"
483
+                style="height:calc(100vh - 310rpx)"
481 484
                 needInit
482 485
                 isEmpty={isEmpty}
483 486
                 emptyText="暂无访问记录~"
@@ -513,7 +516,7 @@ export default class myCustomer extends Taro.Component {
513 516
             <View className="tab-pane3 pane">
514 517
               <ListView
515 518
                 className="wrap"
516
-                style="height:calc(100vh - 320rpx)"
519
+                style="height:calc(100vh - 310rpx)"
517 520
                 needInit
518 521
                 isEmpty={isEmpty2}
519 522
                 emptyText="暂无活动信息~"
@@ -529,11 +532,15 @@ export default class myCustomer extends Taro.Component {
529 532
                     </View>
530 533
                   }
531 534
                   {activityList.length &&
535
+
532 536
                     activityList.map(item => (
533
-                      <ActivityItem
534
-                        data={item}
535
-                        key={item.id + 'activity'}>
536
-                      </ActivityItem>
537
+                      <Block   key={item.id + 'activity'}>
538
+                        {console.log(item, "item7777777777")}
539
+                        <ActivityItem
540
+                          data={item}
541
+                         >
542
+                        </ActivityItem>
543
+                      </Block>
537 544
                     ))
538 545
                   }
539 546
                 </View>

+ 0
- 1
src/pages/signin/index.js 查看文件

@@ -31,7 +31,6 @@ export default class Index extends Component {
31 31
         }
32 32
       })
33 33
     })
34
-
35 34
   }
36 35
 
37 36
   getPhoneNumber(e) {