mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:33:27 +08:00
【优化】调整个人中心顶部积分与余额之间的间隙,防止因金额或积分过大导致换行的问题。
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.text-border-x { margin-right: 23px; position: relative;
|
||||
.text-border-x { margin-right: 12px; position: relative;
|
||||
&:after { position: absolute; background: #dddddd; top: 5px; width: 1px; right: -6.5px; height: 8px; content: " "; }
|
||||
}
|
||||
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
<text class="coreshop-font-12">等级:{{ userInfo.gradeName }}</text>
|
||||
</view>
|
||||
<view class="coreshop-font-12 coreshop-flex-direction-row">
|
||||
<text class="text-border-x">{{pointShowName}}: {{ userInfo.point }}</text>
|
||||
<text>余额: {{ userInfo.balance }}</text>
|
||||
<text class="text-border-x">{{pointShowName}}:{{ userInfo.point }}</text>
|
||||
<text>余额:{{ userInfo.balance }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<!-- #ifndef MP-WEIXIN -->
|
||||
@@ -514,6 +514,7 @@
|
||||
if (this.$db.get('userToken')) {
|
||||
this.hasLogin = true
|
||||
this.$u.api.userInfo().then(res => {
|
||||
console.log(res);
|
||||
if (res.status) {
|
||||
_this.userInfo = res.data
|
||||
// #ifdef MP-WEIXIN
|
||||
|
||||
Reference in New Issue
Block a user