|
@@ -92,13 +92,18 @@
|
|
|
<view v-if="!bank.ques">
|
|
|
<view v-for="(item, index) in judge" :key="index" class="lisSty" @click="judgeSelect(index,bankIndex)">
|
|
|
<view class="activeTI">{{ ast[index] }}</view>
|
|
|
- {{ item }}
|
|
|
+ <view class="flex_auto">
|
|
|
+ {{ item }}
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-if="bank.ques">
|
|
|
<view v-for="(item, index) in judge" :key="index" class="lisSty">
|
|
|
<text :class="{right:(index == bank.ques) || (index == bank.ans),wrong:(index == bank.ques) && (bank.ques != bank.ans)}" class="activeTI">{{ ast[index] }}</text>
|
|
|
- {{ item }}
|
|
|
+ <view class="flex_auto">
|
|
|
+ {{ item }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -170,13 +175,19 @@
|
|
|
<view v-if="!bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childIndex) in ansItem.optionsList" :key="childIndex" class="lisSty" @click="radioSelectChild(option.optionsId,ansIndex,bankIndex)">
|
|
|
<view class="activeTI">{{ ast[childIndex] }}</view>
|
|
|
- <rich-text class="textChild" :nodes="option.content"></rich-text>
|
|
|
+ <view class="flex_auto">
|
|
|
+ <rich-text class="textChild" :nodes="option.content"></rich-text>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-if="bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childIndex) in ansItem.optionsList" :key="childIndex" class="lisSty">
|
|
|
<text :class="{right:(option.optionsId == bank.ques[ansIndex]) || (option.optionsId == bank.ans[ansIndex]),wrong:(option.optionsId == bank.ques[ansIndex]) && (bank.ques[ansIndex] != bank.ans[ansIndex])}" class="activeTI">{{ ast[childIndex] }}</text>
|
|
|
- <rich-text :nodes="option.content"></rich-text>
|
|
|
+ <view class="flex_auto">
|
|
|
+ <rich-text :nodes="option.content"></rich-text>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -202,7 +213,10 @@
|
|
|
<view v-if="!bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childindex) in ansItem.optionsList" :key="childindex" class="lisSty" @click="checkboxSelectChild(bankIndex,ansIndex,childindex)">
|
|
|
<view :class="{checked:option.checked}" class="activeTI">{{ ast[childindex] }}</view>
|
|
|
- <rich-text :nodes="option.content"></rich-text>
|
|
|
+ <view class="flex_auto">
|
|
|
+ <rich-text :nodes="option.content"></rich-text>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-if="!bank.ques[ansIndex]" class="submit_checkbox" :class="{disabled:!isCheckboxChecked(ansItem.optionsList)}" @click="checkboxSubmitChild(bankIndex,ansIndex)">
|
|
@@ -211,7 +225,10 @@
|
|
|
<view v-if="bank.ques && bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childindex) in ansItem.optionsList" :key="childindex" class="lisSty">
|
|
|
<text :class="{right:right(bankIndex,ansIndex,option),wrong:wrong(bankIndex,ansIndex,option)}" class="activeTI">{{ ast[childindex] }}</text>
|
|
|
- <rich-text :nodes="option.content"></rich-text>
|
|
|
+ <view class="flex_auto">
|
|
|
+ <rich-text :nodes="option.content"></rich-text>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -241,13 +258,18 @@
|
|
|
<view v-if="!bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childindex) in judge" :key="childindex" class="lisSty" @click="judgeSelectChild(ansIndex,childindex,bankIndex)">
|
|
|
<view class="activeTI">{{ ast[childindex] }}</view>
|
|
|
- {{ option }}
|
|
|
+ <view class="flex_auto">
|
|
|
+ {{ option }}
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-if="bank.ques[ansIndex]">
|
|
|
<view v-for="(option, childindex) in judge" :key="childindex" class="lisSty">
|
|
|
<text :class="{right:(childindex == bank.ques[ansIndex]) || (childindex == bank.ans[ansIndex]),wrong:(childindex == bank.ques[ansIndex]) && (bank.ques[ansIndex] != bank.ans[ansIndex])}" class="activeTI">{{ ast[childindex] }}</text>
|
|
|
- {{ option }}
|
|
|
+ <view class="flex_auto">
|
|
|
+ {{ option }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|