<view class="page">
<view>
        <mp-searchbar bindselectresult="selectResult" search="{{search}}" placeholder="搜题"></mp-searchbar>
</view>
	<view class="page-section page-section-spacing swiper">
		<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" style='height:{{Hei}}'>
			<block wx:for="{{background}}" wx:key="*this">
				<swiper-item>
					<image style="width: 100%;" src="{{item}}" bindload='imgH'></image>
				</swiper-item>
			</block>
		</swiper>
	</view>
	<swiper class="swiper_container1" vertical="true" autoplay="true" circular="true" interval="6000">
		<block wx:for="{{msgList}}" wx:key="title">
			<swiper-item>
				<view class="swiper_item1">{{item.title}}</view>
			</swiper-item>
		</block>
	</swiper>
	<view class="weui-cells weui-cells_after-title" style="margin-top:0px">
		<view class="weui-grids">
			<a class="weui-grid" bindtap="goLianxi">
				<view class="weui-grid__icon">
					<image src="/images/suiji.svg" alt></image>
				</view>
				<view class="weui-grid__label">练习</view>
			</a>
			<a class="weui-grid" bindtap="goMoni">
				<view class="weui-grid__icon">
					<image src="/images/moni.svg" alt></image>
				</view>
				<view class="weui-grid__label">自助模考</view>
			</a>
			<a class="weui-grid" bindtap="goYati">
				<view class="weui-grid__icon">
					<image src="/images/yati.svg" alt></image>
				</view>
				<view class="weui-grid__label">押卷模考</view>
			</a>
			<navigator class="weui-grid" url="/pages/cuoti/index">
				<view class="weui-grid__icon">
					<image src="/images/cuoti.svg" alt></image>
				</view>
				<view class="weui-grid__label">错题集</view>
				<view class="weui-badge" style="position: absolute;top: 1em;right: 1em;" wx:if="{{wrongnum!=0}}">{{wrongnum}}</view>
			</navigator>
			<navigator class="weui-grid" url="/pages/collect/main">
				<view class="weui-grid__icon">
					<image src="/images/shoucang.svg" alt></image>
				</view>
				<view class="weui-grid__label">收藏集</view>
				<view class="weui-badge" style="position: absolute;top: 1em;right: 1em;" wx:if="{{collectnum!=0}}">{{collectnum}}</view>
			</navigator>

			
			<a class="weui-grid" bindtap="testList">
				<view class="weui-grid__icon">
					<image src="/images/ksjl.svg" alt></image>
				</view>
				<view class="weui-grid__label">考试记录</view>
			</a>
		</view>
	</view>
	<view style="height: 120rpx;margin-top:4rpx;display: flex;">
		<navigator url="/pages/exam/index" style="width: 50%;padding: 4rpx;">
		<view class="bigCard">
			<image src="/images/exam.svg" style="margin-right: 16rpx;width:40rpx; height: 40rpx;"></image>
			<view>Ⅲ类自测入口</view></view>
		</navigator>
		<navigator url="/pages/candidate/my" style="width: 50%;padding: 4rpx;">
			<view class="bigCard">
			<image src="/images/candidate.svg" style="margin-right: 16rpx;width:40rpx; height: 40rpx;"></image>
			<view>Ⅲ类报告单</view></view>
		</navigator>
	</view>
		<view class="weui-cells weui-cells_after-title" style="margin-top:4rpx">
			<view bindtap="showDg" class="weui-cell weui-cell_access" hover-class="weui-cell_active">
			<view class="weui-cell__hd">
				<image src="/images/candidate.svg" style="margin-right: 16px;vertical-align: middle;width:20px; height: 20px;"></image>
			</view>
			<view class="weui-cell__bd">放射工作/管理人员</view>
			<view class="weui-cell__ft weui-cell__ft_in-access" style="color:red">
				<!-- <span wx:if="{{to_read}}">{{to_read}}条未读</span> -->
			</view>
		</view>
		<navigator url="/pages/candidate/index" class="weui-cell weui-cell_access" hover-class="weui-cell_active">
			<view class="weui-cell__hd">
				<image src="/images/candidate.svg" style="margin-right: 16px;vertical-align: middle;width:20px; height: 20px;"></image>
			</view>
			<view class="weui-cell__bd">成绩报告单查询</view>
			<view class="weui-cell__ft weui-cell__ft_in-access" style="color:red">
				<!-- <span wx:if="{{to_read}}">{{to_read}}条未读</span> -->
			</view>
		</navigator>
	</view>
	<view style="margin-top:6px">
		<!-- <a class="weui-btn weui-btn_primary" bindtap="Baoming" >前往正式报名</a> -->
	</view>


</view>
<mp-halfScreenDialog 
  show="{{dg1}}"
  title="放射工作/管理人员" 
	subTitle="湖南华科"
>
<view slot="desc" style="height: 120rpx;display: flex;width: 100%;">
		<navigator url="/pages/video/index" style="width: 50%;padding: 4rpx;">
		<view class="bigCard">
			<image src="/images/video.svg" style="margin-right: 16rpx;width:40rpx; height: 40rpx;"></image>
			<view>视频课程</view></view>
		</navigator>
    <navigator url="/pages/exam/index"  style="width: 50%;padding: 4rpx;">
			<view class="bigCard">
			<image src="/images/test.svg" style="margin-right: 16rpx;width:40rpx; height: 40rpx;"></image>
			<view>自主考核</view></view>
		</navigator>
		<navigator url="/pages/candidate/my" style="width: 50%;padding: 4rpx;">
			<view class="bigCard">
			<image src="/images/candidate.svg" style="margin-right: 16rpx;width:40rpx; height: 40rpx;"></image>
			<view>我的证书</view></view>
		</navigator>
</view>
</mp-halfScreenDialog>