From 991ace03dc6f749c7ef68e927a43e7741e6939a2 Mon Sep 17 00:00:00 2001 From: yanghang Date: Thu, 10 Jul 2025 11:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/components/talkingItem.vue | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue index 3e0a8b89..56b63e2b 100644 --- a/src/pages/course/components/talkingItem.vue +++ b/src/pages/course/components/talkingItem.vue @@ -73,11 +73,12 @@ 重新答 - - + 重新学 + 继续 @@ -228,6 +229,7 @@ const audioCacheObj = computed(() => storageStore.audioObj) type: Object }, }) + const { type, dataInfo, activeVoiceId, isPlaying, isLast, lastQuestionInfo} = toRefs(props) const emit = defineEmits(['changePlay', 'nextQuestion', 'withdraw', 'finishQuestion']) // 声音播放初始化 @@ -547,6 +549,9 @@ const audioCacheObj = computed(() => storageStore.audioObj) margin-top: 16rpx; margin-right: 16rpx; position: relative; + &.replay-study-btn{ + float: right; + } &.restart{ background-color: #eaf2ff; color: #06f; @@ -581,18 +586,6 @@ const audioCacheObj = computed(() => storageStore.audioObj) margin-top: -12rpx; } } - .replay-study-btn{ - width: 162rpx; - height: 62rpx; - border-radius: 8rpx; - float: right; - margin-top: 16rpx; - .icon-iamge{ - width: 100%; - height: 100%; - margin:0; - } - } .next-btn{ float: right; padding: 0 60rpx 0 20rpx;