增加引入组件名称
parent
067e46e065
commit
fb159220ef
|
|
@ -76,7 +76,7 @@
|
|||
</view>
|
||||
<!-- #endif -->
|
||||
<view class="flex-1" :style="header_padding_left">
|
||||
<search-component propIsDisabled @disabledSearch="handle_search" :propsWidth="windowWidth" />
|
||||
<component-search propIsDisabled @disabledSearch="handle_search" :propsWidth="windowWidth" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
<template v-if="comment_item_loading">
|
||||
<cell>
|
||||
<view class="flex-row align-c jc-c" :style="window_more_style">
|
||||
<loading-component></loading-component>
|
||||
<component-loading></component-loading>
|
||||
</view>
|
||||
</cell>
|
||||
</template>
|
||||
|
|
@ -244,12 +244,11 @@
|
|||
const app = getApp();
|
||||
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 loadingComponent 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 searchComponent 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 componentBottomLine from '@/components/bottom-line/bottom-line';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import componentUpload from '@/components/upload/upload';
|
||||
import scrollMixins from './scrollMixins';
|
||||
// 多语言
|
||||
|
|
@ -316,7 +315,7 @@
|
|||
current_main_index: 0, // 默认选中第一个举报原因
|
||||
current_sub_index: 0, // 默认选中第一个具体类型
|
||||
report_comment_id: '', // 举报的评论id
|
||||
comment_value: '',
|
||||
comment_value: '',
|
||||
// 监听键盘高度变化事件
|
||||
is_add_comment: false,
|
||||
listener_height: 0,
|
||||
|
|
@ -332,11 +331,10 @@
|
|||
components: {
|
||||
commentInfoComponent,
|
||||
commentMoreComponent,
|
||||
searchComponent,
|
||||
ComponentSearch,
|
||||
componentNoData,
|
||||
componentBottomLine,
|
||||
componentPopup,
|
||||
loadingComponent,
|
||||
ComponentLoading,
|
||||
componentUpload
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -1319,7 +1317,7 @@
|
|||
if (e.detail.duration > 0) {
|
||||
duration = e.detail.duration;
|
||||
}
|
||||
// #endif
|
||||
// #endif
|
||||
|
||||
this.$set(this, 'current_video_duration', duration);
|
||||
this.$set(this, 'current_video_progress', e.detail.currentTime)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</view>
|
||||
<!-- #endif -->
|
||||
<view class="wh-auto ht-auto" :style="header_padding_left">
|
||||
<search-component propIsDisabled @disabledSearch="handle_search" />
|
||||
<component-search propIsDisabled @disabledSearch="handle_search" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -125,7 +125,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<template v-if="comment_item_loading">
|
||||
<loading-component></loading-component>
|
||||
<component-loading></component-loading>
|
||||
</template>
|
||||
<template v-else>
|
||||
<!-- 结尾 -->
|
||||
|
|
@ -238,9 +238,9 @@
|
|||
const app = getApp();
|
||||
import { get_math, isEmpty, video_get_top_left_padding } from '@/common/js/common/common.js';
|
||||
import commentInfoComponent from '@/pages/plugins/video/components/comment-info.vue';
|
||||
import loadingComponent 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 searchComponent from '@/pages/plugins/video/components/search.vue';
|
||||
import componentSearch from '@/pages/plugins/video/components/search.vue';
|
||||
import componentSharePopup from '@/components/share-popup/share-popup';
|
||||
import componentNoData from '@/components/no-data/no-data';
|
||||
import componentBottomLine from '@/components/bottom-line/bottom-line';
|
||||
|
|
@ -327,12 +327,12 @@
|
|||
components: {
|
||||
commentInfoComponent,
|
||||
commentMoreComponent,
|
||||
searchComponent,
|
||||
componentSearch,
|
||||
componentSharePopup,
|
||||
componentNoData,
|
||||
componentBottomLine,
|
||||
componentPopup,
|
||||
loadingComponent,
|
||||
componentLoading,
|
||||
componentUpload,
|
||||
componentCommon
|
||||
},
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</view>
|
||||
<!-- #endif -->
|
||||
<view class="wh-auto" :style="header_padding_left">
|
||||
<search-component propIsDisabled @disabledSearch="handle_search"/>
|
||||
<component-search propIsDisabled @disabledSearch="handle_search"/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import searchComponent 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 componentBottomLine from '@/components/bottom-line/bottom-line';
|
||||
import componentBanner from '@/components/slider/slider';
|
||||
|
|
@ -84,7 +84,7 @@ bar_height = 0;
|
|||
// #endif
|
||||
export default {
|
||||
components: {
|
||||
searchComponent,
|
||||
componentSearch,
|
||||
componentNoData,
|
||||
componentBottomLine,
|
||||
componentBanner,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
</view>
|
||||
<!-- #endif -->
|
||||
<view class="wh-auto ht-auto" :style="header_padding_left">
|
||||
<search-component :propSearchQuery="search_keywords" @search="handle_search" />
|
||||
<component-search :propSearchQuery="search_keywords" @search="handle_search" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<!-- 查看更多 -->
|
||||
<template v-if="search_history.length > show_search_history.length">
|
||||
<template v-if="is_view_more">
|
||||
<loadingComponent></loadingComponent>
|
||||
<component-loading></component-loading>
|
||||
</template>
|
||||
<template v-else>
|
||||
<view class="more-history-btn cp" @tap="view_more_history">{{$t('common.view_more')}} {{$t('common.history')}}</view>
|
||||
|
|
@ -81,8 +81,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import searchComponent from '@/pages/plugins/video/components/search.vue';
|
||||
import loadingComponent from '@/pages/plugins/video/components/loading.vue';
|
||||
import componentSearch from '@/pages/plugins/video/components/search.vue';
|
||||
import componentLoading from '@/pages/plugins/video/components/loading.vue';
|
||||
import componentNoData from '@/components/no-data/no-data';
|
||||
import { video_get_top_left_padding, isEmpty } from '@/common/js/common/common.js';
|
||||
import componentCommon from '@/components/common/common';
|
||||
|
|
@ -95,8 +95,8 @@ bar_height = 0;
|
|||
// #endif
|
||||
export default {
|
||||
components: {
|
||||
searchComponent,
|
||||
loadingComponent,
|
||||
componentSearch,
|
||||
componentLoading,
|
||||
componentNoData,
|
||||
componentCommon
|
||||
},
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
</view>
|
||||
<!-- #endif -->
|
||||
<view class="wh-auto ht-auto" :style="header_padding_left">
|
||||
<search-component :propSearchQuery="search_keywords" @search="handle_search" />
|
||||
<component-search :propSearchQuery="search_keywords" @search="handle_search" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
</view>
|
||||
<template v-if="page < page_total">
|
||||
<!-- 加载更多 -->
|
||||
<loadingComponent v-if="is_more_loading"></loadingComponent>
|
||||
<component-loading v-if="is_more_loading"></component-loading>
|
||||
</template>
|
||||
<template v-else>
|
||||
<!-- 结尾 -->
|
||||
|
|
@ -90,9 +90,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import searchComponent from '@/pages/plugins/video/components/search.vue';
|
||||
import componentSearch from '@/pages/plugins/video/components/search.vue';
|
||||
import componentPopup from '@/components/popup/popup';
|
||||
import loadingComponent from '@/pages/plugins/video/components/loading.vue';
|
||||
import componentLoading from '@/pages/plugins/video/components/loading.vue';
|
||||
import componentNoData from '@/components/no-data/no-data';
|
||||
import componentBottomLine from '@/components/bottom-line/bottom-line';
|
||||
import { video_get_top_left_padding, isEmpty } from '@/common/js/common/common.js';
|
||||
|
|
@ -105,9 +105,9 @@ bar_height = 0;
|
|||
// #endif
|
||||
export default {
|
||||
components: {
|
||||
searchComponent,
|
||||
componentSearch,
|
||||
componentPopup,
|
||||
loadingComponent,
|
||||
componentLoading,
|
||||
componentNoData,
|
||||
componentBottomLine,
|
||||
componentCommon
|
||||
|
|
|
|||
Loading…
Reference in New Issue