mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
提交调整
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user