瀏覽代碼

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

achao 2 年之前
父節點
當前提交
4d9424b53b
共有 1 個文件被更改,包括 4 次插入4 次删除
  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>