wangxy 1 month ago
parent
commit
a7137d4c44
2 changed files with 9 additions and 6 deletions
  1. 2 2
      components/question/danxuan.vue
  2. 7 4
      pages/xinshuxue/lookShipin.vue

+ 2 - 2
components/question/danxuan.vue

@@ -5,8 +5,8 @@
 		<!-- 题干区域 -->
 		<!-- 题干区域 -->
 		<rich-text :nodes="data.name" class="ezy-shiti-question"></rich-text>
 		<rich-text :nodes="data.name" class="ezy-shiti-question"></rich-text>
 		<!-- 选项区域 -->
 		<!-- 选项区域 -->
-		<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>
 			<rich-text :nodes="item.label" class="option-question"></rich-text>
 		</view>
 		</view>
 	</view>
 	</view>

+ 7 - 4
pages/xinshuxue/lookShipin.vue

@@ -41,10 +41,13 @@
 					</view>
 					</view>
 				</template>
 				</template>
 				<!-- 无数据 -->
 				<!-- 无数据 -->
-				<view class="ezy-no-sj" v-else>
-					<icon></icon>
-					<text>暂无数据</text>
-				</view>
+				<template v-else>
+					<view class="ezy-no-sj" v-if="showB">
+						<icon></icon>
+						<text>暂无数据</text>
+					</view>
+				</template>
+	
 			</view>
 			</view>
 		</view>
 		</view>
 		<!-- 弹窗 -->
 		<!-- 弹窗 -->