Commit 92ed653f authored by linwenqing's avatar linwenqing

refactor:学时证详情页样式和最高分没有模考试显示空

parent 397e1b6c
...@@ -127,13 +127,13 @@ export default { ...@@ -127,13 +127,13 @@ export default {
return this.learnData.institutionName || '模考大师' return this.learnData.institutionName || '模考大师'
}, },
maxpoint() { maxpoint() {
return String(this.learnData.startDate).length > 0 ? this.learnData.maxPoint : '' return this.learnData.maxPoint || ''
}, },
learnTime() { learnTime() {
return String(this.learnData.startDate).length > 0 ? this.learnData.time : '' return String(this.learnData.startDate).length > 0 ? this.learnData.time : ''
}, },
resultForTest() { resultForTest() {
return String(this.learnData.startDate).length > 0 ? ((this.learnData.maxPoint >= 80 && '合格') || '不合格') : '' return this.learnData.maxPoint ? ((this.learnData.maxPoint >= 80 && '合格') || '不合格') : ''
}, },
}, },
methods: { methods: {
...@@ -159,7 +159,8 @@ export default { ...@@ -159,7 +159,8 @@ export default {
.begin-answer { .begin-answer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #2953ff; background-image: linear-gradient(to top, #22222E 0%, #444550 40%);
background-color: #22222E;
background-size: 100% 920rpx; background-size: 100% 920rpx;
background-repeat: no-repeat; background-repeat: no-repeat;
height: 100vh; height: 100vh;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment