wangguoyu 3 месяцев назад
Родитель
Сommit
078c239c17

+ 2 - 2
pages/newEnglish/components/mainCard.vue

@@ -12,8 +12,7 @@
 		</swiper-item>
 		<swiper-item>
 			<view class="swiper-item uni-bg-blue">
-				读
-				<hr />{{activeWord}}
+				<readContent :active-word="activeWord" :pageData="pageData" :active-words="activeWords"></readContent>
 			</view>
 		</swiper-item>
 		<swiper-item>
@@ -34,6 +33,7 @@
 	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,

+ 36 - 0
pages/newEnglish/components/readContent.vue

@@ -0,0 +1,36 @@
+<template>
+	<view>
+	<selectTypesVue activeSelect="3"></selectTypesVue>
+	</view>
+</template>
+
+<script setup>
+	import selectWordsVue from './selectWords.vue';
+	import selectTypesVue from './selectTypes.vue';
+	import {
+		reactive,
+		ref,
+		onMounted
+	} from 'vue';
+	const props = defineProps({
+		activeWord: {
+			type: Object,
+		},
+		pageData: {
+			type: Object,
+		},
+		activeWords: {
+			type: Array
+		},
+	})
+	let tabFlag = ref(1)
+	const audioInfo = ref(null)
+
+	
+	onMounted(() => {
+		
+	})
+</script>
+
+<style>
+</style>