examtest_mp/pages/main/main.wxml

173 lines
7.8 KiB
Plaintext

<view class="page">
<view style="background-color: #ffffff;position: fixed;top: 0;left: 0;z-index: 10;width: 100%;">
<!-- <input class="weui-input searchInput" maxlength="10" bindinput="search" placeholder="搜题"/> -->
<mp-searchbar class="searchWrap" 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 class="swiperImgItem">
<image class="swiperImg" style="width: 100%;height: 300rpx;" 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 class="swiperTextItem">
<view class="swiper_item1">{{item.title}}</view>
</swiper-item>
</block>
</swiper>
<!-- 快捷按钮 -->
<view class="listItemsWrap">
<!-- <view class="listItemsTitle"> 人员考试</view> -->
<a class="topItem" bindtap="goIntroduction">
<image class="topItemImg" src="/images/yewu.png" mode="widthFix"></image>
<view class="topItemText">业务介绍</view>
</a>
<a class="topItem" bindtap="goFile">
<image class="topItemImg" src="/images/ziyuan1.png" mode="widthFix"></image>
<view class="topItemText">资料下载</view>
</a>
<a class="topItem" bindtap="goCertificate">
<image class="topItemImg" src="/images/zhengshuSearch.png" mode="widthFix"></image>
<view class="topItemText">证书查询</view>
</a>
<a class="topItem" bindtap="goExam">
<image class="topItemImg" src="/images/canjiakaoshi.png" mode="widthFix"></image>
<view class="topItemText">参加考试</view>
</a>
</view>
<!-- <a class="topItem" bindtap="toThreshold">
<image class="topItemImg" src="/images/yewu.png" mode="widthFix"></image>
<view class="topItemText">阈值数据库</view>
</a>
<a class="topItem" bindtap="goScore">
<image class="topItemImg" src="/images/yewu.png" mode="widthFix"></image>
<view class="topItemText">成绩查询</view>
</a> -->
<!-- -->
<view class="listItemsWrap" >
<view class="listItemsTitle"> 人员考试</view>
<view wx:if="{{userinfo && userinfo.name}}">
<a class="topItem" bindtap="goYati">
<image class="topItemImg" src="/images/zizhukaoshi.png" mode="widthFix"></image>
<view class="topItemText">押卷模考</view>
</a>
<a class="topItem" bindtap="goMoni">
<image class="topItemImg" src="/images/yajuankaoshi.png" mode="widthFix"></image>
<view class="topItemText">自助模考</view>
</a>
<a class="topItem" bindtap="goLianxi">
<image class="topItemImg" src="/images/lianxi.png" mode="widthFix"></image>
<view class="topItemText">题库练习</view>
</a>
<a class="topItem" bindtap="goCuoti">
<image class="topItemImg" src="/images/cuotiji2.png" mode="widthFix"></image>
<view class="topItemText">错题集</view>
</a>
<a class="topItem" bindtap="goShoucang">
<image class="topItemImg" src="/images/shoucang.png" mode="widthFix"></image>
<view class="topItemText">收藏集</view>
</a>
<a class="topItem" bindtap="testList">
<image class="topItemImg" src="/images/kaoshijilu.png" mode="widthFix"></image>
<view class="topItemText">考试记录</view>
</a>
<a class="topItem" bindtap="goCertificate">
<image class="topItemImg" src="/images/chengjichaxun.png" mode="widthFix"></image>
<view class="topItemText">成绩查询</view>
</a>
<a class="topItem" bindtap="goVideo">
<image class="topItemImg" src="/images/video.png" mode="widthFix"></image>
<view class="topItemText fontAli">视频课程</view>
</a>
</view>
<view wx:else>
<view style="font-size: 30rpx;color: #333333;letter-spacing: 0.1em;text-align: center;">登陆后,即可刷题学习,参与考试</view>
<navigator url="/pages/login/login" style="text-align: center;">
<view style="background-color: #438af4;display: inline-block;color: #ffffff;width: 350rpx;height:90rpx;line-height: 90rpx;text-align: center;border-radius: 45rpx;margin-top: 20rpx;">立即登录</view>
</navigator>
</view>
</view>
<!-- <view class="weui-cells weui-cells_after-title" style="margin-top:0px;padding: 20rpx;">
<view class="examDepTitle">人员考试</view>
<view class="weui-flex">
<a class="weui-flex__item" bindtap="goYati">
<view class="weui-grid__icon">
<image src="/images/yati.svg" alt></image>
</view>
<view class="weui-grid__label">正式考试</view>
</a>
<a class="weui-flex__item" 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-flex__item" bindtap="goLianxi">
<view class="weui-grid__icon">
<image src="/images/suiji.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">
</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">
</view>
</navigator>
</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> -->