| 
					
				 | 
			
			
				@@ -17,6 +17,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           v-model="topic.topicNumber" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @blur="topic.topicNumber = topic.topicNumber.trim()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <img 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @click="deletetopic(toIndex)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          class="close" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          src="../../../assets/adult/del-close.png" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          alt="" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div class="adult-book-input-item" v-else> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <span class="adult-book-lable">标题:</span> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,6 +34,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           v-model="topic.title" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           @blur="topic.title = topic.title.trim()" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <img 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          @click="deletetopic(toIndex)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          class="close" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          src="../../../assets/adult/del-close.png" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          alt="" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         class="adult-book-input-item" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -320,6 +332,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 删除其中一道题 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    deletetopic(index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (this.curQue.length <= 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$message.warning("至少要保留1个题"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.curQue.splice(index, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 删除其中一个选项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     deleteOptionOne(index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.curQue.option.length <= 2) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -449,6 +469,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     line-height: 40px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     cursor: pointer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  .close{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    width: 24px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    cursor: pointer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang="scss"> 
			 |