mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 17:26:43 +08:00
提交
This commit is contained in:
@@ -102,46 +102,46 @@
|
||||
<div class="ranking-card portal-right-box list-bg">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">好评榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in Positive" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text blue-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in Positive" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px;line-height: 22px;">
|
||||
<span class="portal-right-text blue-one" v-if="index==0">
|
||||
<img src="/images/listblue01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-tow" v-if="index==1">
|
||||
<img src="/images/listblue02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-three" v-if="index==2">
|
||||
<img src="/images/listblue03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.title }}</span>
|
||||
<span class="portal-title-desc" style="font-size: 14px;">{{ item.title }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="margin-top:26px" class="ranking-card portal-right-box list-bg1">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">人气榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in Popularity" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in Popularity" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px;line-height: 22px;">
|
||||
<span class="portal-right-text orange-one" v-if="index==0">
|
||||
<img src="/images/list-01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-tow" v-if="index==1">
|
||||
<img src="/images/list02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-three" v-if="index==2">
|
||||
<img src="/images/list03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.title }}</span>
|
||||
<span class="portal-title-desc" style="font-size: 14px;">{{ item.title }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -99,7 +99,6 @@
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="item.orgDomain">{{ orgDomainTranslate(item.orgDomain) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-if="item.orgDomain == '' && item.orgDomainParent">{{ orgDomainTranslate(item.orgDomainParent) }}</div>
|
||||
<div style="color:#2974D6;font-weight: 450;" v-for="item,idx in item.majorType" :key="idx" >{{ majorTypeTranslate(item) }}</div>
|
||||
|
||||
<div v-if="item.keyword1">{{ item.keyword1 }}</div>
|
||||
<div v-if="item.keyword2">{{ item.keyword2 }}</div>
|
||||
<div v-if="item.keyword3">{{ item.keyword3 }}</div>
|
||||
@@ -141,46 +140,46 @@
|
||||
<div class="ranking-card portal-right-box list-bg">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">好评榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in Positive" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text blue-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in Positive" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px;line-height: 22px;">
|
||||
<span class="portal-right-text blue-one" v-if="index==0">
|
||||
<img src="/images/listblue01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-tow" v-if="index==1">
|
||||
<img src="/images/listblue02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-three" v-if="index==2">
|
||||
<img src="/images/listblue03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.title }}</span>
|
||||
<span class="portal-title-desc" style="font-size: 14px;">{{ item.title }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="margin-top:26px" class="ranking-card portal-right-box list-bg1">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">人气榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in Popularity" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in Popularity" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px;line-height: 22px;">
|
||||
<span class="portal-right-text orange-one" v-if="index==0">
|
||||
<img src="/images/list-01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-tow" v-if="index==1">
|
||||
<img src="/images/list02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-three" v-if="index==2">
|
||||
<img src="/images/list03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.title }}</span>
|
||||
<span class="portal-title-desc" style="font-size: 14px;">{{ item.title }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="xcontent portal-content">
|
||||
<div class="xrow" style="display: flex;justify-content: space-between;">
|
||||
<div style="flex: 1;margin-right:0px" class="xcol content-div">
|
||||
<el-row class="search-div" style="margin-right:0px">
|
||||
<el-row class="search-div" style="margin-right:36px">
|
||||
<div class="searchbar" v-if="searchTags.length > 0">
|
||||
<div style="line-height: 30px;">
|
||||
<span class="item-title"> 搜索条件</span>
|
||||
@@ -122,72 +122,82 @@
|
||||
<div class="ranking-card portal-right-box list-bg">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">好评榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in scorelist" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text blue-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in scorelist" :key="index" style="cursor: pointer;margin-top:24px;line-height: 30px;display: flex;">
|
||||
<span class="portal-right-text blue-one" v-if="index==0">
|
||||
<img src="/images/listblue01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-tow" v-if="index==1">
|
||||
<img src="/images/listblue02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text blue-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text blue-three" v-if="index==2">
|
||||
<img src="/images/listblue03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.name }}</span>
|
||||
<span class="portal-title-desc title-line-ellipsis" v-if="item.images == ''" style="font-size: 14px;">{{ item.name }}</span>
|
||||
<span class="portal-title-desc" v-else style="font-size: 14px;">
|
||||
<img style="width:96px;height:52px" :src="fileBaseUrl + item.images" alt=""/>
|
||||
<span class="portal-images-title two-line-ellipsis">{{ item.name }}</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="margin-top:26px" class="ranking-card portal-right-box list-bg1">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">人气榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in ankingList" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in ankingList" :key="index" style="cursor: pointer;margin-top:24px;line-height: 30px;display: flex;">
|
||||
<span class="portal-right-text orange-one" v-if="index==0">
|
||||
<img src="/images/list-01.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-tow" v-if="index==1">
|
||||
<img src="/images/list02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-three" v-if="index==2">
|
||||
<img src="/images/list03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.name }}</span>
|
||||
<span class="portal-title-desc title-line-ellipsis" v-if="item.images == ''" style="font-size: 14px;">{{ item.name }}</span>
|
||||
<span class="portal-title-desc" v-else style="font-size: 14px;">
|
||||
<img style="width:96px;height:52px" :src="fileBaseUrl + item.images" alt=""/>
|
||||
<span class="portal-images-title two-line-ellipsis">{{ item.name }}</span>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div style="margin-top:26px" class="ranking-card portal-right-box list-bg2">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">热度榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in hotList" :key="index" class="title-line-ellipsis" style="cursor: pointer;margin-top:30px">
|
||||
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">
|
||||
<li v-for="(item, index) in hotList" :key="index" style="cursor: pointer;margin-top:24px;line-height: 30px;display: flex;">
|
||||
<span class="portal-right-text orange-one" v-if="index==0">
|
||||
<img src="/images/listred01 .png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-tow" v-if="index==1" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-tow" v-if="index==1">
|
||||
<img src="/images/listred02.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text orange-three" v-if="index==2" style="margin-right:94px">
|
||||
<span class="portal-right-text orange-three" v-if="index==2">
|
||||
<img src="/images/listred03.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==3" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==3">
|
||||
<img src="/images/list04.png" alt="">
|
||||
</span>
|
||||
<span class="portal-right-text" v-if="index==4" style="margin-right:94px">
|
||||
<span class="portal-right-text" v-if="index==4">
|
||||
<img src="/images/list05.png" alt="">
|
||||
</span>
|
||||
<span class="portal-title-desc" style="font-size: 18px;">{{ item.courseName }}</span>
|
||||
<span class="portal-title-desc title-line-ellipsis" v-if="item.images == ''" style="font-size: 14px;">{{ item.courseName }}</span>
|
||||
<span class="portal-title-desc" v-else style="font-size: 14px;">
|
||||
<img style="width:96px;height:52px" :src="fileBaseUrl + item.images" alt=""/>
|
||||
<span class="portal-images-title two-line-ellipsis">{{ item.courseName }}</span>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -820,7 +830,7 @@ export default {
|
||||
}
|
||||
.course-card {
|
||||
padding: 30px;
|
||||
padding-bottom: 14px;
|
||||
padding-bottom: 18px;
|
||||
margin-bottom: 36px;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
@@ -932,7 +942,7 @@ export default {
|
||||
.course-title {
|
||||
height: 44px;
|
||||
// margin: 10px 0;
|
||||
margin: 12px 0 16px 0px;
|
||||
margin: 16px 0 20px 0px;
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
|
||||
@@ -10,10 +10,6 @@
|
||||
<div style="flex: 1;" class="xcol content-div">
|
||||
<el-row>
|
||||
<el-card :body-style="{ padding: '0px' }" class="left-div">
|
||||
<!-- <el-row class="search-div">
|
||||
<el-col>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
<el-row class="order-div">
|
||||
<span class="quyer-tag">
|
||||
<el-button type="text" class="order-class" @click="orderFieldData('answers')" :class="{ actice: styleControl == 2 }">
|
||||
@@ -22,7 +18,6 @@
|
||||
<el-button type="text" class="order-class" @click="orderFieldData('')" :class="{ actice: styleControl == 1 }">
|
||||
最新
|
||||
</el-button>
|
||||
|
||||
<el-button type="text" @click="setEssence(queryConditions.isEssence)" class="order-class" :class="{ actice: styleControl == 3 }">精华问题</el-button>
|
||||
</span>
|
||||
<span class="quyer-tag">
|
||||
@@ -46,7 +41,7 @@
|
||||
<span v-html="$keywordActiveShow(qa.title,queryKeyWord)"></span>
|
||||
</div>
|
||||
<div class="portal-time">
|
||||
<i class="el-icon-time"></i> {{qa.sysCreateTime}}
|
||||
<i class="el-icon-time" style="margin-right:4px"></i> {{qa.sysCreateTime}}
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: flex;">
|
||||
@@ -84,13 +79,13 @@
|
||||
<!-- <div> -->
|
||||
<div style="padding:0" id="qa-fixd">
|
||||
<div class="portal-model-btn" @click="$refs.addQuestion.askQuestionDialog = true">
|
||||
<svg-icon style="margin-right: 0;font-size: 24px;" icon-class="question-mark"></svg-icon>
|
||||
<svg-icon style="margin-right: 0;font-size: 24px;" icon-class="time"></svg-icon>
|
||||
提问题
|
||||
</div>
|
||||
<div class="portal-right-box list-bg">
|
||||
<p class="portal-title-one" style="padding-bottom:12px">贡献榜</p>
|
||||
<ul>
|
||||
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px">
|
||||
<li v-for="(item, index) in ankingList" :key="index" style="margin-top:30px;line-height: 22px;">
|
||||
<span class="portal-right-text orange-one" v-if="index==0" style="margin-right:94px">
|
||||
<img src="/images/list-01.png" alt="">
|
||||
</span>
|
||||
@@ -421,9 +416,8 @@ export default {
|
||||
height: 240px;
|
||||
background: url('/images/qa-banner.png');
|
||||
}
|
||||
|
||||
::v-deep .el-card__body{
|
||||
padding: 0;
|
||||
.el-card{
|
||||
border: none;
|
||||
}
|
||||
::v-deep .bacolor:nth-child(odd){
|
||||
background-color: #fff;
|
||||
@@ -488,9 +482,9 @@ export default {
|
||||
.left-div {
|
||||
.quyer-tag {
|
||||
.order-class{
|
||||
padding:0px 12px;
|
||||
padding:4px 8px;
|
||||
color: #6E7B84;
|
||||
line-height: 32px;
|
||||
line-height: 20px;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user