<!--pages/personal/personal.wxml-->
<view class="container">
	<view class="page-body">
		<view class="page-section page-section-spacing swiper">
			<swiper autoplay="true" interval="{{interval}}" duration="{{duration}}" circular="true"
				current="{{swiperCurrent}}" bindchange="swiperChange">
				<block wx:for="{{img_url}}" wx:key="index">
					<swiper-item>
						<view class="swiper-item">
							<image src="{{item}}"></image>
						</view>
					</swiper-item>
				</block>
			</swiper>
		</view>
		<view class="dots">
			<block wx:for="{{img_url}}" wx:key="unique">
				<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
			</block>
		</view>
	</view>
	<!--内容-->

	<view class="view-bg top40">
		<view class="personal-name">
			{{name}} <text>{{nm_number}}票</text>
		</view>
		<!--作品列表-->
		<view class="works">
			<block wx:for="{{works_list}}" wx:key="index">
				<view class="list">
					<view class="img" bindtap='picture'>
						<view class="id">{{item.ids}}<text>号</text></view>
						<image mode="aspectFill" src="{{item.img}}"></image>
					</view>
					<view class="personal-right">
						<view class="text">
							简介：{{item.text}}
						</view>
						<view class="name">
							<text>{{item.number}}</text>
						</view>
					</view>
				</view>
			</block>
			<!--view class="upload">
                <button bindtap="again">继续上传</button>
            </view-->
		</view>
	</view>
</view>
