wly 2 недель назад
Родитель
Сommit
7529b0e99d
3 измененных файлов с 5 добавлено и 5 удалено
  1. 1 1
      common/websocketUtil.js
  2. 2 2
      pages/index/index.vue
  3. 2 2
      pages/my/wishHelp.vue

+ 1 - 1
common/websocketUtil.js

@@ -153,7 +153,7 @@ class websocketUtil {
 					}
 				}
 				if (resdata.response.code != 200) {
-					console.log(res.data)
+					// console.log(res.data)
 				}
 
 			});

+ 2 - 2
pages/index/index.vue

@@ -71,10 +71,10 @@
 						<image class="icon" mode="widthFix" src="../../static/home/icon_sex2.png"></image>
 						<text>{{item.age}}</text>
 					</view>
-					<view class="tag2">
+					<view class="tag2" v-if="item.ziye">
 						<text>{{item.ziye}}</text>
 					</view>
-					<view class="tag2">
+					<view class="tag2" v-if="item.xinzuo">
 						<text>{{item.xinzuo}}</text>
 					</view>
 

+ 2 - 2
pages/my/wishHelp.vue

@@ -4,7 +4,7 @@
 		<view class="list_info">
 			<view class="item">
 				<view class="avator">
-					<image class="icon" :src="info.image" mode="widthFix">
+					<image class="icon" :src="info.image" mode="aspectFill">
 					</image>
 				</view>
 				<view class="tit">
@@ -20,7 +20,7 @@
 				<view class="title">助力好友</view>
 				<view class="list_mem">
 					<view class="mem" v-for="(item,index) in info.mem_list">
-						<image class="icon" :src="item.avator" mode="widthFix" />
+						<image class="icon" :src="item.avator" mode="aspectFill" />
 						<text>{{item.nickname}}</text>
 					</view>
 				</view>