This commit is contained in:
nisen
2023-09-04 18:11:20 +08:00
parent 61c8e18eeb
commit ce06d6204a
3 changed files with 6 additions and 8 deletions

View File

@@ -233,11 +233,7 @@ export default {
handleCommand(val) {
if (val === "four") {
this.$emit('showClass',true)
} else if(val === "seven"){
this.$router.push({
path:'/grateful'
})
} else {
} else {
let urlPre = window.location.protocol + "//" + window.location.host;
// process.env.VUE_APP_BOE_WEB_URL
let obj = {
@@ -247,6 +243,7 @@ export default {
// four: 'https://m.qingxuetang.com/x/?appId=qxtcorp306130',
five: urlPre + "/boe/new-employee/index.html",
six: urlPre + "/web/contributor/index",
seven:this.webBaseUrl + '/grateful'
};
window.open(obj[val]);
}

View File

@@ -43,7 +43,7 @@
<div class="portal-ranking ranking-bg" style="height: 100%;">
<div style="display: flex;justify-content: space-between;">
<p class="ranking-title">通知</p>
<router-link to="/grateful/gratefulNotice" style="font-size: 14px;">查看更多</router-link>
<router-link v-if="courseList.noticeList.length >= 6" to="/grateful/gratefulNotice" style="font-size: 14px;">查看更多</router-link>
</div>
<ul>
<li v-for="(item, index) in courseList.noticeList" :key="index"
@@ -69,7 +69,8 @@
<div class="portal-ranking ranking-bg1" style="height: 100%;">
<div style="display: flex;justify-content: space-between;">
<p class="ranking-title">工具下载</p>
<router-link to="/grateful/toolDown" style="font-size: 14px;">查看更多</router-link>
<router-link v-if="courseList.toolList.length >= 6" to="/grateful/toolDown"
style="font-size: 14px;">查看更多</router-link>
</div>
<ul>
<li v-for="(item, index) in courseList.toolList" :key="index"

View File

@@ -140,7 +140,7 @@ export default {
}
.modules-list {
// min-height: 555px;
min-height: 667px;
background: #ffffff;
border-radius: 8px;