Quellcode durchsuchen

Merge branch 'v4' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into v4

许静 vor 5 Jahren
Ursprung
Commit
620a141bd9
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2
    2
      src/pages/card/index.js
  2. 2
    2
      src/pages/project/floor/index.js

+ 2
- 2
src/pages/card/index.js Datei anzeigen

@@ -472,7 +472,7 @@ export default class Index extends Component {
472 472
                 <View className='mycard__work'>
473 473
                   <View className='row mycard__work-department'>{cardInfo.department}<Text className='txt'>部门</Text></View>
474 474
                   <View className='row mycard__work-position'>{cardInfo.post}<Text className='txt'>职位</Text></View>
475
-                  <View className='row mycard__work-company'>{cardInfo.company}<Text className='txt'>楼盘</Text></View>
475
+                  <View className='row mycard__work-company'>{projectDetail.buildingName}<Text className='txt'>楼盘</Text></View>
476 476
                 </View>
477 477
 
478 478
                 {/* 人气 */}
@@ -549,4 +549,4 @@ export default class Index extends Component {
549 549
       </Block>
550 550
     )
551 551
   }
552
-}
552
+}

+ 2
- 2
src/pages/project/floor/index.js Datei anzeigen

@@ -39,7 +39,7 @@ export default class Index extends Component {
39 39
           </View>
40 40
           <View className='item'>
41 41
             <Text className='txt left-txt'>销售状态</Text>
42
-            <Text className='txt right-txt'>{this.state.statusOpts[projectDetail.status - 1]}</Text>
42
+            <Text className='txt right-txt'>{projectDetail.marketStatus ? projectDetail.marketStatus :'待定'}</Text>
43 43
           </View>
44 44
           <View className='item'>
45 45
             <Text className='txt left-txt'>开盘日期</Text>
@@ -89,4 +89,4 @@ export default class Index extends Component {
89 89
       </View >
90 90
     );
91 91
   }
92
-}
92
+}