WeChat Mini Program Questionnaire

The first thing I did was the questionnaire page in the teaching evaluation system and implemented this function.


<view class='header'>被评教师:{
  
   
   {teachername}}</view>
<swiper bindchange='swiper_change' current='{
  
   
   {currentid}}'>
<block class="center" wx:for="{
  
   
   {paperdetails}}">
  
       <swiper-item class="tip">
       <text>{
  
   
   {index+1}}{
  
   
   {item.content}}</text>
        <radio-group class="radio-group" bindchange="radioChange" data-id="{
  
   
   {item.id}}">
          <label class="radio">
            <radio value="a#{
  
   
   {item.scorea}}" /><text>A{
  
   
   {item.itema}}</text>
          </label>
          <label class="radio">
            <radio value="b#{
  
   
   {item.scoreb}

Guess you like

Origin blog.csdn.net/TIANJING_er/article/details/80271171