Open 0And1Story opened 4 years ago
此网站谨供将要参加音美中考的四川学生使用
^
文法错误?
此网站谨供将要参加音美中考的四川学生使用 ^
文法错误?
@SocialZxy 帮我想一下怎么改吧,我觉得我的关于框写的太烂了
@0And1Story 单选和多选好像没区分吧,所有题都可以多选
@0And1Story 单选和多选好像没区分吧,所有题都可以多选
invalid
@Patriot-Gao 是有区别的,单选题选项的<input>
带有相同name
属性,带有相同name
属性的<input>
只能选择其中一个
请参照 [/js/load-exam.js] 第 79
行,in function 'loadProblem()'
for (let i = 0; i < answer_object.data[serial].options.length; i ++) {
form.innerHTML +=
(i > 0 ? '<br>' : '') +
'<label class="mdui-radio">' +
' <input type="radio" name="answer" onclick="changeAnswer(' + serial + ',' + i + ')" ' + (checked_answer[serial].indexOf(answer_object.data[serial].options[i].serial) != -1 ? 'checked ' : '') + '/>' +
// Here-> ^^^^^^^^^^^^
' <i class="mdui-radio-icon"></i>' +
' ' + String.fromCharCode('A'.charCodeAt(0) + i) + '. ' + answer_object.data[serial].options[i].txt +
'</label>' +
(answer_object.data[serial].options[i].url == '' ? '' : '<br>' + (answer_object.data[serial].options[i].type == 1 ? '<img src="' + answer_object.data[serial].options[i].url + '">' : '<audio src="' + answer_object.data[serial].options[i].url + '" controls="controls"></audio>'));
}
@0And1Story 单选和多选好像没区分吧,所有题都可以多选
State:
invalid
@Patriot-Gao 是有区别的,单选题选项的
<input>
带有相同name
属性,带有相同name
属性的<input>
只能选择其中一个请参照 [/js/load-exam.js] 第
79
行,in function'loadProblem()'
for (let i = 0; i < answer_object.data[serial].options.length; i ++) { form.innerHTML += (i > 0 ? '<br>' : '') + '<label class="mdui-radio">' + ' <input type="radio" name="answer" onclick="changeAnswer(' + serial + ',' + i + ')" ' + (checked_answer[serial].indexOf(answer_object.data[serial].options[i].serial) != -1 ? 'checked ' : '') + '/>' + // Here-> ^^^^^^^^^^^^ ' <i class="mdui-radio-icon"></i>' + ' ' + String.fromCharCode('A'.charCodeAt(0) + i) + '. ' + answer_object.data[serial].options[i].txt + '</label>' + (answer_object.data[serial].options[i].url == '' ? '' : '<br>' + (answer_object.data[serial].options[i].type == 1 ? '<img src="' + answer_object.data[serial].options[i].url + '">' : '<audio src="' + answer_object.data[serial].options[i].url + '" controls="controls"></audio>')); }
tql orz(话说这位好像不会js)
此网站谨供将要参加音美中考的四川学生使用 ^
文法错误?
@SocialZxy 帮我想一下怎么改吧,我觉得我的关于框写的太烂了
语文不好QAQ(话说能不能把我弄进来)
此网站谨供将要参加音美中考的四川学生使用 ^
文法错误?
@SocialZxy 帮我想一下怎么改吧,我觉得我的关于框写的太烂了
语文不好QAQ(话说能不能把我弄进来)
@SocialZxy 两个人不好管理,若有需要会把你加进来的
(话说这就是传说中的俄罗斯套引用?)
在此帖以下回复以报告BUG