修改样式

This commit is contained in:
yanghang
2025-07-10 11:32:20 +08:00
parent ad7f7134df
commit 991ace03dc
+7 -14
View File
@@ -73,11 +73,12 @@
重新答
<image class="icon icon-iamge" src="@/static/images/course/restart.png" ></image>
</view>
<view class="replay-study-btn"
<view class="replay-study-btn next-learn-btn"
v-if="showNextBtn && [5].indexOf(type) >= 0 && isLast"
@click.stop="goOnRestartPrgh"
>
<image class="icon icon-iamge" src="@/static/images/course/restudy.png" ></image>
重新学
<image class="icon icon-iamge" src="@/static/images/course/refresh-white.png" ></image>
</view>
<view class="next-btn" @click.stop="goOnGetQues" v-if="showNextBtn && [3, 6].indexOf(type) >= 0 && isLast">继续
<image class="icon icon-iamge" src="@/static/images/course/goon.png" ></image></view>
@@ -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;