readContent.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <view>
  3. <selectTypesVue activeSelect="3"></selectTypesVue>
  4. <view class="words-xuan-box">
  5. <!-- 单词区 -->
  6. <view class="show-words-box"> {{activeWord.name}} </view>
  7. <!-- 音标区 -->
  8. <view class="yb-play-box">
  9. <text>{{activeWord.yinbiao}}</text>
  10. <!-- active -->
  11. <icon class="yb-play-btn"></icon>
  12. <icon class="yb-playing-btn" v-if="false"></icon>
  13. </view>
  14. <view style="text-align: center;">
  15. <text v-if="activeWord.jianyi&&activeWord.jianyi.length>0" v-for="(item,index) in activeWord.jianyi" :key="index">
  16. {{item}}
  17. </text>
  18. </view>
  19. <view>
  20. <view class="audio-play-btn"></view>
  21. <!-- 播放中 -->
  22. <view class="audio-playing-btn" v-if="false"></view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script setup>
  28. import selectWordsVue from './selectWords.vue';
  29. import selectTypesVue from './selectTypes.vue';
  30. import {
  31. reactive,
  32. ref,
  33. onMounted
  34. } from 'vue';
  35. const props = defineProps({
  36. activeWord: {
  37. type: Object,
  38. },
  39. pageData: {
  40. type: Object,
  41. },
  42. activeWords: {
  43. type: Array
  44. },
  45. })
  46. let tabFlag = ref(1)
  47. const audioInfo = ref(null)
  48. onMounted(() => {
  49. })
  50. </script>
  51. <style>
  52. </style>