提交调整

This commit is contained in:
daihh
2022-12-05 14:57:12 +08:00
parent 5582acfb94
commit 071a1d7a73
3 changed files with 19 additions and 7 deletions

View File

@@ -3,10 +3,13 @@
<view>
<u-avatar v-if="avatar && avatar!=''" shape="circle" :size="size" :src="fileBaseUrl + avatar" ></u-avatar>
<view v-else>
<view v-if="sex == null" class="peo" :style="{width:width,height:height}"></view>
<view v-if="sex == null" class="peo" :style="{width:width,height:height}">
<image src="../../static/images/default.png" alt="">
</view>
<view v-else :style="{width:width,height:height}">
<view class="peo" v-if="sex === 1 "><image src="../../static/images/man.png" alt=""></view>
<view class="peo" v-else><image src="../../static/images/woman.png" alt=""></view>
<view class="peo" v-if="sex == 1 "><image src="../../static/images/man.png" alt=""></view>
<view class="peo" v-else-if="sex==2 "><image src="../../static/images/woman.png" alt=""></view>
<view class="peo" v-else><image src="../../static/images/man.png" alt=""></view>
</view>
</view>
</view>