Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education-web
比较版本
cdfad4060cef836e3a97f4729e3bb0b8a91cded2...079db06f2c983cabc7c68d9d94659ec06f1ac25b
R
roncoo-education-web
项目概览
roncoo
/
roncoo-education-web
9 个月 前同步成功
通知
98
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education-web
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
079db06f2c983cabc7c68d9d94659ec06f1ac25b
选择Git版本
...
目标分支
cdfad4060cef836e3a97f4729e3bb0b8a91cded2
选择Git版本
比较
Commits (3)
https://gitcode.net/roncoocom/roncoo-education-web/-/commit/83469391bf011abec13b23dda63f7cd75d7956e9
评论分页
2023-11-25T11:40:47+08:00
水边哇
690713167@qq.com
https://gitcode.net/roncoocom/roncoo-education-web/-/commit/7758ca4ba0e7be791f435a161078eabf579ac55d
去除底部文字
2023-11-25T11:41:22+08:00
水边哇
690713167@qq.com
https://gitcode.net/roncoocom/roncoo-education-web/-/commit/079db06f2c983cabc7c68d9d94659ec06f1ac25b
无数据处理
2023-11-25T11:45:48+08:00
水边哇
690713167@qq.com
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
3 deletion
+8
-3
components/course/Comment.vue
components/course/Comment.vue
+8
-3
未找到文件。
components/course/Comment.vue
浏览文件 @
079db06f
...
...
@@ -13,12 +13,12 @@
<div
class=
"course_comment_btn"
><div
class=
"course_comment_time"
>
{{
comment
.
gmtCreate
}}
</div></div>
</div>
</div>
<div
class=
"loading_btn"
>
<span
class=
"loading_text"
>
已经到底部,没有更多内容了
</span>
<div
v-if=
"!pageObj.list || pageObj.list.length === 0"
class=
"loading_btn"
>
<span
class=
"loading_text"
>
暂无数据
</span>
</div>
</div>
</div>
<d-page
v-if=
"pageObj.totalPage > 1"
:page=
"pageObj"
@
btnClick=
"get
CommentList
"
/>
<d-page
v-if=
"pageObj.totalPage > 1"
:page=
"pageObj"
@
btnClick=
"get
Page
"
/>
</div>
</
template
>
...
...
@@ -79,6 +79,11 @@ export default {
}
})
},
getPage
(
int
)
{
window
.
scrollTo
(
0
,
0
)
this
.
pageObj
.
pageCurrent
=
int
this
.
getCommentList
()
},
getCommentList
()
{
courseCommentPage
({
courseId
:
this
.
id
,
pageCurrent
:
this
.
pageObj
.
pageCurrent
}).
then
(
res
=>
{
this
.
pageObj
=
res
...
...