mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
增加
This commit is contained in:
@@ -41,11 +41,20 @@
|
||||
<el-dropdown-item command="three" divided>管理者进阶</el-dropdown-item>
|
||||
<el-dropdown-item command="four" divided>U选小课堂</el-dropdown-item>
|
||||
<el-dropdown-item command="five" divided>社招新员工</el-dropdown-item>
|
||||
<el-dropdown-item command="six" divided>贡献者专区</el-dropdown-item>
|
||||
<!-- <el-dropdown-item command="six" divided>贡献者专区</el-dropdown-item> -->
|
||||
<el-dropdown-item command="seven" divided>教师专区</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
<div class="top-nav">
|
||||
<el-dropdown placement="bottom" @command="handleContributor">
|
||||
<span class="el-dropdown-link" style="font-size:16px;cursor: pointer;" :style="{color:textColor}">贡献者专区</span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="one">2023贡献者大会</el-dropdown-item>
|
||||
<el-dropdown-item command="two" divided>2022贡献者大会</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
||||
<div class="top-nav" :style="{color:textColor}" :class="current == 'follow' ? activeNav : ''">
|
||||
<router-link to="/follow">我的关注
|
||||
@@ -230,6 +239,14 @@ export default {
|
||||
// }
|
||||
// });
|
||||
},
|
||||
handleContributor(val){
|
||||
let urlPre = window.location.protocol + "//" + window.location.host;
|
||||
let obj = {
|
||||
one: urlPre + "/web/contributornew/index",
|
||||
two: urlPre + "/web/contributor/index",
|
||||
};
|
||||
window.open(obj[val]);
|
||||
},
|
||||
handleCommand(val) {
|
||||
if (val === "four") {
|
||||
this.$emit('showClass',true)
|
||||
|
||||
Reference in New Issue
Block a user