|  | @@ -32,12 +32,12 @@
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  |  			<view class="text-gray text-sm text-right padding">
 | 
	
		
			
				|  |  |  				<text class="text-gray text-sm text-left sign" v-if="item.user.info">{{item.user.info}}</text>
 | 
	
		
			
				|  |  | -				<view class="icon-display" @click="updateOppose(item)">
 | 
	
		
			
				|  |  | -					<text class="cuIcon-flashbuyfill margin-lr-xs" :class="item.is_oppose ? 'text-red' : ''"></text> {{item.num_oppose}}
 | 
	
		
			
				|  |  | -				</view>
 | 
	
		
			
				|  |  |  				<view class="icon-display" @click="updateUp(item)">
 | 
	
		
			
				|  |  |  					<text class="cuIcon-appreciatefill margin-lr-xs" :class="item.is_up ? 'text-red' : ''"></text> {{item.num_up}}
 | 
	
		
			
				|  |  |  				</view>
 | 
	
		
			
				|  |  | +				<view class="icon-display" @click="updateOppose(item)">
 | 
	
		
			
				|  |  | +					<text class="cuIcon-flashbuyfill margin-lr-xs" :class="item.is_oppose ? 'text-red' : ''"></text> {{item.num_oppose}}
 | 
	
		
			
				|  |  | +				</view>
 | 
	
		
			
				|  |  |  				<view class="icon-display"  @click="updateComment(item.id)">
 | 
	
		
			
				|  |  |  					<text class="cuIcon-messagefill margin-lr-xs"></text> {{item.num_comment}}
 | 
	
		
			
				|  |  |  				</view>
 | 
	
	
		
			
				|  | @@ -54,12 +54,14 @@
 | 
	
		
			
				|  |  |  						<view class="margin-top-sm flex justify-between">
 | 
	
		
			
				|  |  |  							<view class="text-gray text-df" style="width: max-content;">{{v.cdate_string}}</view>
 | 
	
		
			
				|  |  |  							<view class="text-gray">
 | 
	
		
			
				|  |  | -								<view class="icon-display" @click="updateOppose(v)">
 | 
	
		
			
				|  |  | -									<text class="cuIcon-flashbuyfill margin-lr-xs" :class="v.is_oppose ? 'text-red' : ''"></text> {{v.num_oppose}}
 | 
	
		
			
				|  |  | -								</view>
 | 
	
		
			
				|  |  |  								<view class="icon-display" @click="updateUp(v)">
 | 
	
		
			
				|  |  |  									<text class="cuIcon-appreciatefill margin-lr-xs" :class="v.is_up ? 'text-red' : ''"></text> {{v.num_up}}
 | 
	
		
			
				|  |  |  								</view>
 | 
	
		
			
				|  |  | +								
 | 
	
		
			
				|  |  | +								<view class="icon-display" @click="updateOppose(v)">
 | 
	
		
			
				|  |  | +									<text class="cuIcon-flashbuyfill margin-lr-xs" :class="v.is_oppose ? 'text-red' : ''"></text> {{v.num_oppose}}
 | 
	
		
			
				|  |  | +								</view>
 | 
	
		
			
				|  |  | +								
 | 
	
		
			
				|  |  |  								<view class="icon-display"  @click="updateComment(item.id, v.id, v.uid)">
 | 
	
		
			
				|  |  |  									<text class="cuIcon-messagefill margin-lr-xs"></text>
 | 
	
		
			
				|  |  |  								</view>
 | 
	
	
		
			
				|  | @@ -166,7 +168,7 @@
 | 
	
		
			
				|  |  |  					item.num_up++;
 | 
	
		
			
				|  |  |  					item.is_up = true;
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				self.Dever.post('app/community/?l=api.up', {id:item.id,noloading:1});
 | 
	
		
			
				|  |  | +				self.Dever.post('app/community/?l=api.up', {code:self.Dever.config.code, type_id:item.id,noloading:1});
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			updateOppose : function(item) {
 | 
	
		
			
				|  |  |  				var self = this;
 | 
	
	
		
			
				|  | @@ -180,7 +182,7 @@
 | 
	
		
			
				|  |  |  					item.num_oppose++;
 | 
	
		
			
				|  |  |  					item.is_oppose = true;
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | -				self.Dever.post('app/community/?l=api.oppose', {id:item.id,noloading:1});
 | 
	
		
			
				|  |  | +				self.Dever.post('app/community/?l=api.oppose', {code:self.Dever.config.code, type_id:item.id,noloading:1});
 | 
	
		
			
				|  |  |  			},
 | 
	
		
			
				|  |  |  			updateComment : function (type_id, to_id, to_uid) {
 | 
	
		
			
				|  |  |  				this.type = this.type;
 |