页面
This commit is contained in:
parent
fcc4659239
commit
d3de1fd0f5
@ -16,10 +16,10 @@
|
|||||||
<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">
|
||||||
|
<view v-if="swiperList">
|
||||||
<wd-swiper
|
<wd-swiper
|
||||||
value-key="url"
|
value-key="url"
|
||||||
custom-text-style="color:#fff"
|
custom-text-style="color:#fff"
|
||||||
v-if="swiperList"
|
|
||||||
height="680rpx"
|
height="680rpx"
|
||||||
width="100%"
|
width="100%"
|
||||||
:list="swiperList"
|
:list="swiperList"
|
||||||
@ -28,6 +28,7 @@
|
|||||||
@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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user