@weixixuan 1 день тому
джерело
коміт
6c692989fb
1 змінених файлів з 17 додано та 15 видалено
  1. 17
    15
      pages/user/user.vue

+ 17
- 15
pages/user/user.vue Переглянути файл

@@ -6,7 +6,7 @@
<view class="content" :style="{ top: margin + 'px' }">
<view class="head" :style="{ marinTop: margin + 'px' }">
<view class="avatar">
<image :src="`${$imgUrl}myImage/touxiang.png`" :class="!state.data.opId ? 'unlogin' : ''"
<image class="avatar-image" :src="`${$imgUrl}myImage/touxiang.png`" :class="!state.data.opId ? 'unlogin' : ''"
@click="goLogin">
</image>

@@ -17,9 +17,9 @@
<view class="nickname">{{state.accountInfoVo.userName || state.accountInfoVo.nickName}}</view>
<view class="user-id">
<view class="phone">{{state.accountInfoVo.mobile}}</view>
<view
@click="changePhone"
class="btn-change">已关联</view>
<view @click="changePhone" class="btn-change">
<image class="btn-change-image" :src="`${$imgUrl}common/icon-edit.png`"></image>
</view>
</view>
<text v-if="!isSm" class="btn-change-two">已实名认证</text>
</view>
@@ -93,7 +93,7 @@
<image :src="`${$imgUrl}myImage/myIcon.png`" class="r-img" mode="widthFix"></image>
</view>
</view>
<view class="list_item">
<view class="list_item" @click="noTips">
<view class="l-con">
<image :src="`${$imgUrl}myImage/afterOrder.png`" class="equity-icon" mode="widthFix">
</image>
@@ -278,6 +278,13 @@
console.log(111)
navTo('/subpackage/personal-center/setting/change-phone', true)
}
const noTips = () => {
uni.showToast({
title: '功能开发者,敬请期待',
icon: 'none'
})
}
</script>
<style>
page {
@@ -340,7 +347,7 @@
justify-content: space-between;
}

.head .avatar image {
.head .avatar .avatar-image {
width: 141rpx;
height: 141rpx;
/* border-radius: 80rpx; */
@@ -396,20 +403,15 @@
color: #fff;
padding-top: 20rpx;
display: flex;
align-items: center;
}

.head .btn-change {
font-size: 22rpx;
padding: 0 24rpx;
border: 1px solid #fff;
color: #fff;
box-sizing: border-box;
border-radius: 20rpx;
margin-left: 16rpx;
background: rgba(0, 179, 139, .1);
}
.btn-change-image{
width: 34rpx;
height: 34rpx;
}
.btn-change-two {
font-size: 22rpx;
width: 206rpx;

Завантаження…
Відмінити
Зберегти