修改组件引入
parent
1196ac3e68
commit
f7e25449b2
|
|
@ -117,7 +117,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="comment_item.show_sub_comment_loading">
|
<template v-if="comment_item.show_sub_comment_loading">
|
||||||
<loading-component :style="window_more_style"></loading-component>
|
<component-loading :style="window_more_style"></component-loading>
|
||||||
</template>
|
</template>
|
||||||
<view v-else class="sub-comment-more flex-row align-c">
|
<view v-else class="sub-comment-more flex-row align-c">
|
||||||
<template v-if="comment_item.page != null && comment_item.page < comment_item.page_total">
|
<template v-if="comment_item.page != null && comment_item.page < comment_item.page_total">
|
||||||
|
|
@ -270,9 +270,9 @@
|
||||||
const app = getApp();
|
const app = getApp();
|
||||||
import { get_math, isEmpty, video_get_top_left_padding, showToast } from '@/common/js/common/common.js';
|
import { get_math, isEmpty, video_get_top_left_padding, showToast } from '@/common/js/common/common.js';
|
||||||
import commentInfoComponent from '@/pages/plugins/video/components/comment-info.vue';
|
import commentInfoComponent from '@/pages/plugins/video/components/comment-info.vue';
|
||||||
import ComponentLoading from '@/pages/plugins/video/components/loading.vue';
|
import componentLoading from '@/pages/plugins/video/components/loading.vue';
|
||||||
import commentMoreComponent from '@/pages/plugins/video/components/comment-more.vue';
|
import commentMoreComponent from '@/pages/plugins/video/components/comment-more.vue';
|
||||||
import ComponentSearch from '@/pages/plugins/video/components/search.vue';
|
import componentSearch from '@/pages/plugins/video/components/search.vue';
|
||||||
import componentNoData from '@/components/no-data/no-data';
|
import componentNoData from '@/components/no-data/no-data';
|
||||||
import componentBottomLine from '@/components/bottom-line/bottom-line';
|
import componentBottomLine from '@/components/bottom-line/bottom-line';
|
||||||
import componentUpload from '@/components/upload/upload';
|
import componentUpload from '@/components/upload/upload';
|
||||||
|
|
@ -357,10 +357,10 @@
|
||||||
components: {
|
components: {
|
||||||
commentInfoComponent,
|
commentInfoComponent,
|
||||||
commentMoreComponent,
|
commentMoreComponent,
|
||||||
ComponentSearch,
|
componentSearch,
|
||||||
componentNoData,
|
componentNoData,
|
||||||
componentBottomLine,
|
componentBottomLine,
|
||||||
ComponentLoading,
|
componentLoading,
|
||||||
componentUpload
|
componentUpload
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<template v-if="comment_item.show_sub_comment_loading">
|
<template v-if="comment_item.show_sub_comment_loading">
|
||||||
<loading-component></loading-component>
|
<component-loading></component-loading>
|
||||||
</template>
|
</template>
|
||||||
<view v-else class="sub-comment-more flex-row align-c gap-10">
|
<view v-else class="sub-comment-more flex-row align-c gap-10">
|
||||||
<template v-if="comment_item.page != null && comment_item.page < comment_item.page_total">
|
<template v-if="comment_item.page != null && comment_item.page < comment_item.page_total">
|
||||||
|
|
@ -1223,7 +1223,7 @@
|
||||||
this.is_add_comment = false;
|
this.is_add_comment = false;
|
||||||
//关闭键盘
|
//关闭键盘
|
||||||
uni.hideKeyboard();
|
uni.hideKeyboard();
|
||||||
|
|
||||||
const new_data = data.data;
|
const new_data = data.data;
|
||||||
// 没有回复时的评论
|
// 没有回复时的评论
|
||||||
if (new_video_comments_id == 0) {
|
if (new_video_comments_id == 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue