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