mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 05:16:43 +08:00
课程中心部分页面控制
This commit is contained in:
@@ -61,58 +61,8 @@
|
||||
<div class="learning-qus">我的U币(累计)</div>
|
||||
<div class="learning-an"><span>{{uinfo.uCurrency}}</span></div>
|
||||
</div>
|
||||
<div @click="jumrank" class="list">
|
||||
BOE 排行榜 >>
|
||||
</div>
|
||||
<div @click="jumrank" class="list"> BOE 排行榜 >></div>
|
||||
</div>
|
||||
<!-- <div style="display: flex;justify-content: flex-start;">
|
||||
|
||||
|
||||
<div style="padding-left: 15px;">
|
||||
<div style="height: 38px;padding-left: 5px;">
|
||||
<span style="font-size: 20px;font-weight: 500;color: #333;">{{userInfo.name}}</span>
|
||||
<span style="padding-left: 10px;color: #888888;font-size: 12px;cursor: pointer;">
|
||||
<el-link @click="toPage('/user/Setting')" icon="el-icon-setting" type="info" :underline="false">个人设置</el-link>
|
||||
</span>
|
||||
</div>
|
||||
<div style="height: 35px;padding-left: 5px;color:#7a7a7a;">
|
||||
<span style="color: #7a7a7a;padding-right: 15px;" v-if="orgInfo">{{orgInfo}}</span>
|
||||
目前海没有实时更新的策略,暂未处理
|
||||
<span>学习时长:{{userInfo.studyTotalH}}小时</span>
|
||||
</div>
|
||||
<div>
|
||||
<router-link to="/study/index"><span :class="{identity:true,active:curIdentity==1}" @click="setCurIdentity(1)">学员</span></router-link>
|
||||
<router-link to="/teacher/index"><span v-if="identity == 2 || identity == 5" :class="{identity:true,active:curIdentity==2}" @click="setCurIdentity(2)">教师</span></router-link>
|
||||
<router-link to="/manager/index"><span v-if="identity == 3 || identity == 5" :class="{identity:true,active:curIdentity==3}" @click="setCurIdentity(3)">管理员</span></router-link>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- <div style="display: flex;justify-content: flex-end;padding-top: 35px;"> -->
|
||||
<!-- q1没有课程表,所以这里先隐藏
|
||||
<div v-if="curIdentity==2" style="padding: 0px 40px 0px 0px;color: #1EA0FA;text-align: center;">
|
||||
<div><i style="font-size: 40px;" class="el-icon-date"></i> <br/>授课表</div>
|
||||
</div>
|
||||
-->
|
||||
<!---->
|
||||
<!-- <div>
|
||||
<div tabindex="1" class="upicon" @click="toPage('/user/myshare')">
|
||||
<i class="el-icon-share"></i>
|
||||
<div>我分享的</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div tabindex="2" class="upicon" @click="toPage('/user/toshare')">
|
||||
<i class="el-icon-s-promotion"></i>
|
||||
<div>分享给我的</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div tabindex="3" class="upicon" @click="toPage('/user/favorites')">
|
||||
<i class="el-icon-star-on"></i>
|
||||
<div>我的收藏</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -184,7 +134,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
this.uinfo.uCurrency = item.total;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
setCurIdentity(iden){
|
||||
@@ -254,7 +204,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.medalbutt{
|
||||
color: #333333;
|
||||
font-size: 14px;
|
||||
@@ -262,10 +212,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
// float: left;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.personalData{
|
||||
|
||||
|
||||
flex: 1;
|
||||
padding-top: 40px;
|
||||
padding-left: 115px;
|
||||
|
||||
Reference in New Issue
Block a user