index.wxml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <view class='top'>
  2. <view class='page_row' bindtap="suo">
  3. <view class="search">
  4. <view class="df search_arr" bindtap='search'>
  5. <image class='search-icon' src='../../images/search.png'></image>
  6. <input class="" disabled style='font-size:26rpx' placeholder-style='placText' placeholder="请输入事项名称" value="{{searchValue}}"/>
  7. <image class='record' src='../../images/record.png'></image>
  8. </view>
  9. </view>
  10. </view>
  11. </view>
  12. <view class='t'>
  13. <view class='tab'>
  14. <view class='tab_card'>
  15. <view class="{{tabindex==0?'select1':''}}" catchtap='tab' data-index='0'>个人办事</view>
  16. <view class="{{tabindex==1?'select1':''}}" catchtap='tab' data-index='1'>法人办事</view>
  17. </view>
  18. <view class='tab_card tab_content'>
  19. <block wx:for='{{sxType==1?tab.content:tab.content1}}' wx:key='{{index}}'>
  20. <view class="{{index==indexOf?'select2':''}}" data-index='{{index}}' catchtap='tabClick'>{{item}}</view>
  21. </block>
  22. </view>
  23. </view>
  24. </view>
  25. <swiper current='{{current}}' style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindchange='change'>
  26. <swiper-item>
  27. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
  28. <view class='server'>
  29. <block wx:for='{{sxType==1?PERSON_ZT:ENTERPRISE_ZT}}' wx:key='{{item.id}}'>
  30. <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
  31. <view class='server_content'>
  32. <view><image src='{{item.imgurl}}'></image></view>
  33. <text>{{item.dictValueName}}</text>
  34. </view>
  35. </navigator>
  36. </block>
  37. </view>
  38. </scroll-view>
  39. </swiper-item>
  40. <swiper-item>
  41. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
  42. <view class='server'>
  43. <block wx:for='{{sxType==1?PERSON_RSSJ:ENTERPRISE_TDDX}}' wx:key='{{item.id}}'>
  44. <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
  45. <view class='server_content'>
  46. <view><image src='{{item.imgurl}}'></image></view>
  47. <text>{{item.dictValueName}}</text>
  48. </view>
  49. </navigator>
  50. </block>
  51. </view>
  52. </scroll-view>
  53. </swiper-item>
  54. <swiper-item>
  55. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
  56. <view class='server'>
  57. <block wx:for='{{sxType==1?PERSON_TDRQ:ENTERPRISE_JYHD}}' wx:key='{{item.id}}'>
  58. <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
  59. <view class='server_content'>
  60. <view><image src='{{item.imgurl}}'></image></view>
  61. <text>{{item.dictValueName}}</text>
  62. </view>
  63. </navigator>
  64. </block>
  65. </view>
  66. </scroll-view>
  67. </swiper-item>
  68. <swiper-item>
  69. <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
  70. <view class="flexCol col4">
  71. <block wx:for="{{list}}" wx:key="id">
  72. <view bindtap='details' data-id='{{item.deptUnid}}' class='flexRow flex0 item {{list.length==1+index&&"last"||""}}'>
  73. <!-- <image src='{{item.iconStorageUrl}}' mode='widthFix'></image> -->
  74. <view class='h100'>
  75. <image src='../../images/section.png' style='width:26rpx;height:26rpx;'></image>
  76. <text class='itemTitle'>{{item.deptName}}</text>
  77. <!-- <text class='desc'>{{item.remark}}</text> -->
  78. </view>
  79. <image src='/images/jiantou.png' mode='widthFix' class='jiantou'></image>
  80. </view>
  81. </block>
  82. </view>
  83. </scroll-view>
  84. </swiper-item>
  85. </swiper>