Browse Source

Merge branch 'master' of http://git.zthymaoyi.com/wangchao/businessCard

achao 2 năm trước cách đây
mục cha
commit
4d9424b53b
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      xiaochengxu/pages/mySet/myHome.vue

+ 4 - 4
xiaochengxu/pages/mySet/myHome.vue

@@ -54,25 +54,25 @@
 				<view class='content' v-else>{{companyData.scopeOfBusiness}}</view>
 			</view>
 			<view class='compInformation' v-if='!editstatus'>
-				<view class="row flex top-m align-item-center">
+				<view v-if="companyData.companyAddress" class="row flex top-m align-item-center">
 					<view class='image-wrap'>
 						<image style='width:24rpx;height:31rpx;'  src="../../static/imgs/mySet/home/address.png" mode=""></image>
 					</view>
 					<view>地址:{{companyData.companyAddress}}</view>
 				</view>
-				<view class="row flex top-m align-item-center">
+				<view v-if="companyData.phone" class="row flex top-m align-item-center">
 					<view class='image-wrap'>
 						<image style='width:27rpx;height:28rpx;' src="../../static/imgs/mySet/home/phone.png" mode=""></image>
 					</view>
 					<view>电话:{{companyData.phone}}</view>
 				</view>
-				<view class="row flex top-m align-item-center">
+				<view v-if="companyData.portraiture" class="row flex top-m align-item-center">
 					<view class='image-wrap'>
 						<image style='width:27rpx;height:28rpx;' src="../../static/imgs/mySet/home/portraiture.png" mode=""></image>
 					</view>
 					<view>座机:{{companyData.portraiture}}</view>
 				</view>
-				<view class="row flex top-m align-item-center">
+				<view v-if="companyData.postbox" class="row flex top-m align-item-center">
 					<view class='image-wrap'>
 						<image style='width:29rpx;height:25rpx;' src="../../static/imgs/mySet/home/postbox.png" mode=""></image>
 					</view>