许静 5 år sedan
förälder
incheckning
b4f3583bf6
3 ändrade filer med 15 tillägg och 13 borttagningar
  1. 2
    2
      config/prod.js
  2. 11
    10
      src/pages/person/customerAnalysis/index.js
  3. 2
    1
      src/pages/project/index.js

+ 2
- 2
config/prod.js Visa fil

@@ -7,8 +7,8 @@ module.exports = {
7 7
     // WSS_HOST: '"ws://192.168.0.218:8080"',
8 8
     HOST: '"https://dev.jinchengjiaye.com"',
9 9
     WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10
-      // HOST: '"https://lt.pawoma.cn"',
11
-      // WSS_HOST: '"wss://lt.pawoma.cn"',
10
+    // HOST: '"https://lt.pawoma.cn"',
11
+    // WSS_HOST: '"wss://lt.pawoma.cn"',
12 12
   },
13 13
   weapp: {},
14 14
   h5: {}

+ 11
- 10
src/pages/person/customerAnalysis/index.js Visa fil

@@ -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
   }

+ 2
- 1
src/pages/project/index.js Visa fil

@@ -38,7 +38,8 @@ export default class Index extends Component {
38 38
     keywords: '',
39 39
     loaded: false,
40 40
     maskBanner: '',
41
-    shareImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1565358322510-share.jpg',
41
+    // shareImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1565358322510-share.jpg',
42
+    shareImg: 'https://estateagents.oss-cn-shanghai.aliyuncs.com/miniapp/upload/images/1574145199853-97feda7895c65be33aa234a7b81b37f.jpg',
42 43
     bannerList: [],
43 44
     helpGroupList: [],
44 45
     newsList: [],