Commit 0e78a1fe by 杨明

fixed

1 parent aad36907
<!-- <!--
* @Author: 前端 qianduan01@didihu.com.cn * @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2023-01-31 15:41:18 * @Date: 2023-01-31 15:41:18
* @LastEditors: 前端 qianduan01@didihu.com.cn * @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-02-16 16:06:46 * @LastEditTime: 2023-02-23 13:56:05
* @FilePath: \h5Demo\src\components\KnowledgeSports\guessRiddle.vue * @FilePath: \h5Demo\src\components\KnowledgeSports\guessRiddle.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -74,6 +74,9 @@ export default { ...@@ -74,6 +74,9 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
/deep/ .slot { /deep/ .slot {
width: 100%; width: 100%;
.next-btn {
margin: 10vh auto 0px;
}
&-question { &-question {
width: 304px; width: 304px;
margin: 0 auto; margin: 0 auto;
......
...@@ -119,14 +119,20 @@ export default { ...@@ -119,14 +119,20 @@ export default {
i++; i++;
} }
} }
if (this.selectResult[this.isSelectSeat]) {
this.cursorEven(this.isSelectSeat, true);
}
// 填入答案 // 填入答案
if (!this.answerOption[index].isSelect) { if (!this.answerOption[index].isSelect) {
this.answerOption[index].isSelect = true; this.answerOption[index].isSelect = true;
this.selectResult[this.isSelectSeat] = item.val; this.selectResult[this.isSelectSeat] = item.val;
} }
if (this.selectResult.length - 1 == this.isSelectSeat) { // if (
this.cursorEven(this.isSelectSeat, true); // this.selectResult.length ==
} // this.selectResult.filter((item) => item).length
// ) {
// this.cursorEven(this.isSelectSeat, true);
// }
// 判断光标位置 // 判断光标位置
if (this.isSelectSeat <= answerLength--) { if (this.isSelectSeat <= answerLength--) {
this.selectResult.some((v, idx) => { this.selectResult.some((v, idx) => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!