dengjie commit : 会员中心及其联系客服页面初步完成
This commit is contained in:
32
components/myAvatar/myAvatar.vue
Normal file
32
components/myAvatar/myAvatar.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<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>
|
||||
</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>
|
||||
<u--image v-else :src="VIP" width="84rpx" height="30rpx" :lazy-load="true">
|
||||
</u--image>
|
||||
</view>
|
||||
<text>顾发航</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "myAvatar",
|
||||
data() {
|
||||
return {
|
||||
avatar: '/static/my/avatar.png',
|
||||
normal: '/static/my/wo_icon_pthy.png',
|
||||
VIP: '/static/my/wo_icon_vip.png',
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user