<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 -->