|
@@ -29,7 +29,7 @@
|
|
|
</view>
|
|
|
<view class="stats">
|
|
|
<view class="item" v-for="(item, index) in userStats" :key="index" @tap="$navPage(item.url)">
|
|
|
- <view class="num">{{item.num}}</view>
|
|
|
+ <view class="num"><view class="unit" v-if="index === 2">¥</view><view class="main">{{item.num}}</view></view>
|
|
|
<view class="text">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -369,6 +369,18 @@ export default {
|
|
|
.num {
|
|
|
font-size: 36rpx;
|
|
|
font-weight: 500;
|
|
|
+ display: flex;
|
|
|
+ align-items: flex-end;
|
|
|
+ justify-content: center;
|
|
|
+ .unit {
|
|
|
+ font-size: 24rpx;
|
|
|
+ margin-right: 4rpx;
|
|
|
+ color: $sec-font;
|
|
|
+ line-height: 32rpx;
|
|
|
+ }
|
|
|
+ .main {
|
|
|
+ line-height: 36rpx;
|
|
|
+ }
|
|
|
}
|
|
|
.text {
|
|
|
margin-top: 8rpx;
|