123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!--pages/recordPages/yyjl/yyjl.wxml-->
- <scroll-view class="containers" scroll-y="{{true}}">
- <view class="tips {{infos.ztDm == 0?'tipsWarning':infos.ztDm == 1?'':infos.ztDm == 4?'tipsError':'tipsSuccess'}}">{{infos.ztDm == 0?'待办理':infos.ztDm == 1?'取消预约':infos.ztDm == 4?'爽约':infos.phzt == 0?'等待办理':infos.fwztDm == 0?'正在办理':'已完成'}}</view>
- <view class="numbers">{{infos.ticketNum? infos.ticketNum:infos.yyhm}}</view>
- <view class="tip">{{infos.ztDm == 2 || infos.ztDm == 3?'请将此电子票出示给窗口工作人员':'预约码'}}</view>
- <view class="infosBox">
- <view class="item" wx:if="{{infos.ckhm}}">
- <view class="label">办理窗口</view>
- <view class="value">{{infos.ckhm != null? infos.ckhm:''}}</view>
- </view>
- <view class="item" wx:if="{{infos.awaitNum}}">
- <view class="label">等待人数</view>
- <view class="value">{{infos.awaitNum}}</view>
- </view>
- <view class="item" wx:if="{{infos.awaitTime}}">
- <view class="label">预计等待</view>
- <view class="value">{{tools.waitTime(infos)}}</view>
- </view>
- <view class="item" wx:if="{{!infos.awaitNum}}">
- <view class="label">预约日期</view>
- <view class="value">{{infos.yybsrq}}</view>
- </view>
- <view class="item" wx:if="{{!infos.awaitNum}}">
- <view class="label">预约时间</view>
- <view class="value">{{infos.yysjd}}</view>
- </view>
- <view class="item">
- <view class="label">办税业务</view>
- <view class="value">{{infos.ywmc || infos.yyywlxmc}}</view>
- </view>
- <view class="item">
- <view class="label">办税大厅</view>
- <view class="value">{{infos.bsfwtmc}}</view>
- </view>
- <view class="item">
- <view class="label">大厅地址</view>
- <view class="value">{{infos.bsfwtdz}}</view>
- </view>
- </view>
- <view wx:if="{{infos.ztDm == 2 || infos.ztDm == 3}}" class="button button3" hover-class="active">{{nowTime}}</view>
- <view wx:if="{{infos.ztDm == 2 || infos.ztDm == 3}}" class="button" hover-class="active" bind:tap="brush">刷新</view>
- <view wx:if="{{infos.ztDm == 0}}" class="button button2 {{khh?'':'nobutton'}}" hover-class="active" bind:tap="chageNum">我已到达,立即办理</view>
- <view wx:if="{{infos.ztDm == 0}}" class="button button1" hover-class="active" bind:tap="cansole">取消预约</view>
- </scroll-view>
- <wxs module="tools">
- var waitTime = function (e) {
- if (e) {
- var wait = e.awaitNum * e.awaitTime
- return wait + '分钟'
- } else {
- return ""
- }
- }
- var tools = {
- waitTime: waitTime,
- }
- module.exports = tools;
- </wxs>
|