|
@@ -13,6 +13,7 @@
|
|
import Card from '@/components/card.vue'
|
|
import Card from '@/components/card.vue'
|
|
import HotActivity from '@/components/hot-activity.vue'
|
|
import HotActivity from '@/components/hot-activity.vue'
|
|
import MomentItem from '@/components/moment-item.vue'
|
|
import MomentItem from '@/components/moment-item.vue'
|
|
|
|
+import HomeBanner from './components/home-banner.vue'
|
|
import useRequest from '../../hooks/useRequest'
|
|
import useRequest from '../../hooks/useRequest'
|
|
import Menus from './components/menus.vue'
|
|
import Menus from './components/menus.vue'
|
|
import { getCircles, getSetIndexConfigs, shareCircle } from '../../core/libs/requests'
|
|
import { getCircles, getSetIndexConfigs, shareCircle } from '../../core/libs/requests'
|
|
@@ -91,12 +92,19 @@ onShareAppMessage(async ({ from, target }) => {
|
|
<template
|
|
<template
|
|
v-for="{
|
|
v-for="{
|
|
data: { id, coverVideoImage, indexPromotionalVideoImage },
|
|
data: { id, coverVideoImage, indexPromotionalVideoImage },
|
|
|
|
+ videoContext,
|
|
playing,
|
|
playing,
|
|
} of swiperData"
|
|
} of swiperData"
|
|
:key="id"
|
|
:key="id"
|
|
>
|
|
>
|
|
<swiper-item>
|
|
<swiper-item>
|
|
- <div class="w-full h-full relative">
|
|
|
|
|
|
+ <HomeBanner
|
|
|
|
+ :id="id"
|
|
|
|
+ :url="indexPromotionalVideoImage"
|
|
|
|
+ :cover="coverVideoImage"
|
|
|
|
+ :playing="playing"
|
|
|
|
+ />
|
|
|
|
+ <!-- <div class="w-full h-full relative">
|
|
<video
|
|
<video
|
|
class="w-full h-full"
|
|
class="w-full h-full"
|
|
:id="`video-${id}`"
|
|
:id="`video-${id}`"
|
|
@@ -120,7 +128,7 @@ onShareAppMessage(async ({ from, target }) => {
|
|
</wd-button>
|
|
</wd-button>
|
|
</view>
|
|
</view>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</template>
|
|
</template>
|
|
</swiper>
|
|
</swiper>
|