页面
Some checks are pending
Auto Merge Main to Other Branches / Merge main into i18n (push) Waiting to run
Auto Merge Main to Other Branches / Merge main into base-sard-ui (push) Waiting to run

This commit is contained in:
sjeam 2025-09-09 09:54:37 +08:00
parent fcc4659239
commit d3de1fd0f5

View File

@ -16,18 +16,19 @@
<view class=" " style="">
<wd-card custom-class="card-content">
<view class="relative" style="height: 680rpx">
<wd-swiper
value-key="url"
custom-text-style="color:#fff"
v-if="swiperList"
height="680rpx"
width="100%"
:list="swiperList"
autoplay
:indicator="{ type: 'dots-bar' }"
@change="onChange"
@click="handleClick"
></wd-swiper>
<view v-if="swiperList">
<wd-swiper
value-key="url"
custom-text-style="color:#fff"
height="680rpx"
width="100%"
:list="swiperList"
autoplay
:indicator="{ type: 'dots-bar' }"
@change="onChange"
@click="handleClick"
></wd-swiper>
</view>
<!-- <view
class="m-2 p-2 absolute bottom-0 text-center left-0 right-0 text-white bg-black bg-opacity-40"
style="backdrop-filter: blur(2rpx); border-radius: 10rpx"
@ -434,7 +435,7 @@ export default defineComponent({
return {
show: false,
product_30: {},
swiperList: {},
swiperList: [],
index_eat: {},
index_live: {},
index_play: {},
@ -511,6 +512,7 @@ export default defineComponent({
},
async getIndex(category_id) {
const res = await getArticleIndexAPI({ category_id: category_id })
return res.data
},
goPage(item) {
getUrl('/pages/about/detail?id=' + item.id)