1007395918@qq.com 5 years ago
parent
commit
b5d951b14e

+ 1
- 1
src/onlineSelling/pages/houseList/index.js View File

502
                 <View className='construction__area'>
502
                 <View className='construction__area'>
503
                   <Text>{apartmentItem.buildingArea ? '建筑面积约' + apartmentItem.buildingArea + 'm²' : '建筑面积待定'}</Text>
503
                   <Text>{apartmentItem.buildingArea ? '建筑面积约' + apartmentItem.buildingArea + 'm²' : '建筑面积待定'}</Text>
504
                   {
504
                   {
505
-                    apartmentItem.area2 ? <Text>使用面积约{apartmentItem.area2}m²</Text> : <Text>使用面积待定</Text>
505
+                    apartmentItem.insideArea ? <Text>使用面积约{apartmentItem.insideArea}m²</Text> : <Text>使用面积待定</Text>
506
                   }
506
                   }
507
                 </View>
507
                 </View>
508
               </View>
508
               </View>

+ 0
- 1
src/onlineSelling/pages/houseList/index.scss View File

186
         height: 80px;
186
         height: 80px;
187
         display: flex;
187
         display: flex;
188
         flex-direction: column;
188
         flex-direction: column;
189
-        font-size: 28px;
190
         text-align: left;
189
         text-align: left;
191
 
190
 
192
       }
191
       }

+ 3
- 4
src/onlineSelling/pages/records/index.js View File

21
   }
21
   }
22
   componentWillMount() {
22
   componentWillMount() {
23
     ready.queue(() => {
23
     ready.queue(() => {
24
-  
24
+
25
       const { userInfo: { person: { personId } } } = this.props
25
       const { userInfo: { person: { personId } } } = this.props
26
       const params = {
26
       const params = {
27
         personId,
27
         personId,
29
         pageSize: 999,
29
         pageSize: 999,
30
       }
30
       }
31
       queryPreselectionRecord(params).then(res => {
31
       queryPreselectionRecord(params).then(res => {
32
+        const list = res.records
32
         this.setState({
33
         this.setState({
33
-          recordList: res.records || []
34
+          recordList: list.filter(item => item.status == '1') || []
34
         })
35
         })
35
       })
36
       })
36
     })
37
     })
37
-
38
   }
38
   }
39
   toHouseDetail(item) {
39
   toHouseDetail(item) {
40
     if (item.housingStatus == '0' || item.saleBatchStatus == '0') {
40
     if (item.housingStatus == '0' || item.saleBatchStatus == '0') {
44
         url: `/onlineSelling/pages/detail/index?id=${item.houseId}`
44
         url: `/onlineSelling/pages/detail/index?id=${item.houseId}`
45
       })
45
       })
46
     }
46
     }
47
-
48
   }
47
   }
49
 
48
 
50
   render() {
49
   render() {

+ 1
- 1
src/pages/card/index.js View File

620
 
620
 
621
               {buildingId && (
621
               {buildingId && (
622
                 <View className="pro__info">
622
                 <View className="pro__info">
623
-                  <View className='project__title'>{person.personId != cardInfo.id?'为您推荐':'项目信息'}</View>
623
+                  <View className='project__title'>{isSelf?'项目信息':'为您推荐'}</View>
624
                   <ProjectItem data={projectDetail} onClick={this.toProjectDetail.bind(this)} />
624
                   <ProjectItem data={projectDetail} onClick={this.toProjectDetail.bind(this)} />
625
                 </View>
625
                 </View>
626
               )}
626
               )}

+ 1
- 1
src/pages/person/myShare/index.js View File

122
                 {item.eventType == 'project' && <View className="price"> {item.price || '暂无均价'} </View>}
122
                 {item.eventType == 'project' && <View className="price"> {item.price || '暂无均价'} </View>}
123
 
123
 
124
                 {item.eventType == 'h5' && <View className="num"> {item.drainageShareNum || '0'}人查看了分享 </View>}
124
                 {item.eventType == 'h5' && <View className="num"> {item.drainageShareNum || '0'}人查看了分享 </View>}
125
+                {item.eventType == 'house' && <View className="num"> {item.houseShareNum || '0'}人查看了分享 </View>}
125
                 {item.eventType == 'project' && <View className="num"> {item.buildingNum || '0'}人查看了分享 </View>}
126
                 {item.eventType == 'project' && <View className="num"> {item.buildingNum || '0'}人查看了分享 </View>}
126
                 {item.eventType == 'group' && <View className="num"> {item.groupActivityShareNum || '0'}人查看了分享 </View>}
127
                 {item.eventType == 'group' && <View className="num"> {item.groupActivityShareNum || '0'}人查看了分享 </View>}
127
                 {item.eventType == 'help' && <View className="num"> {item.helpActivityShareNum || '0'}人查看了分享 </View>}
128
                 {item.eventType == 'help' && <View className="num"> {item.helpActivityShareNum || '0'}人查看了分享 </View>}
128
                 {item.eventType == 'activity' && <View className="num"> {item.activityShareNum || '0'}人查看了分享 </View>}
129
                 {item.eventType == 'activity' && <View className="num"> {item.activityShareNum || '0'}人查看了分享 </View>}
129
                 {item.eventType == 'news' && <View className="num"> {item.newsNum || '0'}人查看了分享 </View>}
130
                 {item.eventType == 'news' && <View className="num"> {item.newsNum || '0'}人查看了分享 </View>}
130
-
131
                 {item.eventType == 'project' && <View className="address"> {item.address || ''} </View>}
131
                 {item.eventType == 'project' && <View className="address"> {item.address || ''} </View>}
132
               </View>
132
               </View>
133
             ))
133
             ))