mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 09:26:45 +08:00
提交
This commit is contained in:
@@ -156,7 +156,6 @@
|
||||
apiPlace.detail(key).then(res => {
|
||||
this.resonimg = [];
|
||||
let lmj = JSON.parse(res.result.content)
|
||||
console.log(lmj,'lmj')
|
||||
lmj.forEach(item=>{
|
||||
this.resonimg.push(this.fileUrl+item.image);
|
||||
})
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
articleList: [],//文章列表数据
|
||||
qaList: [],//问答列表数据
|
||||
tabIndex: 1,
|
||||
conType: 1,
|
||||
conType: 0,
|
||||
loadStatus: 'more',
|
||||
pageSize:20,//统一每页多少条
|
||||
converToScore:toScore,
|
||||
|
||||
@@ -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