Browse Source

静态页面

1002884655 3 years ago
parent
commit
6fd490913c

+ 41
- 1
project.config.json View File

33
 	"compileType": "miniprogram",
33
 	"compileType": "miniprogram",
34
 	"simulatorType": "wechat",
34
 	"simulatorType": "wechat",
35
 	"simulatorPluginLibVersion": {},
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 View File

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

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

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

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

47
     Taro.navigateTo({ url: `/pages/index/activityList/index?type=${CurrentId}` })
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
                     <SwiperItem key={`Banner-${index}`}>
75
                     <SwiperItem key={`Banner-${index}`}>
74
                       <view className='swiper-item'>
76
                       <view className='swiper-item'>
75
                         <view className='flex-h'>
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
                           <text onClick={() => { ToMore() }}>更多活动</text>
79
                           <text onClick={() => { ToMore() }}>更多活动</text>
78
                         </view>
80
                         </view>
79
-                        <text onClick={toDetail}>{item.halfTitle}</text>
81
+                        <text onClick={toDetail(item)}>{item.halfTitle}</text>
80
                       </view>
82
                       </view>
81
                     </SwiperItem>
83
                     </SwiperItem>
82
                   ))
84
                   ))
91
                     <SwiperItem key={`Banner-${index}`}>
93
                     <SwiperItem key={`Banner-${index}`}>
92
                       <view className='swiper-item'>
94
                       <view className='swiper-item'>
93
                         <view className='flex-h'>
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
                           <text onClick={() => { ToMore() }}>更多团房</text>
97
                           <text onClick={() => { ToMore() }}>更多团房</text>
96
                         </view>
98
                         </view>
97
-                        <text onClick={toDetail}>{item.halfTitle}</text>
99
+                        <text onClick={toDetail(item)}>{item.halfTitle}</text>
98
                       </view>
100
                       </view>
99
                     </SwiperItem>
101
                     </SwiperItem>
100
                   ))
102
                   ))

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

85
                         <text onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}>个人信息资料修改</text>
85
                         <text onClick={() => { Taro.navigateTo({ url: `/pages/mine/userInfo/index` }) }}>个人信息资料修改</text>
86
                       </view>
86
                       </view>
87
                     </view>
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
                     <text className='New'>NEW</text>
89
                     <text className='New'>NEW</text>
90
                     <text className='iconfont icon-diqiu'></text>
90
                     <text className='iconfont icon-diqiu'></text>
91
                   </view>
91
                   </view>

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

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

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

113
                     <text>{UserInfo.name} {UserInfo.phone}</text>
113
                     <text>{UserInfo.name} {UserInfo.phone}</text>
114
                   </view>
114
                   </view>
115
                   <text onClick={handleFavor} className='iconfont icon-dianzan' style={isSave ? { color: 'red' } : undefined}></text>
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
                 </view>
117
                 </view>
118
                 <view className='Tag'>
118
                 <view className='Tag'>
119
                   <view>
119
                   <view>