1002884655 3 anni fa
parent
commit
6fd490913c

+ 41
- 1
project.config.json Vedi File

@@ -33,5 +33,45 @@
33 33
 	"compileType": "miniprogram",
34 34
 	"simulatorType": "wechat",
35 35
 	"simulatorPluginLibVersion": {},
36
-	"condition": {}
36
+	"condition": {
37
+		"search": {
38
+			"current": -1,
39
+			"list": []
40
+		},
41
+		"conversation": {
42
+			"current": -1,
43
+			"list": []
44
+		},
45
+		"plugin": {
46
+			"current": -1,
47
+			"list": []
48
+		},
49
+		"game": {
50
+			"current": -1,
51
+			"list": []
52
+		},
53
+		"gamePlugin": {
54
+			"current": -1,
55
+			"list": []
56
+		},
57
+		"miniprogram": {
58
+			"current": -1,
59
+			"list": [
60
+				{
61
+					"id": -1,
62
+					"name": "pages/index/index",
63
+					"pathName": "pages/index/index",
64
+					"query": "id= 1a679f513937508670594ea2ec616195&from=card _share&recommender= 1a679f513937508670594ea2ec616195",
65
+					"scene": null
66
+				},
67
+				{
68
+					"id": -1,
69
+					"name": "subpackages/pages/consultant/myHomepage/index",
70
+					"pathName": "subpackages/pages/consultant/myHomepage/index",
71
+					"query": "id=1a679f513937508670594ea2ec616195&from=card _share&recommender= 1a679f513937508670594ea2ec616195",
72
+					"scene": null
73
+				}
74
+			]
75
+		}
76
+	}
37 77
 }

+ 1
- 1
src/components/Auth/AuthPage/index.jsx Vedi File

@@ -18,7 +18,7 @@ export default (props) => {
18 18
   
19 19
   const handlePhoneNumber = (e) => {
20 20
     const { errMsg, ...data } = e?.detail || {}
21
-    debugger
21
+    // debugger
22 22
     if (errMsg === 'getPhoneNumber:ok') {
23 23
       setLoading(true)
24 24
       updatePhoneNumber(data).then(() => {

+ 1
- 1
src/pages/index/buildingDetail/components/SpecialPriceHouse/index.jsx Vedi File

@@ -34,7 +34,7 @@ export default function SpecialPriceHouse (props) {
34 34
           {
35 35
             List.map((item, index) => (
36 36
               <view className='ListItem' key={`List-${index}`}>
37
-                <text className='Tips'>省{`${toW(item.thriftPrice)}`}</text>
37
+                <text className='Tips'>省{`${toW(item.thriftPrice)}`}</text>
38 38
                 <view className='Price'>
39 39
                   <text>{toW(item.currentPrice)}</text>
40 40
                   <text>万</text>

+ 9
- 7
src/pages/index/components/HotRecommend/index.jsx Vedi File

@@ -47,9 +47,11 @@ export default function HotRecommend (props) {
47 47
     Taro.navigateTo({ url: `/pages/index/activityList/index?type=${CurrentId}` })
48 48
   }
49 49
 
50
-  const toDetail = () => {
51
-    if (CurrentContentInfo.dynamicId) {
52
-      Taro.navigateTo({ url: `/pages/index/activityDetail/index?id=${CurrentContentInfo.dynamicId}` })
50
+  const toDetail = (item) => {
51
+    return () => {
52
+      if (item.dynamicId) {
53
+        Taro.navigateTo({ url: `/pages/index/activityDetail/index?id=${item.dynamicId}` })
54
+      }
53 55
     }
54 56
   }
55 57
 
@@ -73,10 +75,10 @@ export default function HotRecommend (props) {
73 75
                     <SwiperItem key={`Banner-${index}`}>
74 76
                       <view className='swiper-item'>
75 77
                         <view className='flex-h'>
76
-                          <text className='flex-item' onClick={toDetail}>{item.title || '暂无活动'}</text>
78
+                          <text className='flex-item' onClick={toDetail(item)}>{item.title || '暂无活动'}</text>
77 79
                           <text onClick={() => { ToMore() }}>更多活动</text>
78 80
                         </view>
79
-                        <text onClick={toDetail}>{item.halfTitle}</text>
81
+                        <text onClick={toDetail(item)}>{item.halfTitle}</text>
80 82
                       </view>
81 83
                     </SwiperItem>
82 84
                   ))
@@ -91,10 +93,10 @@ export default function HotRecommend (props) {
91 93
                     <SwiperItem key={`Banner-${index}`}>
92 94
                       <view className='swiper-item'>
93 95
                         <view className='flex-h'>
94
-                          <text className='flex-item' onClick={toDetail}>{item.title || '暂无活动'}</text>
96
+                          <text className='flex-item' onClick={toDetail(item)}>{item.title || '暂无活动'}</text>
95 97
                           <text onClick={() => { ToMore() }}>更多团房</text>
96 98
                         </view>
97
-                        <text onClick={toDetail}>{item.halfTitle}</text>
99
+                        <text onClick={toDetail(item)}>{item.halfTitle}</text>
98 100
                       </view>
99 101
                     </SwiperItem>
100 102
                   ))

+ 1
- 1
src/pages/mine/index.jsx Vedi File

@@ -85,7 +85,7 @@ export default withLayout(() => {
85 85
                         <text onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}>个人信息资料修改</text>
86 86
                       </view>
87 87
                     </view>
88
-                    <text className='Role'>{UserRole === 1 ? '客户' : UserRole === 2 ? '经纪人' : UserRole === 3 ? '置业顾问' : '驻场管理'}</text>
88
+                    <text className='Role'>{UserRole === 1 ? '客户' : UserRole === 2 ? '合伙人' : UserRole === 3 ? '置业顾问' : '驻场管理'}</text>
89 89
                     <text className='New'>NEW</text>
90 90
                     <text className='iconfont icon-diqiu'></text>
91 91
                   </view>

+ 1
- 1
src/pages/mine/myCustomerDetail/index.jsx Vedi File

@@ -204,7 +204,7 @@ export default withLayout((props) => {
204 204
                 followList.map((item, index) => (
205 205
                   <view key={`Item-${index}`}>
206 206
                     <view className='flex-h'>
207
-                      <text>范丞丞</text>
207
+                      <text>{item.name}</text>
208 208
                       <view className='flex-item'></view>
209 209
                       <text>{formatDate(item.createDate, 'yyyy-MM-dd hh:mm')}</text>
210 210
                     </view>

+ 1
- 1
src/subpackages/pages/consultant/myHomepage/index.jsx Vedi File

@@ -113,7 +113,7 @@ export default withLayout((props) => {
113 113
                     <text>{UserInfo.name} {UserInfo.phone}</text>
114 114
                   </view>
115 115
                   <text onClick={handleFavor} className='iconfont icon-dianzan' style={isSave ? { color: 'red' } : undefined}></text>
116
-                  <text onClick={handleFavor}>{LikeNum}{isSave ? `已点赞` : '赞'}</text>
116
+                  <text onClick={handleFavor}>{isSave ? `已点赞` : '赞'}</text>
117 117
                 </view>
118 118
                 <view className='Tag'>
119 119
                   <view>