mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
文章问答
This commit is contained in:
@@ -49,11 +49,12 @@
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
<div>
|
||||
<div id="articleAnking">
|
||||
<div class="portal-model-btn pointer" @click="openDialog">
|
||||
<svg-icon style="margin-right: 10px;font-size: 24px;" icon-class="addArticle"></svg-icon>
|
||||
写文章
|
||||
</div>
|
||||
<div id="articleAnking">
|
||||
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">贡献榜</p>
|
||||
<ul class="ranking-data">
|
||||
|
||||
@@ -67,13 +67,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
<div>
|
||||
<div id="articleAnking">
|
||||
<div>
|
||||
<div class="portal-model-btn pointer" @click="openDialog">
|
||||
<svg-icon style="margin-right: 10px;font-size: 24px;" icon-class="addArticle"></svg-icon>
|
||||
写文章
|
||||
</div>
|
||||
<div id="articleAnking">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">贡献榜</p>
|
||||
|
||||
@@ -223,12 +223,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
|
||||
<div class="qa-ranking">
|
||||
<div class="portal-model-btn pointer" @click="$refs.addQuestion.askQuestionDialog = true">
|
||||
<svg-icon style="margin-right: 0;font-size: 24px;" icon-class="question-mark"></svg-icon>
|
||||
提问题
|
||||
</div>
|
||||
<div class="qa-ranking">
|
||||
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">贡献榜</p>
|
||||
<ul class="ranking-data">
|
||||
|
||||
@@ -45,7 +45,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: flex;justify-content:space-between;">
|
||||
<div class="qa-info-summary portal-summary-text two-line-ellipsis" @click="jumpDetail(qa)" v-html="$keywordActiveShow(qa.content,queryKeyWord)"></div>
|
||||
<div class="qa-info-summary portal-summary-text" :class="qa.images==''? 'two-line-ellipsis':'four-line-ellipsis'" @click="jumpDetail(qa)" v-html="$keywordActiveShow(qa.content,queryKeyWord)">
|
||||
|
||||
</div>
|
||||
<div style="cursor: pointer; text-align: right;cursor: pointer;" v-if="qa.images!==''" @click="jumpDetail(qa)">
|
||||
<img style="width: 156px;height: 105px;border-radius: 4px;margin-left: 18px;" :src="fileBaseUrl + qa.images" alt="">
|
||||
</div>
|
||||
@@ -75,11 +77,12 @@
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
<!-- <div> -->
|
||||
<div style="padding:0" id="qa-fixd">
|
||||
<div class="portal-model-btn pointer" @click="$refs.addQuestion.askQuestionDialog = true">
|
||||
<svg-icon style="margin-right: 0;font-size: 24px;" icon-class="question-mark"></svg-icon>
|
||||
提问题
|
||||
</div>
|
||||
<div style="padding:0" id="qa-fixd">
|
||||
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">贡献榜</p>
|
||||
<ul class="ranking-data">
|
||||
@@ -447,6 +450,17 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.four-line-ellipsis{
|
||||
display: -webkit-box;
|
||||
// white-space:pre-wrap;
|
||||
overflow: hidden;
|
||||
line-height: 25px;
|
||||
text-overflow:ellipsis;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 4;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
::v-deep.el-input__inner {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user