113 lines
5.1 KiB
Plaintext
113 lines
5.1 KiB
Plaintext
<!--index.wxml-->
|
|
<cu-custom bgColor="bg-darkblue" isBack="{{false}}" isRelaunch="{{false}}">
|
|
<view slot="content" style="color:#FFFFFF;">包头应急管理局</view>
|
|
</cu-custom>
|
|
<view style="display:flex;flex-direction:column;">
|
|
<!-- 姓名和头像 -->
|
|
<view style="width:100%;" bindtap="showMineInfo">
|
|
<image src="/images/icons/ic_user_center_bg.png" mode="scaleToFill" style="width:100%;height:300rpx;"></image>
|
|
<view class="userinfo-container">
|
|
<view class="userinfo-icon round lg" style="background-image:url({{userIcon}});">
|
|
</view>
|
|
<view class="userinfo-content">
|
|
<view class="text-white">
|
|
<text class="text-lg text-cut">{{nickName}}</text>
|
|
</view>
|
|
<view class="text-white text-df flex" style="width:300rpx">
|
|
<text class="text-cut">查看个人详细信息</text>
|
|
<text class="cuIcon-right text-white margin-left-smm"></text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 内容 -->
|
|
<view class="page-content">
|
|
<!-- 功能按钮 -->
|
|
<view class="page-function">
|
|
<view class="funcation-item" bindtap="choosePage" data-page="1">
|
|
<image src="../../images/icons/ic_organ_icon.png" mode="scaleToFill"></image>
|
|
<text class="text-df margin-top-xs">培训机构查询</text>
|
|
</view>
|
|
<view class="funcation-item" bindtap="choosePage" data-page="2">
|
|
<image src="../../images/icons/ic_score_icon.png" mode="scaleToFill"></image>
|
|
<text class="text-df margin-top-xs">成绩查询</text>
|
|
</view>
|
|
<view class="funcation-item" bindtap="choosePage" data-page="3">
|
|
<image src="../../images/icons/ic_ticket_icon.png" mode="scaleToFill"></image>
|
|
<text class="text-df margin-top-xs">准考证查询</text>
|
|
</view>
|
|
<view class="funcation-item" bindtap="choosePage" data-page="4">
|
|
<image src="../../images/icons/ic_testsite_icon.png" mode="scaleToFill"></image>
|
|
<text class="text-df margin-top-xs">考试网点查询</text>
|
|
</view>
|
|
</view>
|
|
<view class="page-list-content">
|
|
<!-- 内容 -->
|
|
<view class="page-list">
|
|
<view class="nav">
|
|
<view class="cu-item text-bold {{index=='1' ? 'text-darkblue cur text-lg' : 'text-df'}}" bindtap="tabSelect"
|
|
data-id="{{1}}">
|
|
开班通告
|
|
</view>
|
|
<view class="cu-item text-bold {{index=='2' ? 'text-darkblue cur text-lg' : 'text-df'}}" bindtap="tabSelect"
|
|
data-id="{{2}}">
|
|
报考问答
|
|
</view>
|
|
</view>
|
|
<view class="showmore" bindtap="showMoreList">
|
|
<text class="text-sm text-darkblue">更多</text>
|
|
<text class="cuIcon-roundright text-darkblue margin-left-smm"></text>
|
|
</view>
|
|
</view>
|
|
<!-- 开班通告 -->
|
|
<view wx:if="{{index==1}}">
|
|
<view class="list" wx:if="{{noticeList.length>0}}">
|
|
<view class="item" wx:for="{{noticeList}}" wx:key="index" bindtap="showNoticeDetail" data-item="{{item}}">
|
|
<image class="cu-avatar radius" style="width:200rpx;height:120rpx;min-width:200rpx;min-height:120rpx;"
|
|
src="{{item.showPhoto}}" mode="scaleToFill"></image>
|
|
<view class="content">
|
|
<text class="text-cut-two text-black text-bold">{{item.title}}</text>
|
|
<view class="flex justify-between">
|
|
<text class="text-cut">{{item.source}}</text>
|
|
<text class="text-cut">{{item.publishDate}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-empty description="暂无数据" wx:else />
|
|
</view>
|
|
|
|
<!-- 报考问答 -->
|
|
<view wx:elif="{{index==2}}">
|
|
<view class="list" wx:if="{{answerList.length>0}}">
|
|
<view class="item" wx:for="{{answerList}}" wx:key="index" bindtap="showAnswerDetail" data-item="{{item}}">
|
|
<image class="cu-avatar radius" style="width:200rpx;height:120rpx;min-width:200rpx;min-height:120rpx;"
|
|
src="{{item.showPhoto}}" mode="scaleToFill"></image>
|
|
<view class="content">
|
|
<text class="text-cut text-black text-bold">{{item.title}}</text>
|
|
<view class="flex justify-between">
|
|
<text class="text-cut">{{item.source}}</text>
|
|
<text class="text-cut">{{item.publishDate}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-empty description="暂无数据" wx:else />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
<van-popup show="{{ show }}" position="bottom" bind:close="onClose">
|
|
<view style="padding:20rpx;">
|
|
<view class="text-xl text-bold margin-bottom-sm">手机号绑定</view>
|
|
<view class="cu-bar bg-white search">
|
|
<view class="search-form round" style="margin-top:5rpx;margin-bottom:5rpx">
|
|
<text class="cuIcon-mobile"></text>
|
|
<input cursor-spacing="80" type="text" placeholder="请输入手机号" confirm-type="done" bindinput="bindPhone"></input>
|
|
</view>
|
|
</view>
|
|
<view class="cu-btn bg-gradual-blue radius margin-top padding-tb" style="width:100%;"
|
|
bindtap="doBindPhone">绑定</view>
|
|
</view>
|
|
</van-popup> |