mine.wxml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!--pages/mine/mine.wxml-->
  2. <view class="custom-navigation" style="height: {{navigation.height}};padding-top: {{navigation.paddingTop}}">
  3. <text>排队叫号</text>
  4. <text>{{address}}</text>
  5. </view>
  6. <scroll-view class="mine-container" style="{{'--navHeight: calc(' + navigation.height + ' + ' + navigation.paddingTop + ')' }}" scroll-y enhanced show-scrollbar="{{false}}">
  7. <view class="search">
  8. <view class="search-icon">
  9. <image src="../../icon/search.png" mode="widthFix"/>
  10. </view>
  11. <view class="search-input">
  12. <input placeholder-style="input-placeholder" type="text" placeholder="热门搜索:税费争议,公积金"/>
  13. </view>
  14. </view>
  15. <view class="userInfo">
  16. <view class="headimg">
  17. <image src="https://smzc-1253299035.cos.ap-nanjing.myqcloud.com/pdjh/miniProgrameYyQh/headimg.png" mode="widthFix" />
  18. </view>
  19. <view class="infos">
  20. <view class="item">
  21. <view class="label">Hi,{{userInfo.name || "请认证"}}</view>
  22. </view>
  23. <view class="shiming" wx:if="{{userInfo.phone && userInfo.phone.length>1}}">
  24. <image src="../../images/mine/shiming.png" mode="widthFix" />
  25. </view>
  26. </view>
  27. <view class="myInfo" hover-class="myInfoActive" bind:tap="myInfo">
  28. <view class="name">个人信息</view>
  29. <view class="icon">
  30. <image src="../../icon/enter.png" mode="widthFix" />
  31. </view>
  32. </view>
  33. </view>
  34. <view class="showDatas">
  35. <view class="showDatas-data" hover-class="showDatas-data-hover" bind:tap="test">
  36. <view class="showDatas-data-value">0</view>
  37. <view class="showDatas-data-label">待办理</view>
  38. </view>
  39. <view class="showDatas-data" hover-class="showDatas-data-hover" bind:tap="test">
  40. <view class="showDatas-data-value">0</view>
  41. <view class="showDatas-data-label">已办结</view>
  42. </view>
  43. <view class="showDatas-data" hover-class="showDatas-data-hover" bind:tap="test">
  44. <view class="showDatas-data-value">0</view>
  45. <view class="showDatas-data-label">退件箱</view>
  46. </view>
  47. <view class="showDatas-data" hover-class="showDatas-data-hover" bind:tap="test">
  48. <view class="showDatas-data-value">0</view>
  49. <view class="showDatas-data-label">未提交</view>
  50. </view>
  51. </view>
  52. <view class="section section1">
  53. <view class="s1-block" hover-class="s1-block-hover" bind:tap="test">
  54. <view class="s1-block-icon1">
  55. <image src="../../images/mine/wdzm.png" mode="widthFix" />
  56. </view>
  57. <view class="s1-block-name">我的证明</view>
  58. <view class="s1-block-icon">
  59. <image src="../../icon/enter-grey.png" mode="widthFix" />
  60. </view>
  61. </view>
  62. <view class="s1-block" hover-class="s1-block-hover" bind:tap="test">
  63. <view class="s1-block-icon2">
  64. <image src="../../images/mine/wdzz.png" mode="widthFix" />
  65. </view>
  66. <view class="s1-block-name">我的证照</view>
  67. <view class="s1-block-icon">
  68. <image src="../../icon/enter-grey.png" mode="widthFix" />
  69. </view>
  70. </view>
  71. </view>
  72. <view class="section section2">
  73. <view class="s2-title">更多服务</view>
  74. <view class="s2-block {{section2List.length-1 == blockKey?'s2-noBorder':''}}" wx:for="{{section2List}}" wx:key="index" wx:for-index="blockKey" wx:for-item="blockItem">
  75. <view class="s2-block-item" hover-class="s2-block-item-hover" wx:for="{{blockItem.children}}" wx:key="item" data-item="{{item}}" bind:tap="moreFunction">
  76. <view class="s2-block-item-icon">
  77. <image src="{{item.icon}}" mode="widthFix" />
  78. </view>
  79. <view class="s2-block-item-name"><text>{{item.name}}</text></view>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="fill"></view>
  84. </scroll-view>
  85. <wxs module="tools">
  86. var phone = function (e) {
  87. if (e) {
  88. return e.substring(0, 3) + '****' + e.substring(7, 11)
  89. } else {
  90. return ""
  91. }
  92. }
  93. var idcard = function (e) {
  94. if (e) {
  95. return e.substring(0, 6) + '********' + e.substring(14, 18)
  96. } else {
  97. return ""
  98. }
  99. }
  100. var tools = {
  101. phone: phone,
  102. idcard: idcard
  103. }
  104. module.exports = tools;
  105. </wxs>