瀏覽代碼

绑定手机

chenxiong 3 年之前
父節點
當前提交
0003e009f3

+ 29 - 8
pages2/bank/questionBankWrongExplain.vue

@@ -90,13 +90,18 @@
 							<view v-if="!bank.ques">
 								<view v-for="(item, index) in judge" :key="index" class="lisSty">
 									<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>
@@ -157,13 +162,18 @@
 									<view v-if="!bank.ques[ansIndex]">
 										<view v-for="(option, childIndex) in ansItem.optionsList" :key="childIndex" class="lisSty">
 											<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>
@@ -192,13 +202,19 @@
 									<view v-if="!bank.ques[ansIndex]">
 										<view v-for="(option, childindex) in ansItem.optionsList" :key="childindex" class="lisSty">
 											<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 && 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>
@@ -233,13 +249,18 @@
 									<view v-if="!bank.ques[ansIndex]">
 										<view v-for="(option, childindex) in judge" :key="childindex" class="lisSty">
 											<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>

+ 30 - 8
pages2/class/questionBank.vue

@@ -101,7 +101,10 @@
 							<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">
@@ -109,7 +112,9 @@
 									<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>
@@ -190,7 +195,10 @@
 											@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]">
@@ -204,7 +212,10 @@
 											>
 												{{ 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>
@@ -238,7 +249,10 @@
 											@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(bank.jsonStr)}" @click="checkboxSubmitChild(bankIndex, ansIndex)">确认答案</view>
@@ -247,7 +261,10 @@
 											<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>
@@ -282,7 +299,10 @@
 									<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]">
@@ -296,7 +316,9 @@
 											>
 												{{ ast[childindex] }}
 											</text>
-											{{ option }}
+											<view class="flex_auto">
+												{{ option }}
+											</view>
 										</view>
 									</view>
 								</view>

+ 30 - 8
pages2/subject/collectBank.vue

@@ -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>	

+ 30 - 8
pages2/subject/collectTypeBank.vue

@@ -93,13 +93,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>
@@ -171,13 +176,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="index" 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>
@@ -203,7 +214,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:!this.isCheckboxChecked(ansItem.optionsList)}" @click="checkboxSubmitChild(bankIndex,ansIndex)">
@@ -212,7 +226,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>
@@ -242,13 +259,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>

+ 31 - 8
pages2/subject/wrongBank.vue

@@ -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="index" 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,19 @@
 									<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>

+ 29 - 8
pages2/subject/wrongTypeBank.vue

@@ -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,9 @@
 									<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 +224,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 +257,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>

+ 2 - 4
pages2/wd/info.vue

@@ -423,14 +423,12 @@ export default {
 					that.$api.bindNewTel(datas).then(
 						res => {
 							if (res.data.code == 200) {
+								that.showPhoneModal = false;
+								that.$api.refreshUserInfo();
 								uni.showModal({
 									title: '提示',
 									content: '绑定成功',
 									showCancel:false,
-									success: function(resst) {
-										this.showPhoneModal = false;
-										this.$api.refreshUserInfo();
-									}
 								});
 							} else {
 								that.$u.toast(res.data.msg);