You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					22 lines
				
				609 B
			
		
		
			
		
	
	
					22 lines
				
				609 B
			| 
								 
											6 years ago
										 
									 | 
							
								<!--components/focus/index.wxml-->
							 | 
						||
| 
								 | 
							
								<view class="focus">
							 | 
						||
| 
								 | 
							
								  <view class="focus_icon">
							 | 
						||
| 
								 | 
							
								    <image src="images/focus.png" style="width: 40px; height: 20px"></image>
							 | 
						||
| 
								 | 
							
								  </view>
							 | 
						||
| 
								 | 
							
								  <view class="focus_swiper" id="focus_swiper">
							 | 
						||
| 
								 | 
							
								    <swiper
							 | 
						||
| 
								 | 
							
								      autoplay="{{true}}"
							 | 
						||
| 
								 | 
							
								      interval="{{3000}}"
							 | 
						||
| 
								 | 
							
								      duration="{{1000}}"
							 | 
						||
| 
								 | 
							
								      vertical="{{true}}"
							 | 
						||
| 
								 | 
							
								      circular="{{true}}"
							 | 
						||
| 
								 | 
							
								    >
							 | 
						||
| 
								 | 
							
								      <block wx:for="{{items}}" wx:key="*this"> 
							 | 
						||
| 
								 | 
							
								        <swiper-item>
							 | 
						||
| 
								 | 
							
								          <view bindtap="onTap" data-item="{{item}}" class="focus_swiper_item">{{item.title}}</view>
							 | 
						||
| 
								 | 
							
								        </swiper-item>
							 | 
						||
| 
								 | 
							
								      </block>
							 | 
						||
| 
								 | 
							
								    </swiper>
							 | 
						||
| 
								 | 
							
								  </view>
							 | 
						||
| 
								 | 
							
								</view>
							 |