| 
					
				 | 
			
			
				@@ -92,23 +92,22 @@ const tagName = ref('') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const tagIds = ref([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const imgList = ref([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const publishing = ref(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const handleImgFail = ({error, file}) =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	// imgList.value = fileList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	fileList.value.splice(0,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const delImg = (index:number) =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	fileList.value = imgList.value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const delImg = () =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	console.log('del') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	fileList.value.splice(0,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const sortChange = () =>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	console.log('sort') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	fileList.value = imgList.value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-const handleChange = ({ fileList: files }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  // fileList.value = files 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const handleChange = ({ fileList: files }) => {   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   console.log(files) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let arr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   for(let i in files){	   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  if(files[i].status==="success"){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		  arr.push(JSON.parse(files[i].response).data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  arr.push(files[i]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  fileList.value = arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   imgList.value = arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   if(files.length > 0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	  useVideo.value = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -274,7 +273,6 @@ onLoad(async (query: { circleType: '1' | '2' }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  :multiple="true" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  :limit="String(circleType) === '2' ? 30 : 9" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  @change="handleChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			  @fail="handleImgFail" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			></wd-upload> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<div class="text-[24rpx] text-black/60 text-center">上传图片</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</div> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -290,7 +288,7 @@ onLoad(async (query: { circleType: '1' | '2' }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<div class="text-[24rpx] text-black/60 text-center">上传视频</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<dragImg v-if="imgList.length > 0" v-model="imgList" @del="delImg" :number="String(circleType) === '2' ? 30 : 9"></dragImg> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<dragImg keyName='url' v-if="imgList.length > 0" v-model="imgList" @del="delImg" @sortChange="sortChange" :number="String(circleType) === '2' ? 30 : 9"></dragImg> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <SectionHeading 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title="标签" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       custom-class="my-6" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -316,13 +314,15 @@ onLoad(async (query: { circleType: '1' | '2' }) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </SectionHeading> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="flex-1"></div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <BottomAppBar fixed safe-area-inset-bottom placeholder> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <div class="w-full relative z-9"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <wd-button type="primary" :round="false" block :loading="publishing" @click="handleSubmit"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          发布 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        </wd-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </BottomAppBar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <div class="w-full relative z-9"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<BottomAppBar fixed safe-area-inset-bottom placeholder> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  <div class="w-full"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		    <wd-button type="primary" :round="false" block :loading="publishing" @click="handleSubmit"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		      发布 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		    </wd-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		  </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		</BottomAppBar> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style> 
			 |