Commit 1c351926 authored by 王炽's avatar 王炽

生长工具

parent 75d186ae
No preview for this file type
<template>
<view class="shengzhang-tools-container">
<swiper
class="banner-swiper"
:indicator-dots="swiperData.length > 1"
:autoplay="swiperData.length > 1"
:circular="swiperData.length > 1"
indicator-color="#dfddd9"
indicator-active-color="#b27c1e"
:indicator-top="596"
>
<swiper-item v-for="(item, index) in swiperData" :key="index">
<image
class="banner-img"
:src="$baseUrl + `integral/${tupianBanben}/${item?.bannerImg}`"
mode="aspectFill"
@click="bannerHandler(item)"
/>
</swiper-item>
</swiper>
</view>
</template>
<script setup>
import { onMounted } from 'vue';
const swiperData = ref(['', '', '']);
onMounted(() => {
getSwiperData();
})
</script>
<style lang="less" scoped>
</style>
<!-- picker-view -->
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment