view is shown in the figure:
vue:
js
:
main question: only one answer can be selected for each question (implemented), the color is like the picture, and the questions do not affect each other.
the json format of the question is as follows:
quesInfo:{
titleList:[
{titleno:"Q1",title:"",name:"q1",option:["","","","",""]},
{titleno:"Q2",title:"",name:"q2",option:["","","","","U","APP",""]},
{titleno:"Q3",title:"APP",name:"q3",option:["","","","",""]},
{titleno:"Q4",title:"",name:"q4",option:["","","","",""]},
{titleno:"Q5",title:"APP",name:"q5",option:["","",""]},
{titleno:"Q6",title:"APP",name:"q6",option:["","",""]},
{titleno:"Q7",title:"APP",name:"q7",option:["","",""]},
{titleno:"Q8",title:"APPAI",name:"q8",option:["","",""]},
{titleno:"Q9",title:"APP",name:"q9",option:["","",""]},
],
},