1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!--pages/recordPages/pdjl/pdjl.wxml-->
- <scroll-view class="containers" scroll-y="{{true}}">
- <view class="tips {{infos.phzt==0?'tipsWarning':infos.fwztDm == 0?'tipsSuccess':''}}">{{infos.phzt==0?'待办理':infos.fwztDm == 0?'正在办理':'已完成'}}</view>
- <view class="numbers">{{infos.ticketNum}}</view>
- <view class="tip">请将此电子票出示给窗口工作人员</view>
- <view class="infosBox">
- <view class="item" wx:if="{{infos.phzt==0}}">
- <view class="label">等候人数</view>
- <view class="value">{{infos.awaitNum != null? infos.awaitNum:''}}</view>
- </view>
- <view class="item" wx:if="{{infos.phzt==0}}">
- <view class="label">预计等待</view>
- <view class="value">{{infos.awaitTime != null? tools.waitTime(infos):''}}</view>
- </view>
- <view class="item" wx:if="{{infos.phzt!=0}}">
- <view class="label">办理窗口</view>
- <view class="value">{{infos.ckhm != null? infos.ckhm:''}}</view>
- </view>
- <view class="item">
- <view class="label">办税业务</view>
- <view class="value">{{infos.yyywlxmc != 'null'? infos.yyywlxmc:''}}</view>
- </view>
- <view class="item">
- <view class="label">办税大厅</view>
- <view class="value">{{infos.bsfwtmc != 'null'? infos.bsfwtmc:''}}</view>
- </view>
- <view class="item">
- <view class="label">大厅地址</view>
- <view class="value">{{infos.bsfwtdz != 'null'? infos.bsfwtdz:''}}</view>
- </view>
- <view class="item">
- <view class="label">取号时间</view>
- <view class="value">{{infos.createTime != 'null'? infos.createTime:''}}</view>
- </view>
- </view>
- <view class="button button1" hover-class="active">{{nowTime}}</view>
- <view wx:if="{{infos.phzt==0}}" class="button" hover-class="active" bind:tap="sx">刷新</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>
|