图片
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<view class="my_avatar">
|
||||
<view style="border: 1px solid #EEEEEE;border-radius: 50rpx;">
|
||||
<u--image :src="avatar" width="100rpx" height="100rpx" :lazy-load="true" shape="circle">
|
||||
<u--image :src="avatar" width="100rpx" height="100rpx" shape="circle">
|
||||
</u--image>
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;margin-bottom: 4rpx;">
|
||||
<u--image v-if="show==false" :src="normal" width="84rpx" height="30rpx" :lazy-load="true">
|
||||
<u--image v-if="show==false" :src="normal" width="84rpx" height="30rpx">
|
||||
</u--image>
|
||||
<u--image v-else :src="VIP" width="84rpx" height="30rpx" :lazy-load="true">
|
||||
<u--image v-else :src="VIP" width="84rpx" height="30rpx">
|
||||
</u--image>
|
||||
</view>
|
||||
<text>顾发航</text>
|
||||
@@ -19,6 +19,7 @@
|
||||
name: "myAvatar",
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
avatar: '/static/my/avatar.png',
|
||||
normal: '/static/my/wo_icon_pthy.png',
|
||||
VIP: '/static/my/wo_icon_vip.png',
|
||||
|
||||
Reference in New Issue
Block a user