government.wxml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!--pages/publics/government/government.wxml-->
  2. <view style="background: #FFFFFF;">
  3. <scroll-view class="scroll-wrapper" scroll-x scroll-into-view="item{{currentTab < 2 ? 0 : currentTab - 1}}">
  4. <view class="navigate-item" id="item{{index}}" wx:for="{{governmentList}}" wx:key="index" data-index="{{index}}" bindtap="tabNav">
  5. <view class="names {{currentTab === index ? 'active' : ''}}">{{item.title}}</view>
  6. <view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
  7. </view>
  8. </scroll-view>
  9. <swiper current="{{currentTab}}" style="width: 100%;height: 90vh;" bindchange="handleSwiper" duration="{{swiperDuration}}">
  10. <!-- 政府信息公开指南 -->
  11. <swiper-item style="height: 100%;">
  12. <view style="display: flex;margin-top: 41rpx;height: 100%;">
  13. <!-- 左边 -->
  14. <view style="display: flex;flex-direction: column;justify-content: start;width: 29%;background-color: #F5F5F5;">
  15. <view bindtap="clickItem1" data-item="0" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  16. <image wx:if="{{item1 == 0}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  17. <view class="item {{item1 == 0?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">南岸区</view>
  18. </view>
  19. <view bindtap="clickItem1" data-item="1" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  20. <image wx:if="{{item1 == 1}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  21. <view class="item {{item1 == 1?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">区政府部门</view>
  22. </view>
  23. <view bindtap="clickItem1" data-item="2" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  24. <image wx:if="{{item1 == 2}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  25. <view class="item {{item1 == 2?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">乡村政府</view>
  26. </view>
  27. </view>
  28. <view style="width: 70%;height: 100%;">
  29. <view wx:if="{{item1 == 0}}" style="display: flex;padding: 20rpx 20rpx;">
  30. <view bindtap="gotoArticles" data-channelId="107276" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;">南岸区
  31. </view>
  32. </view>
  33. <scroll-view wx:if="{{item1 == 1}}" style="height: 100%;" scroll-y="true">
  34. <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
  35. <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}
  36. </view>
  37. </view>
  38. </scroll-view>
  39. <scroll-view wx:if="{{item1 == 2}}" style="height: 100%;" scroll-y="true">
  40. <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
  41. <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;" wx:for="{{townshipList}}" wx:key="index">{{item.name}}
  42. </view>
  43. </view>
  44. </scroll-view>
  45. </view>
  46. <!-- 右边 -->
  47. </view>
  48. </swiper-item>
  49. <!-- 政府信息公开制度 -->
  50. <swiper-item>
  51. <scroll-view style="height: 100%;" scroll-y="true">
  52. <view style="padding: 0 20rpx;">
  53. <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
  54. <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  55. <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">国家级</view>
  56. <view bindtap="gotoArticles" data-url="https://www.cq.gov.cn/zwgk/zfxxgkzl/zfxxgkzd/gjj/index.json?gjjzd=gjjzd&_=1672192184794" style="margin-left: auto;border: 1px solid #e0e0e0;color: #999;font-size: 28rpx;padding: 0 10rpx;">更多</view>
  57. </view>
  58. <ul class="list">
  59. <li wx:if="{{index < 5}}" wx:for="{{nationalSystemList}}" wx:key="index" bindtap="gotoDetail" data-url="{{item.url}}">
  60. <text class="title">{{item.title}}</text>
  61. <text class="time">{{item.docreltime}}</text>
  62. </li>
  63. </ul>
  64. </view>
  65. <view style="padding: 0 20rpx;margin: 40rpx 0;">
  66. <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
  67. <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  68. <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">市级</view>
  69. <view bindtap="gotoArticles" data-url="https://www.cq.gov.cn/zwgk/zfxxgkzl/zfxxgkzd/sj/index.json?cqsjzd=cqsjzd&_=1672192184795" style="margin-left: auto;border: 1px solid #e0e0e0;color: #999;font-size: 28rpx;padding: 0 10rpx;">更多</view>
  70. </view>
  71. <ul class="list">
  72. <li wx:if="{{index < 5}}" wx:for="{{citySystemList}}" wx:key="index" bindtap="gotoDetail" data-url="{{item.url}}">
  73. <text class="title">{{item.title}}</text>
  74. <text class="time">{{item.docreltime}}</text>
  75. </li>
  76. </ul>
  77. </view>
  78. <view style="padding: 0 20rpx;">
  79. <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
  80. <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  81. <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">区县级</view>
  82. <view bindtap="gotoArticles" data-channelId="107277" style="margin-left: auto;border: 1px solid #e0e0e0;color: #999;font-size: 28rpx;padding: 0 10rpx;">更多</view>
  83. </view>
  84. <ul class="list">
  85. <li wx:for="{{countySystemList}}" wx:key="index" bindtap="gotoSystemDetail" data-channelId="{{item.CHNLID}}" data-docId="{{item.DOCID}}">
  86. <text class="title">{{item.DOCTITLE}}</text>
  87. <text class="time">{{item.DOCRELTIME}}</text>
  88. </li>
  89. </ul>
  90. </view>
  91. </scroll-view>
  92. </swiper-item>
  93. <!-- 法定主动公开内容
  94. <swiper-item>
  95. <scroll-view bindscrolltolower="scrollBottom" style="height: 100%;" scroll-y="true">
  96. <ul wx:if="{{publicContent.length > 0}}" class="list">
  97. <li bindtap="gotoDetail" data-channelId="{{item.CHNLID}}" data-docId="{{item.DOCID}}" data-url="{{item.DOCPUBURL}}" wx:for="{{publicContent}}" wx:key="index">
  98. <text class="title">{{item.DOCTITLE}}</text>
  99. <text class="time">{{item.DOCRELTIME}}</text>
  100. </li>
  101. </ul>
  102. <view style="display: flex;align-items: center;justify-content: center;height: 100%;" wx:if="{{publicContent.length <= 0}}">
  103. <t-empty icon="info-circle-filled" description="暂无数据" />
  104. </view>
  105. </scroll-view>
  106. </swiper-item> -->
  107. <!-- 政府信息公开年报 -->
  108. <swiper-item style="height: 100%;">
  109. <view style="display: flex;margin-top: 41rpx;height: 100%;">
  110. <!-- 左边 -->
  111. <view style="display: flex;flex-direction: column;justify-content: start;width: 29%;background-color: #F5F5F5;">
  112. <view bindtap="clickItem2" data-item="0" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  113. <image wx:if="{{item2 == 0}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  114. <view class="item {{item2 == 0?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">南岸区</view>
  115. </view>
  116. <view bindtap="clickItem2" data-item="1" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  117. <image wx:if="{{item2 == 1}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  118. <view class="item {{item2 == 1?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">区政府部门</view>
  119. </view>
  120. <view bindtap="clickItem2" data-item="2" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
  121. <image wx:if="{{item2 == 2}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
  122. <view class="item {{item2 == 2?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">乡村政府</view>
  123. </view>
  124. </view>
  125. <view style="width: 70%;height: 100%;">
  126. <view wx:if="{{item2 == 0}}" style="display: flex;padding: 20rpx 20rpx;">
  127. <view bindtap="gotoArticles" data-channelId="60063" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;">南岸区
  128. </view>
  129. </view>
  130. <scroll-view wx:if="{{item2 == 1}}" style="height: 100%;" scroll-y="true">
  131. <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
  132. <view bindtap="gotoDetail" data-channelId="{{item.annalsChannelId}}" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}
  133. </view>
  134. </view>
  135. </scroll-view>
  136. <scroll-view wx:if="{{item2 == 2}}" style="height: 100%;" scroll-y="true">
  137. <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
  138. <view bindtap="gotoDetail" data-channelId="{{item.annalsChannelId}}" style="border: 1px solid #C5C5C5;border-radius: 6rpx;width: 228rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 26rpx;margin: 0 0 29rpx 27rpx;" wx:for="{{townshipList}}" wx:key="index">{{item.name}}
  139. </view>
  140. </view>
  141. </scroll-view>
  142. </view>
  143. <!-- 右边 -->
  144. </view>
  145. </swiper-item>
  146. </swiper>
  147. </view>