| 
					
				 | 
			
			
				@@ -22,7 +22,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="btns"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <u-button type="warning" text="分享好友" class="share" open-type="share"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <u-button type="error" text="立即联系" class="contact" @click="toContact" v-if="!isMine"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <u-button type="primary" text="立即购买" class="buy" @click="toBuy" v-if="!isMine && detail.amount && detail.status !== 4"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <u-button type="primary" text="立即购买" class="buy" @click="toBuy" v-if="!isMine && detail.amount && detail.status === 1"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -223,7 +223,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       		this.loadStatus = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           let actionList = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            {name: '已卖出', value: 1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            {name: '已转让', value: 1}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             {name: '上架', value: 2}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             {name: '下架', value: 3}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             {name: '重新上架', value: 4}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -267,6 +267,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.detail.collectNum = res.data.collectNum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.detail.isLike = res.data.isLike; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.detail.isCollect = res.data.isCollect; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.crossPage.$emit('reloadHomePage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.crossPage.$emit('reloadGoodsListPage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.crossPage.$emit('reloadMyIssueListPage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -349,10 +352,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       selectAction(e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // 已卖出/下架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 已转让/下架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(~[1,2,3].indexOf(e.value)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           const statusMap = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            1: 4, // 已卖出 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            1: 2, // 已转让 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             2: 1, // 上架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             3: 0, // 下架 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -365,6 +368,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.$successToast(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.getDetail(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.crossPage.$emit('reloadHomePage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.crossPage.$emit('reloadGoodsListPage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.crossPage.$emit('reloadMyIssueListPage'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }).catch(() => {}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |