Commit 5a366450 authored by Smile's avatar Smile Committed by wux

app积分页面展示修改

parent 2ca5b3a8
...@@ -9,8 +9,9 @@ ...@@ -9,8 +9,9 @@
<view class="content"> <view class="content">
<view class="content-title" <view class="content-title"
>{{ $lang.lang.integral.headerTitle >{{ $lang.lang.integral.headerTitle
}}{{ formattedLevelData(levelInfo.level) }}</view }}{{ formattedLevelData(levelInfo.level) }}<image class="content-image" src="../../static/img/glodg.png"></image></view
> >
<view class="content-text"> <view class="content-text">
<view class="text" <view class="text"
>{{ $lang.lang.integral.spend }} {{ levelInfo.usedScore }}</view >{{ $lang.lang.integral.spend }} {{ levelInfo.usedScore }}</view
...@@ -21,6 +22,7 @@ ...@@ -21,6 +22,7 @@
> >
</view> </view>
<view class="divider"> <view class="divider">
<image class="divider-image" src="../../static/img/goldBe.png"></image>
<view class="divider-active" :style="{ width: `${score}%` }"></view> <view class="divider-active" :style="{ width: `${score}%` }"></view>
<view class="divider-unm">{{ levelInfo.totalScore }}</view> <view class="divider-unm">{{ levelInfo.totalScore }}</view>
<view class="divider-level">{{ formattedLevelData(levelInfo.level) }}</view> <view class="divider-level">{{ formattedLevelData(levelInfo.level) }}</view>
......
...@@ -54,7 +54,12 @@ page { ...@@ -54,7 +54,12 @@ page {
margin-bottom: 16upx; margin-bottom: 16upx;
text-shadow: 2upx 4upx 12upx rgba(0, 0, 0, 0.5); text-shadow: 2upx 4upx 12upx rgba(0, 0, 0, 0.5);
} }
.content-image{
width: 64upx;
height: 48upx;
top: 8upx;
left: 8px;
}
.content .content-text { .content .content-text {
display: flex; display: flex;
} }
...@@ -74,7 +79,13 @@ page { ...@@ -74,7 +79,13 @@ page {
background-color: #fff; background-color: #fff;
border-radius: 4upx; border-radius: 4upx;
} }
.divider-image{
width: 20%;
height: 50upx;
position: relative;
left: -60upx;
top: -28upx;
}
.divider-active { .divider-active {
position: absolute; position: absolute;
top: 0; top: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment