<view class="table" hidden="{{!list.length}}">
	<view class="label">
		<text class="text" />
		区域经销商统计（万元）
	</view>

	<scroll-view class="scroll" scroll-x>
		<view class="row-label">
			<view class="line-1">
				排名
			</view>
			<view class="line-1">
				经销商
			</view>
			<view class="line-1">
				月回款额
			</view>
			<view class="line-1">
				年回款额
			</view>
			<view class="line-1">
				当月目标
			</view>
			<view class="line-1">
				当月达成
			</view>
			<view class="line-1">
				季度目标
			</view>
			<view class="line-1">
				季度达成
			</view>
		</view>
		<view>
			<view class="row" wx:for="{{list}}">
				<view class="line-1">
					<!-- 排名 -->
					<view class="tag" style="background-color: {{item.rowindex>3?'#4480FF':'#FF9300'}};">
						{{item.rowindex}}
					</view>
				</view>
				<view class="line-1">
					<!-- 经销商 -->
					{{item.agentnum}}
				</view>
				<view class="line-1">
					<!-- 月回款 -->
					{{item.sumamount_currentmonth}}
				</view>
				<view class="line-1">
					<!-- 年度回款 -->
					{{item.sumamount_year}}
				</view>
				<view class="line-1">
					<!-- 当月目标 -->
					{{item.thisMonth.target}}
				</view>
				<view class="line-1">
					<!-- 当月达成 -->
					{{item.thisMonth.fulfill}}
				</view>
				<view class="line-1">
					<!-- 季度目标 -->
					{{item.quarter.target}}
				</view>
				<view class="line-1">
					<!-- 季度达成 -->
					{{item.quarter.fulfill}}
				</view>
			</view>
		</view>
	</scroll-view>

</view>