|
@@ -31,7 +31,7 @@
|
|
<!-- {{ contentObj.contents }} -->
|
|
<!-- {{ contentObj.contents }} -->
|
|
<p
|
|
<p
|
|
v-if="contentObj.type == 'ARTICLE'"
|
|
v-if="contentObj.type == 'ARTICLE'"
|
|
- class="p-content"
|
|
|
|
|
|
+ class="learn-content-body-description-txt p-content"
|
|
v-html="contentObj.contents"
|
|
v-html="contentObj.contents"
|
|
@click="showImg($event)"
|
|
@click="showImg($event)"
|
|
>
|
|
>
|
|
@@ -156,6 +156,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-if="commentNoMore" class="learn-content-comment-nomore">
|
|
|
|
+ 没有更多了
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 发布评论 -->
|
|
<!-- 发布评论 -->
|
|
@@ -212,7 +215,8 @@ export default {
|
|
xlsx: require("@/assets/image/learn/xlsx.png"),
|
|
xlsx: require("@/assets/image/learn/xlsx.png"),
|
|
text: require("@/assets/image/learn/text.png")
|
|
text: require("@/assets/image/learn/text.png")
|
|
},
|
|
},
|
|
- loading: true
|
|
|
|
|
|
+ loading: true,
|
|
|
|
+ commentNoMore: false // 是否没有更多数据了
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -273,6 +277,7 @@ export default {
|
|
// 查询:评论列表内容
|
|
// 查询:评论列表内容
|
|
getCommentListFun() {
|
|
getCommentListFun() {
|
|
// !!!需要查询评论列表内容!!!
|
|
// !!!需要查询评论列表内容!!!
|
|
|
|
+ this.commentNoMore = false;
|
|
let path = {
|
|
let path = {
|
|
materialId: this.materialId
|
|
materialId: this.materialId
|
|
};
|
|
};
|
|
@@ -289,6 +294,7 @@ export default {
|
|
// 分页到底了
|
|
// 分页到底了
|
|
if (res.data.last) {
|
|
if (res.data.last) {
|
|
this.canCommentFlag = false;
|
|
this.canCommentFlag = false;
|
|
|
|
+ this.commentNoMore = true;
|
|
} else {
|
|
} else {
|
|
this.canCommentFlag = true;
|
|
this.canCommentFlag = true;
|
|
}
|
|
}
|
|
@@ -566,7 +572,7 @@ export default {
|
|
.learn-content-body {
|
|
.learn-content-body {
|
|
padding: 0.5rem 1rem;
|
|
padding: 0.5rem 1rem;
|
|
.learn-content-body-title {
|
|
.learn-content-body-title {
|
|
- font-size: 0.7rem;
|
|
|
|
|
|
+ font-size: 1.1rem;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
@@ -581,6 +587,9 @@ export default {
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
word-wrap: break-word;
|
|
letter-spacing: 0.2rem;
|
|
letter-spacing: 0.2rem;
|
|
|
|
+ .learn-content-body-description-txt {
|
|
|
|
+ font-size: 0.8rem;
|
|
|
|
+ }
|
|
.imgDolg {
|
|
.imgDolg {
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
overflow-x: scroll;
|
|
overflow-x: scroll;
|
|
@@ -742,6 +751,13 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .learn-content-comment-nomore {
|
|
|
|
+ width: 100%;
|
|
|
|
+ color: #969799;
|
|
|
|
+ font-size: 0.63636rem;
|
|
|
|
+ line-height: 2.27273rem;
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.learn-content-post-comment {
|
|
.learn-content-post-comment {
|