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

<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>

	<view class="panelTop FlexColumn">
		<image wx:if="{{BtnArray[0].Selected==1}}" class="study_index_usually" src="../images/study_index_usually.png" bindtap="btnSelected" data-id="0"></image>
		<image wx:if="{{BtnArray[1].Selected==1}}" class="study_index_usually" src="../images/study_index_urgency.png" bindtap="btnSelected" data-id="1"></image>
		<image wx:if="{{BtnArray[2].Selected==1}}" class="study_index_usually" src="../images/study_index_overall.png" bindtap="btnSelected" data-id="2"></image>

		<image class="study_plan_header" src="../images/study_plan_header.png"></image>
		<view class='lineFooter'></view>
	</view>

	<view class="panelButtonTop FlexRow">
		<view class="btnChange FlexRow" bindtap="goto" data-url="./setting">
			<image class="universalpic_setup_black_30x30" src="../images/universalpic_setup_black_30x30.png" />
			<view>设置学习计划</view>
		</view>
	</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="lineWidthAll FlexRow">
		<view class="lineWidth690"></view>
	</view>
	<view class="panelItem FlexRow">
		<view class="left FlexColumn">
			<view class="text2">任务量</view>
			<view class="text3">今天需要练习的题卡总数</view>
		</view>
		<view class="right FlexRow">
			<view class="Number">{{TaskNumber}}</view>
			<view class="text4">张</view>
		</view>
	</view>
	<view class="lineWidthAll FlexRow">
		<view class="lineWidth690"></view>
	</view>
	<view class="panelItem FlexColumn">
		<view class="panelItem FlexRow">
			<view class="text7">数量组成</view>
		</view>
		<view class="panelItem10 panelItem1 FlexRow">
			<view class="panelItem11 FlexRow" wx:if="{{CardType==0 || CardType==2}}">
				<view class="Null1" wx:if="{{CardType<2}}"></view>
				<template class="fan" is="fanTemplate" data="{{Angle1,Angle2,BGColor,FanSize,FanScale,Color1,Color2,ShowNumber}}">
				</template>
				<view class="Null2" wx:if="{{CardType<2}}"></view>
				<view class="list FlexColumn">
					<block wx:if="{{CardType==2}}">
						<view class="item FlexRow">
							<view class="text6">日常题卡</view>
						</view>
						<view class="item FlexRow">
							<view class="Number2">{{StudyPlan.CommonNewLength+StudyPlan.CommonOldLength}}</view>
							<view class="text6">张</view>
						</view>
					</block>
					<view class="item2 item FlexRow">
						<view class="block1 block"></view>
						<view class="text6">新题卡</view>
						<view class="Number1">{{StudyPlan.CommonNewLength}}</view>
					</view>
					<view class="item FlexRow">
						<view class="block2 block"></view>
						<view class="text6">旧题卡</view>
						<view class="Number1">{{StudyPlan.CommonOldLength}}</view>
					</view>
				</view>
			</view>
			<view class="panelItem11 FlexRow" wx:if="{{CardType==1 || CardType==2}}">
				<template class="fan" is="fanTemplate2" data="{{Angle12,Angle22,BGColor2,FanSize2,FanScale2,Color12,Color22,ShowNumber2}}">
				</template>
				<view class="list FlexColumn">
					<block wx:if="{{CardType==2}}">
						<view class="item FlexRow">
							<view class="text6">紧急题卡</view>
						</view>
						<view class="item FlexRow">
							<view class="Number2">{{StudyPlan.UrgentNewLength+StudyPlan.UrgentOldLength}}</view>
							<view class="text6">张</view>
						</view>
					</block>
					<view class="item2 item FlexRow">
						<view class="block3 block"></view>
						<view class="text6">新题卡</view>
						<view class="Number1">{{StudyPlan.UrgentNewLength}}</view>
					</view>
					<view class="item FlexRow">
						<view class="block4 block"></view>
						<view class="text6">旧题卡</view>
						<view class="Number1">{{StudyPlan.UrgentOldLength}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
	<view class="lineWidthAll FlexRow">
		<view class="lineWidth690"></view>
	</view>
	<block wx:if="{{StudyPlan.ListReview.length>0}}">
		<view class="panelItem FlexColumn">
			<view class="panelItem21 FlexRow">
				<view class="text21">补习题卡</view>
				<view class="right FlexRow">
					<view class="Number2">{{StudyPlan.ListReview.length}}</view>
					<view class="text6">张</view>
				</view>
			</view>
			<view class="text22">上次练习未练完的题卡，包含在今天任务量内</view>

		</view>
		<view class="lineWidthAll FlexRow">
			<view class="lineWidth690"></view>
		</view>
	</block>
	<view class="panelItem FlexRow">
		<view class="panelItem2 FlexColumn">
			<view class="panelItem21 FlexRow">
				<view class="text21">预计回想</view>
				<view class="right FlexRow">
					<view class="Number2">{{StudyPlan.PracticeNumber}}</view>
					<view class="text6">次</view>
				</view>
			</view>
			<view class="text22">新题卡需回想两次</view>
		</view>
		<view class="panelItem2 FlexColumn">
			<view class="panelItem21 FlexRow">
				<view class="text21">预计用时</view>
				<view class="right FlexRow">
					<view class="Number2">{{StudyPlan.PracticeTime}}</view>
					<view class="text6">分钟</view>
				</view>
			</view>
			<view class="text22">根据近期估算参考</view>
		</view>
	</view>
	<view class="lineWidthAll FlexRow">
		<view class="lineWidth750"></view>
	</view>
	<view class="panelItem FlexRow">
		<view class="panelItem4 FlexRow" bindtap="gotoTaskList" data-id="1">
			<view class="text8">未练完的题卡</view>
		</view>
	</view>
	<view class='lineFooter'></view>
	<view class="line"></view>
	<view class="panelTitle FlexRow">
		<image class="universalpic_plan_2line_black_30x32" src="../images/universalpic_plan_done_black_30x32.png" />
		<view class="panelTitle1">完成情况</view>
	</view>
	<view class="lineWidthAll FlexRow">
		<view class="lineWidth690"></view>
	</view>
	<view class="panelItem FlexColumn">
		<view class="panelItem FlexRow">
			<view class="text7">当日练完</view>
			<view class="right FlexRow">
				<view class="Number2">{{StudyPlan.AlreadyPracticeNumber}}</view>
				<view class="text6">张</view>
			</view>
		</view>
		<view class="panelItem1 FlexRow">
			<view class="progress">
				<view class="progress1" style="width:{{Progress}}%;"></view>
			</view>
		</view>
		<view class="panelItem FlexRow">
			<view class="text71">进度</view>
			<view class="right FlexRow">
				<view class="Number4">{{Progress}}%</view>
			</view>
		</view>
	</view>

	<view class="lineWidthAll FlexRow">
		<view class="lineWidth750"></view>
	</view>
	<view class="panelItem FlexRow">
		<view class="panelItem4 FlexRow" bindtap="gotoTaskList" data-id="2">
			<view class="text8">练完的题卡</view>
		</view>
	</view>
	<view class='lineFooter'></view>
	<view class="line"></view>
</view>

<view wx:if="{{IsNullCard}}" class="TempContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>

	<image class="Avatar" src='../images/universalpic_logo_200x200.png' />
	<text class='RemindText'>没有题卡不能使用</text>
	<text class='RemindText2'>该练习方案中没有题卡，请增添题卡后再试。</text>
	<view class="RemindLine"></view>
	<text class='RemindText3'>解决办法</text>
	<text class='RemindText4' space="ensp">小程序、官网均可新建紧急练习题卡（新题卡默认为日常练习），相比之下官网建卡更有效率，网址如下帮助。\n\n“整体练习”要求日常、紧急练习中都有题卡才能使用。</text>
	<view class="RemindLine"></view>
	<view class="RemindButton00 FlexRow" catchtap="goto" data-url="../other/help?id=0&idchild=1">
		<view class="FlexRow">
			<image class="universalpic_tips_green_70x70" src='../images/universalpic_tips_green_70x70.png' />
			<view class='RemindButton001 FlexColumn'>
				<view class='RemindButton11'>秒过官网地址</view>
				<view class='RemindButton120 RemindButton12'>以及Google Chrome浏览器安装步骤</view>
			</view>
		</view>
		<image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
	</view>
	<view class="RemindLine"></view>

	<view class="footer FlexRow" catchtap="close">
		知道了
	</view>
</view>

<view wx:if="{{IsChangeStudyPLan}}" class="TempContainer container FlexColumn" style='height:{{Containnerheight}}rpx;'>
	<image class="Avatar" src='../images/universalpic_logo_200x200.png' />
	<text class='RemindText'>启用哪种学习计划？</text>

	<block wx:for="{{BtnArray}}" wx:key="index">
		<view class="RemindLine"></view>
		<view class="RemindButton FlexColumn" catchtap="changePlan" data-id="{{index}}">
			<view class='RemindButton1 FlexRow'>
				<view class="RemindButton10 FlexRow">
					<view wx:if="{{item.Selected==1}}" class='RemindButton0'>当前</view>
					<image wx:if="{{item.Selected==0}}" class="universalpic_setup_green_30x30" src='../images/universalpic_setup_green_30x30.png' />
				</view>
				<view class='RemindButton11'>{{item.Name}}</view>
			</view>
			<view class='RemindButton12' wx:if="{{item.Name2}}">{{item.Name2}}</view>
			<view class='RemindButton13'></view>
		</view>
	</block>
	<view class="RemindLine"></view>
	<text class='RemindText3'>切换后您将看到</text>
	<text class='RemindText4' space="ensp">重新规划今天的任务量。首页、学习计划的参考数据将被更新。请回到首页，重新开始今天的练习（不管之前有无练习）。系统会保存本次选择，无须重复切换。\n\n日常练习、紧急练习的任务量设置是各自独立的。</text>

	<view class="footer FlexRow" catchtap="close">
		取消
	</view>
</view>