From 610c40148245d50a1def4596e61edc8ac580f2f3 Mon Sep 17 00:00:00 2001 From: huyuanxiang <273637057@qq.com> Date: Mon, 26 Jun 2023 17:03:38 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=EF=BC=8C=E6=98=B5=E7=A7=B0=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/views/tabBar/user.vue | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/pages/views/tabBar/user.vue b/pages/views/tabBar/user.vue index 618ae26..e48a78a 100644 --- a/pages/views/tabBar/user.vue +++ b/pages/views/tabBar/user.vue @@ -7,7 +7,7 @@ - {{userdata.realname || '-'}} + {{userdata.realname || '-'}} @@ -87,7 +87,7 @@ export default { url: '/pages/views/user/mycollection', id: 1, elseUrl: '' - }, + }, // { // name: '地址管理', // icon: 'icon-dizhi', @@ -138,7 +138,7 @@ export default { * 生命周期函数--监听页面加载 */ onLoad: function (options) { - + }, /** @@ -169,13 +169,13 @@ export default { } this.logList = getGoodsHistory() let colors = app.globalData.newColor; - + let oldcolor = this.colors; let userdata = getUserInfo() || {}; this.userdata = userdata this.getOrderStatus() - - + + }, /** @@ -221,7 +221,7 @@ export default { }) this.orderText = navs }) - + }, onLogin(){ let token = getToken() @@ -240,7 +240,7 @@ export default { }); }, moveHandle(){ //阻止下拉默认事件 - + }, coverTouchMove(e) { //滑动中 @@ -324,10 +324,14 @@ export default { border-radius: 50%; } -.user text { - font-size: 38upx; +.user .text { + font-size: 24upx; color: #fff; margin-left: 20upx; + width: 80%; + line-height: 30upx; + height: 30upx; + white-space: break-spaces; } .vip { @@ -414,4 +418,4 @@ export default { background-color: #f8f8f8; padding-bottom: 40upx; } - \ No newline at end of file +