|  | @@ -1,7 +1,7 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |  	<gracePage :customHeader="false">
 | 
	
		
			
				|  |  |  		<view class="container" slot="gBody">
 | 
	
		
			
				|  |  | -			<swiper class="swiper" @change="change" :circular="swiper.circular">
 | 
	
		
			
				|  |  | +			<swiper class="swiper" @change="change" :circular="swiper.circular" :current="index">
 | 
	
		
			
				|  |  |  				<swiper-item v-for="(v, k) in fetch.items"  v-if="v.data" :key="k" >
 | 
	
		
			
				|  |  |  					<scroll-view scroll-y="true" scroll-x="true" class="scroll-height">
 | 
	
		
			
				|  |  |  						<dream ref="dream" :index="k" :item="v" :control="control" class="item"></dream>
 | 
	
	
		
			
				|  | @@ -19,7 +19,9 @@ var graceRichText = require("@/lib/graceUI/jsTools/richText.js");
 | 
	
		
			
				|  |  |  export default{
 | 
	
		
			
				|  |  |  	data() {
 | 
	
		
			
				|  |  |  		return {
 | 
	
		
			
				|  |  | -			id : 1,
 | 
	
		
			
				|  |  | +			id : 1,
 | 
	
		
			
				|  |  | +			page_id : 1,
 | 
	
		
			
				|  |  | +			index : 0,
 | 
	
		
			
				|  |  |  			swiper : {
 | 
	
		
			
				|  |  |  				index : 0,
 | 
	
		
			
				|  |  |  				circular : false,
 | 
	
	
		
			
				|  | @@ -32,6 +34,8 @@ export default{
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	onLoad(option) {
 | 
	
		
			
				|  |  |  		this.id = option.id;
 | 
	
		
			
				|  |  | +		this.page_id = option.page_id;
 | 
	
		
			
				|  |  | +		this.index = option.index;
 | 
	
		
			
				|  |  |  		this.getData();
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	// 下拉刷新
 | 
	
	
		
			
				|  | @@ -58,13 +62,16 @@ export default{
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  					}
 | 
	
		
			
				|  |  |  				}
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  | +			if (this.swiper.index == this.fetch.items.length - 1) {
 | 
	
		
			
				|  |  | +				this.$refs.dream[this.swiper.index].setSelectShow(true);
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		view : function() {
 | 
	
		
			
				|  |  |  			this.Dever.location('dream/view?id=1');
 | 
	
		
			
				|  |  |  		},
 | 
	
		
			
				|  |  |  		getData : function() {
 | 
	
		
			
				|  |  | -			this.Dever.get(this, 'app/collection/?l=api.getContent', {id:this.id});
 | 
	
		
			
				|  |  | +			this.Dever.get(this, 'app/collection/?l=api.getContent', {id:this.id, page_id:this.page_id});
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	components:{
 |