|
@@ -134,7 +134,8 @@
|
|
<view class="friendList-text">
|
|
<view class="friendList-text">
|
|
<view class="friendList-name">
|
|
<view class="friendList-name">
|
|
<span>{{item.realName}}</span>
|
|
<span>{{item.realName}}</span>
|
|
- <u-icon custom-prefix="custom-icon" name="men-line" color="#1677FF"></u-icon>
|
|
|
|
|
|
+ <u-icon v-if="item.gender" custom-prefix="custom-icon" name="women-line" color="#1677FF"></u-icon>
|
|
|
|
+ <u-icon v-else custom-prefix="custom-icon" name="men-line" color="#1677FF"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="friendList-info">
|
|
<view class="friendList-info">
|
|
<span>{{item.age}}岁 · {{item.height}}cm{{item.weight?' · '+item.weight+'kg':''}}</span>
|
|
<span>{{item.age}}岁 · {{item.height}}cm{{item.weight?' · '+item.weight+'kg':''}}</span>
|