mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +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: " "; }
|
&: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>
|
<text class="coreshop-font-12">等级:{{ userInfo.gradeName }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="coreshop-font-12 coreshop-flex-direction-row">
|
<view class="coreshop-font-12 coreshop-flex-direction-row">
|
||||||
<text class="text-border-x">{{pointShowName}}: {{ userInfo.point }}</text>
|
<text class="text-border-x">{{pointShowName}}:{{ userInfo.point }}</text>
|
||||||
<text>余额: {{ userInfo.balance }}</text>
|
<text>余额:{{ userInfo.balance }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifndef MP-WEIXIN -->
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
@@ -514,6 +514,7 @@
|
|||||||
if (this.$db.get('userToken')) {
|
if (this.$db.get('userToken')) {
|
||||||
this.hasLogin = true
|
this.hasLogin = true
|
||||||
this.$u.api.userInfo().then(res => {
|
this.$u.api.userInfo().then(res => {
|
||||||
|
console.log(res);
|
||||||
if (res.status) {
|
if (res.status) {
|
||||||
_this.userInfo = res.data
|
_this.userInfo = res.data
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
|
|||||||
Reference in New Issue
Block a user