|
@@ -8,7 +8,11 @@
|
|
:repeat="true"
|
|
:repeat="true"
|
|
:audio-url="getAudioUrl(`${info.textCn}.mp3`)"
|
|
:audio-url="getAudioUrl(`${info.textCn}.mp3`)"
|
|
/>
|
|
/>
|
|
- <div class="right-info">
|
|
|
|
|
|
+ <div class="right-info"
|
|
|
|
+ :class="{
|
|
|
|
+ large: isLargeDesc,
|
|
|
|
+ }"
|
|
|
|
+ >
|
|
<SquareWord :word="info.textCn" size="mini" />
|
|
<SquareWord :word="info.textCn" size="mini" />
|
|
<div class="intro">
|
|
<div class="intro">
|
|
<ul class="introduce">
|
|
<ul class="introduce">
|
|
@@ -57,7 +61,8 @@ const instance = getCurrentInstance()
|
|
const globalProperties = instance.appContext.app.config.globalProperties
|
|
const globalProperties = instance.appContext.app.config.globalProperties
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
- info: Object
|
|
|
|
|
|
+ info: Object,
|
|
|
|
+ isLargeDesc: Boolean,
|
|
})
|
|
})
|
|
const mySwiper = ref(null)
|
|
const mySwiper = ref(null)
|
|
|
|
|
|
@@ -192,5 +197,13 @@ const onClickItem = item => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .right-info.large {
|
|
|
|
+ margin: 0 2rem;
|
|
|
|
+ padding-top: 2%;
|
|
|
|
+ .intro {
|
|
|
|
+ margin-left: 1rem;
|
|
|
|
+ height: 80%;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|