mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-24 02:02:53 +08:00
u币规则
This commit is contained in:
@@ -133,27 +133,66 @@
|
||||
<div class="box-table">
|
||||
<p class="table-title portal-title-tow"><span></span>学习</p>
|
||||
<el-table
|
||||
:data="tableData"
|
||||
style="width: 100%;height:320px;overflow-y: auto;">
|
||||
<el-table-column
|
||||
prop="date"
|
||||
label="分类"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="描述"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="address"
|
||||
label="经验值/U币">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="address"
|
||||
:data="tableData"
|
||||
style="width: 100%">
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="分类"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="描述"
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<!-- {{scope.row}} -->
|
||||
<p v-for="(rem,index) in scope.row.hear" :key="index">{{rem}}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="address"
|
||||
label="经验值/U币">
|
||||
<template slot-scope="scope">
|
||||
<p v-for="(val,index) in scope.row.value" :key="index">{{val}}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="upperlimit"
|
||||
label="每日上限">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="box-table">
|
||||
<p class="table-title portal-title-tow"><span></span>知识贡献</p>
|
||||
<el-table
|
||||
:data="tableList"
|
||||
style="width: 100%">
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="分类"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="name"
|
||||
label="描述"
|
||||
width="180">
|
||||
<template slot-scope="scope">
|
||||
<!-- {{scope.row}} -->
|
||||
<p v-for="(rem,index) in scope.row.hear" :key="index">{{rem}}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="address"
|
||||
label="经验值/U币">
|
||||
<template slot-scope="scope">
|
||||
<p v-for="(val,index) in scope.row.value" :key="index">{{val}}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="upperlimit"
|
||||
label="每日上限">
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="dialog-close" @click="dialogVisible=false">
|
||||
<img style="width:86px;height:86px" src="/images/homeWu/u-close.png" alt="">
|
||||
@@ -178,7 +217,19 @@
|
||||
return{
|
||||
getUType,
|
||||
dialogVisible:false,
|
||||
tableData:[],
|
||||
tableData:[
|
||||
{name:'试听学习',hear:['每日累计学习10分钟','每日累计学习20分钟','每日累计学习30分钟','每日累计学习45分钟','每日累计学习60分钟',],value:[10,20,30,40,50],upperlimit:50},
|
||||
{name:'案例学习',hear:['完成一个案例的阅读(最低三分钟)',],value:[5],upperlimit:30},
|
||||
{name:'文章学习',hear:['完成一个文章的阅读(最低2分钟)',],value:[5],upperlimit:30},
|
||||
],
|
||||
tableList:[
|
||||
{name:'发布音视频课程',hear:['完成一个案音视频课',],value:[60],upperlimit:null},
|
||||
{name:'面授课记录',hear:['有一个完成的面授课记录(<4h)','有一个完成的面授课记录(>=4h)'],value:[40,60],upperlimit:null},
|
||||
{name:'发布文章',hear:['每发布1篇文章',],value:[40],upperlimit:null},
|
||||
{name:'发布案例',hear:['每发布1篇案例',],value:[50],upperlimit:null},
|
||||
{name:'发布笔记',hear:['每发布公开笔记1篇',],value:[5],upperlimit:30},
|
||||
{name:'发表评论',hear:['在课程,问答,案例中发表1个评论',],value:[2],upperlimit:20},
|
||||
],
|
||||
uCoinRecord:[],
|
||||
chart:null,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user