Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-12 12:27:22 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8af2dbf641ddc4ddab86837b3853cda08b1503c0
8af2dbf6
1 parent
1bd92195
fix
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
5 deletions
src/components/AuditVideoCard/index.vue
src/components/CommentList/index.vue
src/views/client/videoDetail.vue
src/views/client/videoDetailComment.vue
src/views/me/handleUser.vue
src/components/AuditVideoCard/index.vue
View file @
8af2dbf
...
...
@@ -87,6 +87,7 @@ export default {
created() {
},
mounted() {
// TAG: 视频组件控制
setTimeout(() => {
var mp = new MuiPlayer({
container: '#mui-player-' + this.item.id,
...
...
src/components/CommentList/index.vue
View file @
8af2dbf
...
...
@@ -160,6 +160,7 @@ const onLoad = () => {
.then(res => {
if (res.data.code === 1) {
replyList.value = _.concat(replyList.value, res.data.data.replylist);
replyList.value = _.uniqBy(replyList.value, 'id');
offset.value = replyList.value.length;
loading.value = false;
// 数据全部加载完成
...
...
@@ -232,4 +233,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
...
...
src/views/client/videoDetail.vue
View file @
8af2dbf
...
...
@@ -60,7 +60,7 @@ const getUserInfo = () => {
const active = ref(0); // index 0 为简介,1 为留言
const onClickTab = ({ title }) => {
console.warn(title);
//
console.warn(title);
};
// 监听路由变化
watch(() => $route.path, (v) => {
...
...
@@ -162,4 +162,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
...
...
src/views/client/videoDetailComment.vue
View file @
8af2dbf
...
...
@@ -95,6 +95,7 @@ const onLoad = () => {
.then(res => {
if (res.data.code === 1) {
commentList.value = _.concat(commentList.value, res.data.data);
commentList.value = _.uniqBy(commentList.value, 'id');
offset.value = commentList.value.length;
loading.value = false;
// 数据全部加载完成
...
...
@@ -312,4 +313,4 @@ export default {
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.06);
}
}
</style>
\ No newline at end of file
</style>
...
...
src/views/me/handleUser.vue
View file @
8af2dbf
...
...
@@ -77,6 +77,7 @@ let user_info = reactive({
// 保存用户信息
const saveInfo = () => {
// TODO: 需要一个修改儿童信息的接口
let url = $route.query.type === 'Add' ? 'add_performer' : 'add_performer';
axios.post(`/srv/?a=${url}`, {
kg_id: user_info.kg_id,
...
...
@@ -149,4 +150,4 @@ export default {
}
}
}
</style>
\ No newline at end of file
</style>
...
...
Please
register
or
login
to post a comment