|
@@ -56,24 +56,13 @@ onMounted(async () => {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
- <view class="px-3.5 py-5.5">
|
|
|
|
- <!-- <wd-swiper
|
|
|
|
- custom-class="rounded-2xl overflow-hidden aspect-[2.71/1]"
|
|
|
|
- width="100%"
|
|
|
|
- height="100%"
|
|
|
|
- :list="swiperList"
|
|
|
|
- autoplay
|
|
|
|
- v-model:current="current"
|
|
|
|
- :indicator="{ type: 'dots-bar' } as any"
|
|
|
|
- @click="handleClick"
|
|
|
|
- @change="onChange"
|
|
|
|
- ></wd-swiper> -->
|
|
|
|
|
|
+ <view class="px-3.5 py-5.5 flex-grow">
|
|
<Banner :mode="BannerMode.Spread"></Banner>
|
|
<Banner :mode="BannerMode.Spread"></Banner>
|
|
|
|
|
|
<view class="my-6 grid gap-2.5 grid-cols-2">
|
|
<view class="my-6 grid gap-2.5 grid-cols-2">
|
|
<template v-for="it of menus" :key="it.title">
|
|
<template v-for="it of menus" :key="it.title">
|
|
<div :class="it.class" @click="router.push(it.path)">
|
|
<div :class="it.class" @click="router.push(it.path)">
|
|
- <card :custom-class="['w-full h-full flex justify-between items-center']">
|
|
|
|
|
|
+ <Card :custom-class="'w-full h-full flex justify-between items-center'">
|
|
<div
|
|
<div
|
|
class="my-3.5 text-black/40 text-base font-normal font-['PingFang_SC'] leading-[10.18px]"
|
|
class="my-3.5 text-black/40 text-base font-normal font-['PingFang_SC'] leading-[10.18px]"
|
|
>
|
|
>
|
|
@@ -86,7 +75,7 @@ onMounted(async () => {
|
|
<wd-img :src="it.icon" width="23" height="23"></wd-img>
|
|
<wd-img :src="it.icon" width="23" height="23"></wd-img>
|
|
</div>
|
|
</div>
|
|
</view>
|
|
</view>
|
|
- </card>
|
|
|
|
|
|
+ </Card>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|