<view class="switch_tab_container">
    
  
    

    <van-notice-bar wx:if="{{noticeVis}}" left-icon="volume-o" mode="link" text="{{'通知:'+notice}}" bindtap="gomyNotice"/>
	<van-popup show="{{ show }}" bind:close="onClose">
		<view class="nr_box">
			<view class="title">学员培训协议</view>
			<view class="zw">
				<!-- <view class="dl">各位学员：</view> -->
				<view>各位学员：</view>
				<view class="dl">欢迎您参加吉林长春社区干部学院线上培训班，我们将为您开启一次温馨难忘、受益良多的学习与心灵之旅。现就有关事宜提示如下：</view>
				<!-- <image src="../../images/ewm.jpg" class="ewm"></image>
				<view class="ermname">吉林长春社区干部学院微信公众号二维码</view> -->
				<view class="dl">★培训期间请自觉遵守中组部关于加强学员管理“九条规定”，严守学习纪律，全程认真听讲，回答课程中出现的问题。如有特殊情况不能参加培训，需向当地组织部门请假，由当地组织部门统一告知学院及班主任。</view>
				<view class="dl">★请认真查看课程安排，按照顺序及要求学习培训课程，严格遵守培训时间，需在规定时间内完成培训内容。</view>
				<view class="dl">★认真、如实填写学员信息登记表。</view>
				<view class="dl">★担任社区书记、社区副书记职务的需加入班级微信群。</view>
				<view class="dl">★完成所有课程后需自行在网上领取结业证。</view>
				<view class="dl">★在任何情况下皆应对帐号注册资料严格保密，不得提供、泄露给他人，若因违反保密操作要求导致的任何后果由自己负责。</view>
				<view class="dl">★学院提供的服务包括但不限于：文字、软件、图片、图表、音频、视频等，均属学院所有，并受法律保护，只能在学院授权下才能为自用目的合理使用，不能擅自复制、再造这些内容，或创造与这些内容有关的衍生作品或产品。</view>
			</view>
			<view class="agree_text">点击按钮即表示同意<text style="color:red">《学员培训协议》</text></view>
			<view class="agree_btn" bindtap="hidePopup">同意协议并进入我的班级</view>
			<view class="thinking" bindtap="moreThink">我再想想</view>
		</view>
	</van-popup>

	<!--    -->
	

    <view class="classInfo" wx:if="{{classVis}}">
	  <van-image round width="120rpx" height="120rpx" src="{{classInfo.logoImg}}" fit="cover"/>
	  <view class="classInfo_text">
	    <view class="classInfo_title van-ellipsis">{{classInfo.clasName}}</view>
		<view class="classInfo_tip"><van-icon name="clock-o" style="padding-right:10rpx;" /> {{classInfo.clasBegin}} - {{classInfo.clasEnd}}</view>
	  </view>
	</view>
    <view class="classInfo_cell" >
		<van-cell size="large"  bindtap="toAdd1" is-link >
			<view slot="title">
				<view class="van-cell-text"><van-image width="24" height="24" src="{{icon_school}}" /> 学院介绍</view> 
			</view>
		</van-cell>
		<van-cell wx:if="{{classVis}}" size="large" bindtap="toAdd3" is-link >
			<view slot="title">
				<view class="van-cell-text"><van-image width="24" height="24" src="{{icon_doc}}" /> 项目组名单</view> 
			</view>
		</van-cell>
	</view>
    



	<!-- 没有认证 -->
    <view wx:if="{{isRz}}" >
        <van-empty  description="您还没有进行身份认证哦!" />
		<view catchtap="goRz" class="empty_rz"><view class="button_rz">去认证</view></view>
    </view>
    <!-- 班级错误 -->
	<view wx:if="{{classErrVis}}">
        <van-empty image="error" description="学员不可同时存在两个班级中。" />
    </view>
    
    <!-- 没有开班的班级 -->
	<view wx:if="{{classNVis}}">
        <van-empty description="您当前还没有正在开放的班级！" style="color:#ff0000"></van-empty>
		
		<view class="sche_list" wx:if="{{scheduleList.length>0}}">
		  <view class="sche_list_sche" >您所在的班级:</view>
		  <view wx:for="{{scheduleList}}">
			<view class="sche_list_name van-ellipsis">{{item.clasName}}</view>
			<view class="sche_list_time">开班时间: {{item.clasBegin}} - {{item.clasEnd}}</view>
		  </view>
		</view>
    </view>


    <view class="stu_list_container" wx:if="{{classVis}}">
        <van-cell size="large"   >
			<view slot="title">
				<view class="van-cell-text"><van-image width="24" height="24" src="{{icon_stu}}" /> 学员名单</view> 
			</view>
		</van-cell>
		</view>
		<view wx:if="{{classVis}}" class="stu_list">
		<view class="stu_item" wx:for="{{stuInfo.list}}" bindtap = "onClickShow" data-item="{{item}}">
			<van-image round width="110rpx" height="110rpx" src="{{item.avatar}}" fit="cover"/>
			<view class="stu_con">
			<view class="stu_text"> 
				<view class="stu_line"><view class="stu_name">{{item.studentName}}</view><van-image width="32rpx" height="32rpx" src="{{item.studentSex==0?gender_icon_m:gender_icon_f}}" fit="cover"/>　<van-tag class="stu_tag" type="primary" wx:if="{{item.register==0}}">已登记</van-tag><van-tag class="stu_tag" type="warning" wx:else>未登记</van-tag> </view>
				<view class="stu_check">查看名片 </view>
			</view>
			<view class="stu_progress">学习进度:{{item.studyProgress}}%</view>
			<van-progress percentage="{{item.studyProgress}}" color="#5FD387"/>
			</view>
		</view>
	
	</view>

	<van-overlay show="{{ cardVis }}" bind:click="onClickHide">
		<view class="card_wrapper">
		    <view class="card_block">
			  <view class="card_info">
			    <view class="card_con">
				  <view class="card_left">
				    <van-image round width="120rpx" height="120rpx" src="{{stuItem.avatar}}" fit="cover"/>
					<van-tag class="class-tag" type="primary" wx:if="{{stuItem.register==0}}">已登记</van-tag>
					<van-tag class="class-tag" type="warning" wx:else>未登记</van-tag>
				  
				  </view>
				  <view class="card_right">
				    <view class="card_line"><view class="card_name">{{stuItem.studentName}}</view> <view class="card_gender">{{stuItem.studentSex==0?"男":"女"}}</view></view>
					<view class="card_duty">{{jobArr[stuItem.studentDuty-1].dictLabel}}</view>
					<view class="card_tel"><van-icon name="phone" class="card_tel_icon"/>　{{stuItem.studentPhone}}</view>
				  </view>
				</view>
				<view class="card_progress">学习进度:{{stuItem.studyProgress}}%</view>
				<van-progress percentage="{{stuItem.studyProgress}}" stroke-width="12rpx" color="#5FD387"/>
			  </view>
			</view>
			<view class="card_close"><van-icon name="cross" /></view>
		</view>
    </van-overlay>








</view>