mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 01:36:44 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into stat
This commit is contained in:
@@ -136,6 +136,7 @@
|
||||
<div class="course-author">
|
||||
<div class="course-author-left">
|
||||
{{ course.authorInfo.name }}
|
||||
|
||||
<span class="study-num" >{{formatNum(course.studys)}}人学习</span>
|
||||
</div>
|
||||
<div style="display: flex;">
|
||||
@@ -222,9 +223,9 @@
|
||||
<div class="case-inter-left">
|
||||
<authorInfo :avatar="ca.authorInfo.avatar" :info="ca.authorInfo.orgInfo" :name="ca.authorInfo.name" :sex="ca.authorInfo.sex" :aid="userInfo.aid"></authorInfo>
|
||||
</div>
|
||||
<div class="interact-bar-index"
|
||||
<div v-if="caseList.orderType==2" class="interact-bar-index"
|
||||
style="font-size: 12px;color: #6E7B84;display: flex;line-height: 30px;">
|
||||
<interactBar :type="3" :readonly="true" :comments="false" :praises="false" :favorites="false" :data="ca" :shares="false" :views="true"></interactBar>人观看
|
||||
<interactBar :type="3" :readonly="true" :comments="false" :praises="false" :favorites="false" :data="ca" :shares="false" :views="true"></interactBar>人观看
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1118,8 +1119,8 @@
|
||||
background: #387DF7;
|
||||
border-radius: 4px;
|
||||
line-height: 47px;
|
||||
padding-left: 20px ;
|
||||
padding-right: 40px;
|
||||
padding-left: 15px ;
|
||||
padding-right: 32px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
// margin-top: 20px;
|
||||
@@ -1689,7 +1690,7 @@
|
||||
.study-num {
|
||||
font-size: 14px;
|
||||
color: #6E7B84;
|
||||
margin-left: 12px;
|
||||
// margin-left: 12px;
|
||||
-moz-user-select: none;
|
||||
/*火狐*/
|
||||
-webkit-user-select: none;
|
||||
|
||||
@@ -487,6 +487,7 @@
|
||||
this.$refs.followList.getPage();
|
||||
return
|
||||
}
|
||||
this.page.count = 0
|
||||
if(this.activeName == '8') {
|
||||
this.page.count = 0;
|
||||
// console.log(this.$refs.followList,'this.$refs.followList');
|
||||
|
||||
@@ -49,11 +49,12 @@
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
<div>
|
||||
<div id="articleAnking">
|
||||
<div class="portal-model-btn pointer" @click="openDialog">
|
||||
<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">
|
||||
|
||||
@@ -68,12 +68,13 @@
|
||||
</div>
|
||||
<div class="xcontent2-minor">
|
||||
<div>
|
||||
<div id="articleAnking">
|
||||
<div>
|
||||
<div class="portal-model-btn pointer" @click="openDialog">
|
||||
<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>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</el-tab-pane>
|
||||
-->
|
||||
</el-tabs>
|
||||
<div style="text-align: center; margin-top:57px;" v-show="page.count > 0 && activeName!='7'">
|
||||
<div style="text-align: center; margin-top:57px;" v-show="page.count > 0">
|
||||
<el-pagination
|
||||
background
|
||||
@size-change="handleSizeChange"
|
||||
@@ -457,16 +457,7 @@
|
||||
})
|
||||
},
|
||||
handleClick() {
|
||||
if(this.activeName == '7') {
|
||||
//单独的分页,所以这里不与当前页面的分页共用
|
||||
this.$refs.followList.resetActive();
|
||||
this.$refs.followList.getPage();
|
||||
return
|
||||
}
|
||||
if(this.activeName == '8') {
|
||||
this.page.count = 0;
|
||||
return
|
||||
}
|
||||
this.page.count = 0;
|
||||
this.getList();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
<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">
|
||||
<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