完善页面
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="address-form" :data-theme="theme()" :class="theme() || ''">
|
||||
<view class="bg-white p-0-30 f30">
|
||||
<view class="d-b-c border-b info-item avatar">
|
||||
<view class="d-b-c info-item avatar">
|
||||
<text class="key-name">头像</text>
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
<view class="d-e-c" @click="changeAvatarUrl">
|
||||
<view class="info-image"><image :src="userInfo.avatarUrl || '/static/default.png'" mode=""></image></view>
|
||||
<view class="info-image"><image :src="userInfo.avatarUrl || '@/static/avatar.png'" mode=""></image></view>
|
||||
<text class="icon iconfont icon-jiantou"></text>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
@ -13,20 +13,20 @@
|
||||
<view class="d-e-c">
|
||||
<view class="info-image">
|
||||
<button style="padding: 0;" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
|
||||
<image :src="userInfo.avatarUrl || '/static/default.png'" mode=""></image>
|
||||
<image :src="userInfo.avatarUrl || '@/static/avatar.png'" mode=""></image>
|
||||
</button>
|
||||
</view>
|
||||
<text class="icon iconfont icon-jiantou"></text>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
<view class="d-b-c p-30-0 border-b">
|
||||
<!-- <view class="d-b-c p-30-0">
|
||||
<text class="key-name">会员ID</text>
|
||||
<view class="d-e-c">
|
||||
<text class="mr20">{{ userInfo.user_id }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="d-b-c p-30-0 border-b">
|
||||
</view> -->
|
||||
<view class="d-b-c p-30-0">
|
||||
<text class="key-name">昵称</text>
|
||||
<view class="d-e-c" @click="changeName('nickName')">
|
||||
<text class="mr20">{{ userInfo.nickName }}</text>
|
||||
@ -44,13 +44,13 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- #ifdef APP-PLUS -->
|
||||
<view class="d-b-c p-30-0 border-b">
|
||||
<view class="d-b-c p-30-0">
|
||||
<text class="key-name">当前版本</text>
|
||||
<view class="d-e-c">
|
||||
<text class="mr20">{{ version_no }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="d-b-c p-30-0 border-b" @click="deleteAccount()">
|
||||
<view class="d-b-c p-30-0" @click="deleteAccount()">
|
||||
<text class="key-name">删除账号</text>
|
||||
<view class="d-e-c">
|
||||
<text class="icon iconfont icon-jiantou"></text>
|
||||
@ -307,13 +307,13 @@ export default {
|
||||
.info-image {
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
border-radius: 10rpx;
|
||||
border-radius: 100%;
|
||||
margin-right: 20rpx;
|
||||
|
||||
image {
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
border-radius: 10rpx;
|
||||
border-radius: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user