mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 18:36:47 +08:00
提交
This commit is contained in:
@@ -56,8 +56,8 @@
|
||||
<view class="information">
|
||||
<text class="grade">{{ statData.level }}</text>
|
||||
<view class="Progress">
|
||||
<text>200/300</text>
|
||||
<u-line-progress :showText="false" :percentage="50" activeColor="#007DFF" height="4"></u-line-progress>
|
||||
<text>{{statData.evalue}}/{{statData.levelMaxValue}}</text>
|
||||
<u-line-progress :showText="false" :percentage="statData.progress" activeColor="#007DFF" height="4"></u-line-progress>
|
||||
</view>
|
||||
<view class="edit" @click="navigateTo('setting')">
|
||||
<text>编辑资料</text><u-icon style="float: right;margin-top: 12px;" name="arrow-right" size="8"></u-icon>
|
||||
@@ -67,7 +67,7 @@
|
||||
</view>
|
||||
<view class="my-asset">
|
||||
<view>
|
||||
<text>3679</text>
|
||||
<text>{{statData.uvalue}}</text>
|
||||
U币
|
||||
|
||||
</view>
|
||||
@@ -345,6 +345,8 @@
|
||||
totalStudyHour: 0, //累计学习时长
|
||||
monthStudyDays:0, //当月学习天数
|
||||
totalStudyDays:0, //累计学习天数
|
||||
levelMaxValue:0,
|
||||
progress:0,
|
||||
uvalue:0 //U币数量
|
||||
},
|
||||
}
|
||||
@@ -391,7 +393,9 @@
|
||||
this.statData.totalStudyHour = res.result.totalStudyHour;
|
||||
this.statData.monthStudyDays = res.result.monthStudyDays;
|
||||
this.statData.totalStudyDays = res.result.totalStudyDays;
|
||||
this.statData.levelMaxValue = res.result.levelMaxValue;
|
||||
this.statData.uvalue = res.result.uvalue;
|
||||
this.statData.progress = (res.result.evalue/res.result.levelMaxValue)*100;
|
||||
this.medalList=res.result.medalList;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user