Explorar el Código

修复没有价格暂时

zhangwf hace 3 años
padre
commit
b6c2455f79
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pages/homePage/homePage.vue

+ 2 - 2
pages/homePage/homePage.vue

@@ -191,14 +191,14 @@
 							<text class="house_hk" v-else></text>
 							<view class="house_address">
 								<image src="https://dm.static.elab-plus.com/yezhu/icon_location.png" mode=""></image>
-								<text style="width: 100%;" :style="{color:contentColor}">{{item.city}} · {{item.minPrice}}-{{item.maxPrice}}元/m²  {{item.bizFormat?'· '+item.bizFormat:''}}</text>
+								<text style="width: 100%;" :style="{color:contentColor}">{{item.city}} {{item.minPrice?"· "+item.minPrice:""}}{{item.maxPrice?'-'+item.maxPrice+'元/m²':""}}  {{item.bizFormat?'· '+item.bizFormat:''}}</text>
 							</view>
 							<view class="house_num">
 								<image src="https://dm.static.elab-plus.com/yezhu/icon_family.png" mode=""></image>
 								<text style="width: 100%;" :style="{color:contentColor}">{{item.projectLayout}}</text>
 							</view>
 							<text class="house_desc" :style="{color:contentColor}">{{item.taskEndTime}}</text>
-						</view>
+						</view> 
 					</view>
 					
 					<view class="item_share" :style="{background:color1}" @click="toShareCard(item.projectId,2)">