bug修复

This commit is contained in:
binbin_pan 2024-11-27 18:57:51 +08:00
parent 3f5dee3100
commit 47ed335951
3 changed files with 5 additions and 21 deletions

View File

@ -232,7 +232,7 @@ export default {
<style lang="scss" scoped>
.wrapper {
height: 100vh;
background: url(require('/static/images/examine-detail-bg.png')) no-repeat;
background: url('../../../static/images/examine-detail-bg.png') no-repeat;
background-size: 100% 100%;
display: flex;
flex-direction: column;
@ -249,7 +249,7 @@ export default {
overflow: hidden;
width: 180.5px;
height: 118.6px;
background: url(require('/static/images/result-bg.png')) no-repeat;
background: url('../../../static/images/result-bg.png') no-repeat;
background-size: 100% 100%;
z-index: 9;
margin-top: 40px;

View File

@ -253,17 +253,4 @@ export default {
flex-direction: column;
align-items: center;
}
/* 隐藏视频控件的进度条 */
#video::-webkit-media-controls-progress-bar {
display: none !important;
}
/* 如果需要隐藏其他控件 */
#video::-webkit-media-controls-panel {
display: none !important;
}
#video::-webkit-media-controls-play-button {
display: block !important;
}
</style>

View File

@ -112,11 +112,9 @@ export default {
isNew: true //
}
},
onShow() {
},
onShow() {},
onLoad(opt) {
opt = JSON.parse(opt.params)
console.log('🚀 ~ onLoad ~ opt:', opt)
this.practiceId = opt.practiceId
this.title = opt.title
this.studyId = opt.studyId || '' // id
@ -139,7 +137,6 @@ export default {
},
success: res => {
res = res.data
console.log('🚀 ~ handleSubmit ~ res:', res)
this.title = res.data.name
this.userName = res.data.userName
this.correctRate = res.data.trueRate || '0%'
@ -194,7 +191,7 @@ export default {
<style lang="scss" scoped>
.wrapper {
height: 94vh;
background: url(require('/static/images/exercises-bg.png')) no-repeat;
background: url('../../../static/images/exercises-bg.png') no-repeat;
background-size: 100% 100%;
padding: 20px;
@ -269,7 +266,7 @@ export default {
.right-top {
height: 98px;
// background: #e7ac67;
background: url(require('/static/images/order-exercises.png')) no-repeat;
background: url('../../../static/images/order-exercises.png') no-repeat;
background-size: 100% 98px;
border-radius: 8px;
position: relative;