<import src="../template/Fan.wxml" />

<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
	<view class="line"></view>
	<view class="panelTitle FlexRow">
		<image class="universalpic_plan_2line_black_30x32" src="../images/universalpic_plan_data_black_30x32.png" />
		<view class="panelTitle1">参考数据</view>
	</view>
	<view class="lineWidthAll1 FlexRow">
		<view class="lineWidth690"></view>
	</view>
	<view class="panelItem0 panelItem FlexRow">
		<template class="fan" is="fanTemplate" data="{{Angle1,Angle2,BGColor,FanSize,FanScale,Color1,Color2,ShowNumber}}">
		</template>
	</view>
	<view class="panelItem FlexColumn">
		<view class="panelItemSquare FlexRow">
			<view class="panelItemSquare1 FlexColumn">
				<view class="panelItemSquare11 FlexRow">
					<view class="block1 block"></view>
					<view class="panelItemSquare111">题卡数量</view>
				</view>
				<view class="panelItemSquare11 FlexRow">
					<view class="panelItemSquare112" wx:if="{{CardType=='0'}}">日常练习模式包含题卡总数</view>
					<text class="panelItemSquare112" wx:if="{{CardType=='1'}}">紧急练习模式最多容纳200张\n使用过程中请适当调配题卡</text>
				</view>
			</view>
			<view class="panelItemSquare2 FlexColumn">
				<view class="panelItemSquare21 FlexRow">
					<view class="panelItemSquare210" wx:if="{{CardType=='1' && CardNumberCurrent>=200}}">容量已满</view>
					<view class="Number61">{{CardNumberCurrent}}</view>
					<view class="panelItemSquare212">张</view>
				</view>
				<view class="panelItemSquare22 FlexRow">
					<view class="panelItemSquare221">新题卡</view>
					<view class="Number62">{{NewCardAll}}</view>
				</view>
				<view class="panelItemSquare23 FlexRow">
					<view class="panelItemSquare221">旧题卡</view>
					<view class="Number62">{{HistoryCardAll}}</view>
				</view>
			</view>
		</view>
		<view class="lineWidthAll1 FlexRow">
			<view class="lineWidth240"></view>
		</view>
		<view class="panelItemSquare0 panelItemSquare FlexRow">
			<view class="panelItemSquare1 FlexColumn">
				<view class="panelItemSquare11 FlexRow">
					<view class="panelItemSquare112">新建属于<block wx:if="{{CardType=='0'}}">日常</block>
						<block wx:if="{{CardType=='1'}}">紧急</block>练习的题卡
					</view>
				</view>
			</view>
			<view class="panelItemSquare2 FlexColumn">
				<view class="panelItemSquare23 FlexRow">
					<view class="panelItemSquare221">今日新建</view>
					<view class="Number62">{{NewToday}}</view>
				</view>
			</view>
		</view>
		<view class="lineWidthAll1 FlexRow">
			<view class="lineWidth654"></view>
		</view>

		<view class="panelItemSquare0 panelItemSquare FlexRow">
			<view class="panelItemSquare1 FlexColumn">
				<view class="panelItemSquare11 FlexRow">
					<view class="block2 block"></view>
					<view class="panelItemSquare111">到期题卡</view>
				</view>
				<view class="panelItemSquare11 FlexRow">
					<text class="panelItemSquare112">题卡到期才能被练习，到期题卡足够多\n才有满额的任务量，太多时设任务限量</text>
				</view>
			</view>
			<view class="panelItemSquare2 FlexColumn">
				<view class="panelItemSquare21 FlexRow">
					<view class="Number61">{{LimitCardNumber}}</view>
					<view class="panelItemSquare212">张</view>
				</view>
				<view class="panelItemSquare22 FlexRow">
					<view class="panelItemSquare221">新题卡</view>
					<view class="Number62">{{NewLimitTimeToday}}</view>
				</view>
				<view class="panelItemSquare23 FlexRow">
					<view class="panelItemSquare221">旧题卡</view>
					<view class="Number62">{{HistoryLimitTimeToday}}</view>
				</view>
			</view>
		</view>
		<view style="height:20rpx;" wx:if="{{CardType=='1'}}"></view>
		<block wx:if="{{CardType=='0'}}">
			<view class="lineWidthAll1 FlexRow">
				<view class="lineWidth240"></view>
			</view>
			<view class="panelItemSquare01 panelItemSquare0 panelItemSquare FlexRow">
				<view class="panelItemSquare1 FlexColumn">
					<view class="panelItemSquare11 FlexRow">
						<text class="panelItemSquare112">最适合今天回想的题卡数量\n选取规则为今天优先能率先练习它们</text>
					</view>
				</view>
				<view class="panelItemSquare2 FlexColumn">
					<view class="panelItemSquare21 FlexRow">
						<view class="panelItemSquare221">今日到期</view>
					</view>
					<view class="panelItemSquare22 FlexRow">
						<view class="panelItemSquare221">新题卡</view>
						<view class="Number62">{{NewCardNumberAndLimitToday}}</view>
					</view>
					<view class="panelItemSquare23 FlexRow">
						<view class="panelItemSquare221">旧题卡</view>
						<view class="Number62">{{HistoryCardNumberAndLimitToday}}</view>
					</view>
				</view>
			</view>
		</block>
	</view>
	<view class='lineFooter'></view>
	<view class="line"></view>

	<view class="panelItemCircle FlexColumn">
		<view class="panelItemCircleTop panelItemCircle1 FlexRow">
			<view class="panelItemCircle11 FlexColumn">
				<view class="panelItemCircle1110 panelItemCircle111">任务限量</view>
			</view>
			<view>
			</view>
		</view>
		<view class="line2"></view>
		<picker class="panelItemCircle1" bindchange="bindUpdateCardNumberNewMax" value="{{CardMaxNumberNewIndex}}" range="{{CardNumberNew}}">
			<view class="panelItem FlexRow">
				<view class="panelItemCircle11 FlexColumn">
					<view class="panelItemCircle111">新题卡数量上限</view>
				</view>
				<view class="panelItemCircle12 FlexRow">
					<view class="picker" wx:if="{{CardType=='0'}}">
						{{CardMaxNumberNew}}张
					</view>
					<view class="picker" wx:if="{{CardType=='1'}}">
						{{CardMaxNumberNewUrgent}}张
					</view>
					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
				</view>
			</view>
		</picker>
		<view class="line2"></view>
		<picker class="panelItemCircleBottom panelItemCircle1" bindchange="bindUpdateCardNumberHistoryMax" value="{{CardMaxNumberHistoryIndex}}" range="{{CardNumberOld}}">
			<view class="panelItemCircleBottom panelItem FlexRow">
				<view class="panelItemCircle11 FlexColumn">
					<view class="panelItemCircle111">旧题卡数量上限</view>
				</view>
				<view class="panelItemCircle12 FlexRow">
					<view class="picker" wx:if="{{CardType=='0'}}">
						{{CardMaxNumberHistory}}张
					</view>
					<view class="picker" wx:if="{{CardType=='1'}}">
						{{CardMaxNumberHistoryUrgent}}张
					</view>
					<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
				</view>
			</view>
		</picker>
	</view>
	<view class="line"></view>

	<block wx:if="{{CardType=='0'}}">
		<view class="panelItemCircle FlexRow" bindtap='setSortType'>
			<view class="panelItemCircle110 panelItemCircle11 FlexColumn">
				<view class="panelItemCircle111">选取规则</view>
				<view class="panelItemCircle112">规定挑选题卡的方法</view>
			</view>
			<view class="panelItemCircle12 FlexRow">
				<view class="picker">
					{{SortType}}
				</view>
				<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
			</view>
		</view>
	</block>
	<view class="footerHeight"></view>
</view>