examtest_mp/pages/main/main.wxml

191 lines
9.3 KiB
Plaintext

<view class="page">
<!-- <view style="background-color: #ffffff;position: fixed;top: 0;left: 0;z-index: 10;width: 100%;">
<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="" style="margin-top: 20rpx;">
<a class="topItem" bindtap="goIntroduction">
<view class="iconWrap" style="background: #fdbf46;">
<i class="iconfont icon-gonggao09" style="font-size: 70rpx;color: #ffffff;"></i>
</view>
<!-- <image class="topItemImg" src="/images/yewu.png" mode="widthFix"></image> -->
<view class="topItemText topItemTextBlod">业务介绍</view>
</a>
<a class="topItem" bindtap="goFile">
<view class="iconWrap" style="background: #fed6e1;box-sizing: border-box;padding-left: 8rpx;">
<i class="iconfont icon-24gf-folderOpen" style="font-size: 75rpx;color: #ffffff;"></i>
</view>
<!-- <image class="topItemImg" src="/images/ziyuan1.png" mode="widthFix"></image> -->
<view class="topItemText topItemTextBlod">学习资料</view>
</a>
<a class="topItem" bindtap="goCertificate">
<view class="iconWrap" style="background: #1ba37b;">
<i class="iconfont icon-fabuzhengshu" style="font-size: 77rpx;color: #ffffff;"></i>
</view>
<!-- <image class="topItemImg" src="/images/zhengshuSearch.png" mode="widthFix"></image> -->
<view class="topItemText topItemTextBlod">证书查询</view>
</a>
<a class="topItem" bindtap="goExam">
<view class="iconWrap" style="background: #49c9e0;box-sizing: border-box;padding-top: 8rpx;">
<i class="iconfont icon-a-kaoshi5" style="font-size: 65rpx;color: #ffffff;"></i>
</view>
<!-- <image class="topItemImg" src="/images/zizhukaoshi.png" mode="widthFix"></image> -->
<view class="topItemText topItemTextBlod">参加考试</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="goLianxi">
<i class="iconfont icon-tiku" style="font-size: 70rpx;color: #1e89ef;"></i>
<!-- <image class="topItemImg" src="/images/lianxii.png" mode="widthFix"></image> -->
<view class="topItemText">题库练习</view>
</a>
<a class="topItem" bindtap="goYati">
<i class="iconfont icon-kaoshi" style="font-size: 70rpx;color: #1e89ef;position: relative;top: -2rpx;"></i>
<!-- <image class="topItemImg" src="/images/chengjichaxun.png" mode="widthFix"></image> -->
<view class="topItemText">押卷模考</view>
</a>
<a class="topItem" bindtap="goMoni">
<i class="iconfont icon-a-kaoshi2" style="font-size: 72rpx;color: #1e89ef;position: relative;top: 1rpx;"></i>
<!-- <image class="topItemImg" src="/images/yajuankaoshi.png" mode="widthFix"></image> -->
<view class="topItemText">自助模考</view>
</a>
<a class="topItem" bindtap="goCuoti" style="position: relative;">
<i class="iconfont icon-a-zuofei3" style="font-size: 70rpx;color: #1e89ef;"></i>
<!-- <image class="topItemImg" src="/images/cuotiji2.png" mode="widthFix"></image> -->
<view class="topItemText">错题集</view>
<view class="weui-badge" style="position: absolute;top: 1em;right: 1em;" wx:if="{{wrongnum!=0}}">{{wrongnum}}</view>
</a>
<a class="topItem" bindtap="goShoucang">
<i class="iconfont icon-guanzhu06" style="font-size: 70rpx;color: #1e89ef;"></i>
<!-- <image class="topItemImg" src="/images/shoucang.png" mode="widthFix"></image> -->
<view class="topItemText">收藏集</view>
</a>
<a class="topItem" bindtap="testList">
<i class="iconfont icon-lishijilu-copy" style="font-size: 70rpx;color: #1e89ef;"></i>
<!-- <image class="topItemImg" src="/images/kaoshijilu.png" mode="widthFix"></image> -->
<view class="topItemText">考试记录</view>
</a>
<a class="topItem" bindtap="goVideo">
<i class="iconfont icon-shipin" style="font-size: 70rpx;color: #1e89ef;"></i>
<!-- <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>
<!-- <a class="topItem" bindtap="goScore">
<image class="topItemImg" src="/images/chengjichaxun.png" mode="widthFix"></image>
<view class="topItemText">成绩查询</view>
</a> -->
<!-- <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> -->