<template>
	<swiper class="word-view-swiper-box" :indicator-dots="false" :autoplay="false" :circular="false">
		<swiper-item>
			<view class="swiper-item uni-bg-red">
				<learnContent :active-word="activeWord" :pageData="pageData" :active-words="activeWords"></learnContent>
			</view>
		</swiper-item>
		<swiper-item>
			<view class="swiper-item uni-bg-red">
				<pinPageVue :active-word="activeWord" :active-words="activeWords"></pinPageVue>
			</view>
		</swiper-item>
		<swiper-item>
			<view class="swiper-item uni-bg-blue">
				<readContent :active-word="activeWord" :pageData="pageData" :active-words="activeWords"></readContent>
			</view>
		</swiper-item>
		<swiper-item>
			<view class="swiper-item uni-bg-blue">
				<selectPageVue :active-word="activeWord" :active-words="activeWords"></selectPageVue>
			</view>
		</swiper-item>
		<swiper-item>
			<view class="swiper-item uni-bg-blue">
				<beiPageVue :active-word="activeWord" :active-words="activeWords"></beiPageVue>
			</view>
		</swiper-item>
	</swiper>
</template>

<script setup>
	import pinPageVue from './pinPage.vue';
	import selectPageVue from './selectPage.vue';
	import beiPageVue from './beiPage.vue';
	import learnContent from './learnContent.vue';
	import readContent from './readContent.vue';
	const props = defineProps({
		activeWord: {
			type: Object,
		},	
		pageData: {
			type: Object,
		},
		activeWords: {
			type: Array
		},
	})
</script>

<style lang="scss" scoped>
</style>