mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
修改设置中用户部分样式问题
This commit is contained in:
@@ -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>
|
||||||
@@ -49,7 +50,7 @@ export default {
|
|||||||
url: url,
|
url: url,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 确认退出
|
* 确认退出
|
||||||
* 清除缓存重新登录
|
* 清除缓存重新登录
|
||||||
@@ -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;
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ export default {
|
|||||||
value: "订单已完成,祝您生活愉快",
|
value: "订单已完成,祝您生活愉快",
|
||||||
},
|
},
|
||||||
TAKE: {
|
TAKE: {
|
||||||
title: "带核验",
|
title: "待核验",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
order: {},
|
order: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user