|  | @@ -1,5 +1,5 @@
 | 
	
		
			
				|  |  |  <template name="community">
 | 
	
		
			
				|  |  | -	<view class="home">
 | 
	
		
			
				|  |  | +	<view class="home" @touchstart="Dever.slide" @touchend="end">
 | 
	
		
			
				|  |  |  		<view class="card-bottom">
 | 
	
		
			
				|  |  |  			<!-- 顶部分页栏 -->
 | 
	
		
			
				|  |  |  			<view class="top-tab">
 | 
	
	
		
			
				|  | @@ -30,18 +30,19 @@
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |  	name: "community",
 | 
	
		
			
				|  |  |  	props: {
 | 
	
		
			
				|  |  | -		type : {
 | 
	
		
			
				|  |  | -			type : String,
 | 
	
		
			
				|  |  | -			value : null
 | 
	
		
			
				|  |  | -		},
 | 
	
		
			
				|  |  | -		type_id : {
 | 
	
		
			
				|  |  | -			type : String,
 | 
	
		
			
				|  |  | -			value : null
 | 
	
		
			
				|  |  | -		},
 | 
	
		
			
				|  |  | -		name : {
 | 
	
		
			
				|  |  | -			type    : String,
 | 
	
		
			
				|  |  | -			value	: null
 | 
	
		
			
				|  |  | +		info_id : {
 | 
	
		
			
				|  |  | +			type : String,
 | 
	
		
			
				|  |  | +			value : null
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  | +		page_id : {
 | 
	
		
			
				|  |  | +			type : String,
 | 
	
		
			
				|  |  | +			value : null
 | 
	
		
			
				|  |  | +		},
 | 
	
		
			
				|  |  | +		parent_page_id : {
 | 
	
		
			
				|  |  | +			type : String,
 | 
	
		
			
				|  |  | +			value : null
 | 
	
		
			
				|  |  | +		},
 | 
	
		
			
				|  |  | +		index : 0
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	data() {
 | 
	
		
			
				|  |  |  		return {
 | 
	
	
		
			
				|  | @@ -160,6 +161,12 @@ export default {
 | 
	
		
			
				|  |  |  					console.log(1);
 | 
	
		
			
				|  |  |  					break;
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  | +		},
 | 
	
		
			
				|  |  | +		end : function(e) {
 | 
	
		
			
				|  |  | +			var type = this.Dever.slideEnd(e);
 | 
	
		
			
				|  |  | +			if (type == 3 || type == 4) {
 | 
	
		
			
				|  |  | +				this.$emit('goIndex', this.index);
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  }
 |