How to get the value of the questionnaire list for the questionnaire generated by vue.js?

Screenshot of questionnaire list:

clipboard.png

json:


vuejs:


clipboard.png

the main question is:
1, how to remove the radio style of input, or radio, the single-option span tag for each topic becomes a blue border and font? (the bosses can just say a train of thought, of course, thank you enough for the code implementation ^ _ ^)

2. How to get the answers to the questionnaire list? At present, I hope the final format is as follows: (I still hope that the bosses can provide us with a simple idea. At present, we are mainly stuck here.)

 "titleno" "results"
            answerList:[
                {titleno:"Q1",results:""},
                {titleno:"Q2",results:""},
                {titleno:"Q3",results:""},
                {titleno:"Q4",results:""},
                {titleno:"Q5",results:""},
                {titleno:"Q6",results:""},
                {titleno:"Q7",results:""},
                {titleno:"Q8",results:""},
                {titleno:"Q9",results:""}
            ],
Jul.27,2021

if you want to get rid of the input style, you can use css to control
the second one just need to change the final answer


first of all, the first question:

1, how to remove the radio style of input, or radio, the single-option span tag for each topic becomes a blue border and font?

you can make the style of radio transparent, define a class name for span , such as selected , and switch

according to the event.
input[radio] {
    opacity: 0;
}
.selected {
    border: 1px solid lightblue;
    color: lightblue;
}

you can only choose one radio button that can refer to ide/forms.html-sharp%E5%8D%95%E9%80%89%E6%8C%89%E9%92%AE" rel=" nofollow noreferrer "> vue official document , and set the same v-model to each question

.

second question:

2. How to get the answers to the questionnaire list?

get the value of v-model bound to the radio button


/
<el-form-item>
  <div>{{}}</div>
      <el-radio-group v-model="ruleForm.radio[item]" @change='dealwidthradioResult'>
           <el-radio :label="child.id" v-for="child in item.option" :key="child.id">{{child.name}}</el-radio>
       </el-radio-group>
</el-form-item>

mounted () {

let len =;
for(let i=0;i<len;iPP) {
    this.ruleFormthis.radio.push('')
}

}
methods: {

dealwidthradioResult(val) {
    val
}

}

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38715-2c11f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38715-2c11f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?