bug修复
This commit is contained in:
parent
3f5dee3100
commit
47ed335951
|
|
@ -232,7 +232,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.wrapper {
|
.wrapper {
|
||||||
height: 100vh;
|
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%;
|
background-size: 100% 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
@ -249,7 +249,7 @@ export default {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 180.5px;
|
width: 180.5px;
|
||||||
height: 118.6px;
|
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%;
|
background-size: 100% 100%;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
|
|
|
||||||
|
|
@ -253,17 +253,4 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
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>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -112,11 +112,9 @@ export default {
|
||||||
isNew: true // 是否新练习
|
isNew: true // 是否新练习
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {},
|
||||||
},
|
|
||||||
onLoad(opt) {
|
onLoad(opt) {
|
||||||
opt = JSON.parse(opt.params)
|
opt = JSON.parse(opt.params)
|
||||||
console.log('🚀 ~ onLoad ~ opt:', opt)
|
|
||||||
this.practiceId = opt.practiceId
|
this.practiceId = opt.practiceId
|
||||||
this.title = opt.title
|
this.title = opt.title
|
||||||
this.studyId = opt.studyId || '' // 学习id
|
this.studyId = opt.studyId || '' // 学习id
|
||||||
|
|
@ -139,7 +137,6 @@ export default {
|
||||||
},
|
},
|
||||||
success: res => {
|
success: res => {
|
||||||
res = res.data
|
res = res.data
|
||||||
console.log('🚀 ~ handleSubmit ~ res:', res)
|
|
||||||
this.title = res.data.name
|
this.title = res.data.name
|
||||||
this.userName = res.data.userName
|
this.userName = res.data.userName
|
||||||
this.correctRate = res.data.trueRate || '0%'
|
this.correctRate = res.data.trueRate || '0%'
|
||||||
|
|
@ -194,7 +191,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.wrapper {
|
.wrapper {
|
||||||
height: 94vh;
|
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%;
|
background-size: 100% 100%;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
||||||
|
|
@ -269,7 +266,7 @@ export default {
|
||||||
.right-top {
|
.right-top {
|
||||||
height: 98px;
|
height: 98px;
|
||||||
// background: #e7ac67;
|
// 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;
|
background-size: 100% 98px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue