|
@@ -28,7 +28,7 @@
|
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
|
<view v-if="list.length > 0" class="list">
|
|
<view v-if="list.length > 0" class="list">
|
|
|
<view v-for="item in list" :key="item.id" class="col-12 m-b30">
|
|
<view v-for="item in list" :key="item.id" class="col-12 m-b30">
|
|
|
- <view class="card card-action action-elevate action-border-primary cursor-pointer" @click="handleItemClick(item)">
|
|
|
|
|
|
|
+ <view class="card card-action action-elevate action-border-primary cursor-pointer" :data-tooltip="t('vu.tooltip.t103')" @click="handleItemClick(item)">
|
|
|
<view class="row g-0">
|
|
<view class="row g-0">
|
|
|
<view class="col-md-3" v-if="item.coverImage">
|
|
<view class="col-md-3" v-if="item.coverImage">
|
|
|
<view class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
|
|
<view class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
|
|
@@ -68,12 +68,12 @@
|
|
|
import { ref, watch, computed } from 'vue'
|
|
import { ref, watch, computed } from 'vue'
|
|
|
import { useI18n } from 'vue-i18n'
|
|
import { useI18n } from 'vue-i18n'
|
|
|
import Config from '@/config/index'
|
|
import Config from '@/config/index'
|
|
|
-const { locale } = useI18n()
|
|
|
|
|
|
|
+const { locale, t } = useI18n()
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
fetchData: { type: Function, required: true },
|
|
fetchData: { type: Function, required: true },
|
|
|
queryParams: { type: Object, default: () => ({}) },
|
|
queryParams: { type: Object, default: () => ({}) },
|
|
|
- pageSize: { type: Number, default: 10 },
|
|
|
|
|
|
|
+ pageSize: { type: Number, default: 100 },
|
|
|
type: { type: Number, default: 0 },
|
|
type: { type: Number, default: 0 },
|
|
|
immediate: { type: Boolean, default: true },
|
|
immediate: { type: Boolean, default: true },
|
|
|
})
|
|
})
|