ccjgmwz 2 éve
szülő
commit
27fccdd43d
1 módosított fájl, 7 hozzáadás és 5 törlés
  1. 7 5
      xiaochengxu/pages/mySet/myHome.vue

+ 7 - 5
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>
@@ -130,7 +130,9 @@
 		data() {
 			return {
 				companyData:{
-					commonId:''
+					commonId:'',
+					companyIntroduction:'',
+					scopeOfBusiness:''
 				},
 				userInfo:{},
 				fileList:[],