소스 검색

单选多选 选项修改

wangxy 2 주 전
부모
커밋
acffa59a1c
4개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 2
      components/questions/danxuan.vue
  2. 2 2
      components/questions/duoxuan.vue
  3. 2 2
      components/questionsChengji/danxuan.vue
  4. 2 2
      components/questionsChengji/duoxuan.vue

+ 2 - 2
components/questions/danxuan.vue

@@ -7,8 +7,8 @@
 		</view>
 		
 		<!-- 选项区域 -->
-		<view v-for="(item,index) in data.contents" class="danxuan-option-box" :class="formatClass(index)" :key="index">
-			<text class="option-change"  @click="onSelect(index)">{{item.number}}</text>
+		<view v-for="(item,index) in data.contents" class="danxuan-option-box" :class="formatClass(index)" :key="index" @click="onSelect(index)">
+			<text class="option-change">{{item.number}}</text>
 			<rich-text :nodes="item.label" class="option-question"></rich-text>
 		</view>
 	</view>

+ 2 - 2
components/questions/duoxuan.vue

@@ -6,8 +6,8 @@
 			<rich-text :nodes="data.name"></rich-text>
 		</view>
 		<!-- 选项区域 -->
-		<view v-for="(item,index) in data.contents" class="duoxuan-option-box" :class="formatClass(index)" :key="index">
-			<text class="option-change" @click="onSelect(index)">{{item.number}}</text>
+		<view v-for="(item,index) in data.contents" class="duoxuan-option-box" :class="formatClass(index)" :key="index" @click="onSelect(index)">
+			<text class="option-change">{{item.number}}</text>
 			<rich-text :nodes="item.label" class="option-question"></rich-text>
 		</view>
 	</view>

+ 2 - 2
components/questionsChengji/danxuan.vue

@@ -7,8 +7,8 @@
 		</view>
 		
 		<!-- 选项区域 -->
-		<view v-for="(item,index) in data.contents" class="danxuan-option-box" :class="formatClass(index)" :key="index">
-			<text class="option-change"  @click="onSelect(index)">{{item.number}}</text>
+		<view v-for="(item,index) in data.contents" class="danxuan-option-box" :class="formatClass(index)" :key="index" @click="onSelect(index)">
+			<text class="option-change"  >{{item.number}}</text>
 			<rich-text :nodes="item.label" class="option-question"></rich-text>
 		</view>
 		

+ 2 - 2
components/questionsChengji/duoxuan.vue

@@ -6,8 +6,8 @@
 			<rich-text :nodes="data.name"></rich-text>
 		</view>
 		<!-- 选项区域 -->
-		<view v-for="(item,index) in data.contents" class="duoxuan-option-box" :class="formatClass(index)" :key="index">
-			<text class="option-change" @click="onSelect(index)">{{item.number}}</text>
+		<view v-for="(item,index) in data.contents" class="duoxuan-option-box" :class="formatClass(index)" :key="index" @click="onSelect(index)">
+			<text class="option-change">{{item.number}}</text>
 			<rich-text :nodes="item.label" class="option-question"></rich-text>
 		</view>