'修改第五题文案'

This commit is contained in:
梁泽军 2025-04-23 16:29:14 +08:00
parent f482e69ac7
commit 2b6e2c095a
2 changed files with 8 additions and 2 deletions

View File

@ -154,7 +154,12 @@ const getClass = (item) => {
</div>
</div>
<div class="question-tips" v-for="(t, i) in questionList[currentId].tips" :key="i">
<div v-if='questionList[currentId].tips.length == 1'>
{{ isChecked ? `${['回答错误!', '回答正确!'][checkedOption.result]}` : `提示:${t}` }}
</div>
<div v-else>
{{ isChecked ? `${i==0?['回答错误!', '回答正确!'][checkedOption.result]:''}` : `${i==0?'提示:':''}${t}` }}
</div>
</div>
</div>
<div class="return-btn" @click="nextQuestion($event)"></div>
@ -275,7 +280,7 @@ const getClass = (item) => {
font-family: 'HarmonyOS_Sans_SC_Regular';
color: #ab7133;
text-align: center;
padding: 10px;
padding: 5px;
}

View File

@ -91,7 +91,8 @@ export const data = [
},
],
tips: [
`全国最早实行对外开放的四个经济特区之一`,
`全国最早实行对外开放的`,
`四个经济特区之一`
],
},
];