mini-system-examination-signup/pages/card/cardlist.wxml
2021-07-23 11:18:54 +08:00

38 lines
1.8 KiB
Plaintext

<!--pages/branches/brancheslist.wxml-->
<cu-custom bgColor="bg-darkblue" isBack="{{true}}" isRelaunch="{{false}}">
<view slot="content" style="color:#FFFFFF;">准考证查询</view>
</cu-custom>
<scroll-view style="padding-left:10rpx;padding-right:10rpx;margin-top:-10px;">
<view class="list" wx:if="{{cardList.length>0}}">
<view class="item bg-white" wx:for="{{cardList}}" wx:key="index" data-item="{{item}}" bindtap="showDetail">
<view class="content" style="width:100%;">
<text class="text-black text-bold">{{item.planName}}</text>
<view class="margin-top-sm">
<text class="cuIcon-time text-darkblue"></text>
<text>开始时间:{{item.examTimeStart}}</text>
</view>
<view class="margin-top-sm">
<text class="cuIcon-time text-darkblue"></text>
<text>结束时间:{{item.examTimeEnd}}</text>
</view>
<view class="margin-top-sm">
<text class="cuIcon-location text-darkblue"></text>
<text>培训机构:{{item.orgName}}</text>
</view>
<view class="margin-top-sm">
<text class="cuIcon-home text-darkblue"></text>
<text>地址:{{item.examAddress}}</text>
</view>
</view>
<view>
<text class="cuIcon-right text-gray"></text>
</view>
</view>
</view>
<van-empty description="暂无数据" wx:else />
</scroll-view>
<van-popup show="{{ show }}" position="center" bind:close="onClose">
<view style="padding:20rpx;">
<image src="{{cardData}}" mode="scaleToFill"></image>
</view>
</van-popup>