This commit is contained in:
lmj
2022-10-13 17:25:30 +08:00
parent 5bb3c75608
commit f8f71f6bb4

View File

@@ -47,7 +47,7 @@
<div class="modules xcontent2"> <div class="modules xcontent2">
<div class="xcontent2-main"> <div class="xcontent2-main">
<!--内容块--> <!--内容块-->
<div class="modules-title"> <div class="modules-title" >
<span class="modules-text">推荐课程</span> <span class="modules-text">推荐课程</span>
<span class="quyer-tag"> <span class="quyer-tag">
<a :class="courseList.orderType == 2 ? 'current' : ''" @click="orderTypeFilter(2)">最热</a> <a :class="courseList.orderType == 2 ? 'current' : ''" @click="orderTypeFilter(2)">最热</a>
@@ -180,7 +180,8 @@
</p> </p>
</div> </div>
<div class="case-inter"> <div class="case-inter">
<div> <div class="case-inter-box">
<div class="case-inter-left">
<authorInfo :avatar="ca.authorInfo.avatar" :info="ca.authorInfo.orgInfo" :name="ca.authorInfo.name" <authorInfo :avatar="ca.authorInfo.avatar" :info="ca.authorInfo.orgInfo" :name="ca.authorInfo.name"
:sex="ca.authorInfo.sex"></authorInfo> :sex="ca.authorInfo.sex"></authorInfo>
</div> </div>
@@ -189,6 +190,8 @@
<interactBar :type="3" :readonly="true" :comments="false" :praises="false" :favorites="false" <interactBar :type="3" :readonly="true" :comments="false" :praises="false" :favorites="false"
:data="ca" :shares="false" :views="true"></interactBar>人观看 :data="ca" :shares="false" :views="true"></interactBar>人观看
</div> </div>
</div>
<!-- --> <!-- -->
</div> </div>
</div> </div>
@@ -212,7 +215,7 @@
<!-- 推荐文章 --> <!-- 推荐文章 -->
<div class="modules xcontent2"> <div class="modules xcontent2">
<div class="xcontent2-main"> <div class="xcontent2-main">
<div class="modules-title"> <div class="modules-title" style="margin-top:22px">
<span class="modules-text">推荐文章</span> <span class="modules-text">推荐文章</span>
<span class="quyer-tag"> <span class="quyer-tag">
<a :class="articleList.orderType == 2 ? 'current' : ''" @click="changeArticleOrder(2)">最热</a> <a :class="articleList.orderType == 2 ? 'current' : ''" @click="changeArticleOrder(2)">最热</a>
@@ -319,7 +322,7 @@
<div class="modules xcontent2"> <div class="modules xcontent2">
<div class="xcontent2-main"> <div class="xcontent2-main">
<!--内容块--> <!--内容块-->
<div class="modules-title"> <div class="modules-title" style="margin-top:22px">
<span class="modules-text">推荐问答</span> <span class="modules-text">推荐问答</span>
<span class="quyer-tag"> <span class="quyer-tag">
<a :class="qaList.orderType == 'praises' ? 'current' : ''" @click="changeQaOrder('praises')">最热</a> <a :class="qaList.orderType == 'praises' ? 'current' : ''" @click="changeQaOrder('praises')">最热</a>
@@ -545,7 +548,7 @@
}, },
getAnkingData() { // 文章排行榜 getAnkingData() { // 文章排行榜
apiIndex.articleViews(7).then(res => { apiIndex.articleViews(10).then(res => {
if (res.status == 200) { if (res.status == 200) {
this.ankingList = res.result; this.ankingList = res.result;
} }
@@ -1227,13 +1230,19 @@
.case-inter { .case-inter {
position: absolute; position: absolute;
// left: 30px; width: 100%;
// bottom: 30px; .case-inter-box{
display: flex; display: flex;
// ::v-deep .el-avatar--small{ margin-right: 35px;
// width: 32px;
// height: 32px; .case-inter-left{
// } flex: 1;
}
.interact-bar-index{
margin-left: auto;
}
}
} }
.case-top { .case-top {