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

View File

@@ -43,7 +43,7 @@
<div class="portal-ranking ranking-bg" style="height: 100%;"> <div class="portal-ranking ranking-bg" style="height: 100%;">
<div style="display: flex;justify-content: space-between;"> <div style="display: flex;justify-content: space-between;">
<p class="ranking-title">通知</p> <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> </div>
<ul> <ul>
<li v-for="(item, index) in courseList.noticeList" :key="index" <li v-for="(item, index) in courseList.noticeList" :key="index"
@@ -69,7 +69,8 @@
<div class="portal-ranking ranking-bg1" style="height: 100%;"> <div class="portal-ranking ranking-bg1" style="height: 100%;">
<div style="display: flex;justify-content: space-between;"> <div style="display: flex;justify-content: space-between;">
<p class="ranking-title">工具下载</p> <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> </div>
<ul> <ul>
<li v-for="(item, index) in courseList.toolList" :key="index" <li v-for="(item, index) in courseList.toolList" :key="index"

View File

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