success.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!--pages/indexPages/ssqhPages/success/success.wxml-->
  2. <view class="icon">
  3. <icon class="icon-box-img" color="#4686f6" type="success" size="90"></icon>
  4. </view>
  5. <view class="tip">取号成功</view>
  6. <view class="number">{{infos.ticketNum}}</view>
  7. <view class="tip1">请将此电子票出示给窗口工作人员</view>
  8. <scroll-view class="infos-container" scroll-y>
  9. <view class="infos">
  10. <view class="item">
  11. <view class="label">等候人数</view>
  12. <view class="value">{{infos.awaitNum}}</view>
  13. </view>
  14. <view class="item">
  15. <view class="label">预计等待</view>
  16. <view class="value">{{tools.waitTime(infos)}}</view>
  17. </view>
  18. <view class="item">
  19. <view class="label">办税业务</view>
  20. <view class="value">{{infos.yyywlxmc}}</view>
  21. </view>
  22. <view class="item">
  23. <view class="label">办税大厅</view>
  24. <view class="value">{{infos.bsfwtmc}}</view>
  25. </view>
  26. <view class="item">
  27. <view class="label">大厅地址</view>
  28. <view class="value">{{infos.bsfwtdz}}</view>
  29. </view>
  30. <view class="item">
  31. <view class="label">取号时间</view>
  32. <view class="value">{{infos.createTime}}</view>
  33. </view>
  34. </view>
  35. <view class="lookcl" hover-class="active" bind:tap="lookCl">*点击此处查看:办理该业务的所需资料</view>
  36. <view class="button button1" hover-class="active">{{nowTime}}</view>
  37. <view class="button" hover-class="active" bind:tap="brush">刷新</view>
  38. </scroll-view>
  39. <wxs module="tools">
  40. var waitTime = function (e) {
  41. if (e) {
  42. var wait = e.awaitNum * e.awaitTime
  43. return wait + '分钟'
  44. } else {
  45. return ""
  46. }
  47. }
  48. var tools = {
  49. waitTime: waitTime,
  50. }
  51. module.exports = tools;
  52. </wxs>