修改设置中用户部分样式问题

master
lemon橪 2021-06-10 10:54:35 +08:00
parent 240f2d227d
commit 983dbda3e6
2 changed files with 11 additions and 7 deletions

View File

@ -3,7 +3,8 @@
<view class="person" @click="checkUserInfo()"> <view class="person" @click="checkUserInfo()">
<u-image width=140 height="140" shape="circle" :src="userInfo.face || '/static/missing-face.png'" mode=""></u-image> <u-image width=140 height="140" shape="circle" :src="userInfo.face || '/static/missing-face.png'" mode=""></u-image>
<view class="user-name"> <view class="user-name">
<view>{{ userInfo.id ? userInfo.username || '' : '暂未登录' }}</view>
{{ userInfo.id ? userInfo.nickName || '' : '暂未登录' }}
</view> </view>
<u-icon color="#ccc" name="arrow-right"></u-icon> <u-icon color="#ccc" name="arrow-right"></u-icon>
</view> </view>
@ -136,9 +137,7 @@ export default {
}); });
that.getCacheSize(); // that.getCacheSize(); //
}, },
function (e) { function (e) {}
}
); );
} else { } else {
entry.remove(); entry.remove();
@ -195,7 +194,12 @@ export default {
align-items: center; align-items: center;
margin-bottom: 20rpx; margin-bottom: 20rpx;
.user-name { .user-name {
flex: 1; width: 500rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-left: 30rpx; margin-left: 30rpx;
line-height: 2em; line-height: 2em;
font-size: 34rpx; font-size: 34rpx;

View File

@ -252,7 +252,7 @@ export default {
value: "订单已完成,祝您生活愉快", value: "订单已完成,祝您生活愉快",
}, },
TAKE: { TAKE: {
title: "核验", title: "核验",
}, },
}, },
order: {}, order: {},