123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <!--pages/publics/government/government.wxml-->
- <view style="background: #FFFFFF;">
- <scroll-view class="scroll-wrapper" scroll-x scroll-into-view="item{{currentTab < 2 ? 0 : currentTab - 1}}">
- <view class="navigate-item" id="item{{index}}" wx:for="{{governmentList}}" wx:key="index" data-index="{{index}}" bindtap="tabNav">
- <view class="names {{currentTab === index ? 'active' : ''}}">{{item.title}}</view>
- <view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
- </view>
- </scroll-view>
- <swiper current="{{currentTab}}" style="width: 100%;height: 90vh;" bindchange="handleSwiper" duration="{{swiperDuration}}">
- <!-- 政府信息公开指南 -->
- <swiper-item style="height: 100%;">
- <view style="display: flex;margin-top: 41rpx;height: 100%;">
- <!-- 左边 -->
- <view style="display: flex;flex-direction: column;justify-content: start;width: 29%;background-color: #F5F5F5;">
- <view bindtap="clickItem1" data-item="0" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item1 == 0}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item1 == 0?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">南岸区</view>
- </view>
- <view bindtap="clickItem1" data-item="1" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item1 == 1}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item1 == 1?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">区政府部门</view>
- </view>
- <view bindtap="clickItem1" data-item="2" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item1 == 2}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item1 == 2?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">乡村政府</view>
- </view>
- </view>
- <view style="width: 70%;height: 100%;">
- <view wx:if="{{item1 == 0}}" style="display: flex;padding: 20rpx 20rpx;">
- <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;">南岸区
- </view>
- </view>
- <scroll-view wx:if="{{item1 == 1}}" style="height: 100%;" scroll-y="true">
- <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
- <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}}
- </view>
- </view>
- </scroll-view>
- <scroll-view wx:if="{{item1 == 2}}" style="height: 100%;" scroll-y="true">
- <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
- <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}}
- </view>
- </view>
- </scroll-view>
- </view>
- <!-- 右边 -->
- </view>
- </swiper-item>
- <!-- 政府信息公开制度 -->
- <swiper-item>
- <scroll-view style="height: 100%;" scroll-y="true">
- <!-- <view style="padding: 0 20rpx;">
- <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
- <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">国家级</view>
- <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>
- </view>
- <ul class="list">
- <li wx:if="{{index < 5}}" wx:for="{{nationalSystemList}}" wx:key="index" bindtap="gotoDetail" data-url="{{item.url}}">
- <text class="title">{{item.title}}</text>
- <text class="time">{{item.docreltime}}</text>
- </li>
- </ul>
- </view> -->
- <!-- <view style="padding: 0 20rpx;margin: 40rpx 0;">
- <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
- <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">市级</view>
- <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>
- </view>
- <ul class="list">
- <li wx:if="{{index < 5}}" wx:for="{{citySystemList}}" wx:key="index" bindtap="gotoDetail" data-url="{{item.url}}">
- <text class="title">{{item.title}}</text>
- <text class="time">{{item.docreltime}}</text>
- </li>
- </ul>
- </view> -->
- <view style="padding: 0 20rpx;">
- <view style="display: flex;align-items: center;border-bottom: 1px solid #C5C5C5;padding: 20rpx 20rpx;margin-bottom: 30rpx;">
- <image style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">区县级</view>
- <view bindtap="gotoArticles" data-channelId="107277" style="margin-left: auto;border: 1px solid #e0e0e0;color: #999;font-size: 28rpx;padding: 0 10rpx;">更多</view>
- </view>
- <ul class="list">
- <li wx:for="{{countySystemList}}" wx:key="index" bindtap="gotoSystemDetail" data-channelId="{{item.CHNLID}}" data-docId="{{item.DOCID}}">
- <text class="title">{{item.DOCTITLE}}</text>
- <text class="time">{{item.DOCRELTIME}}</text>
- </li>
- </ul>
- </view>
- </scroll-view>
- </swiper-item>
- <!-- 法定主动公开内容
- <swiper-item>
- <scroll-view bindscrolltolower="scrollBottom" style="height: 100%;" scroll-y="true">
- <ul wx:if="{{publicContent.length > 0}}" class="list">
- <li bindtap="gotoDetail" data-channelId="{{item.CHNLID}}" data-docId="{{item.DOCID}}" data-url="{{item.DOCPUBURL}}" wx:for="{{publicContent}}" wx:key="index">
- <text class="title">{{item.DOCTITLE}}</text>
- <text class="time">{{item.DOCRELTIME}}</text>
- </li>
- </ul>
- <view style="display: flex;align-items: center;justify-content: center;height: 100%;" wx:if="{{publicContent.length <= 0}}">
- <t-empty icon="info-circle-filled" description="暂无数据" />
- </view>
- </scroll-view>
- </swiper-item> -->
- <!-- 政府信息公开年报 -->
- <swiper-item style="height: 100%;">
- <view style="display: flex;margin-top: 41rpx;height: 100%;">
- <!-- 左边 -->
- <view style="display: flex;flex-direction: column;justify-content: start;width: 29%;background-color: #F5F5F5;">
- <view bindtap="clickItem2" data-item="0" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item2 == 0}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item2 == 0?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">南岸区</view>
- </view>
- <view bindtap="clickItem2" data-item="1" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item2 == 1}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item2 == 1?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">区政府部门</view>
- </view>
- <view bindtap="clickItem2" data-item="2" style="height: 108rpx;display: flex;align-items: center;justify-content: center;border-bottom: 1px solid #E6E6E6">
- <image wx:if="{{item2 == 2}}" style="width: 18rpx;height: 20rpx;" src="{{imgUrl}}public-rhombus.png" />
- <view class="item {{item2 == 2?'active':''}}" style="margin-left: 10rpx;font-size: 32rpx;font-family: PingFang SC;">乡村政府</view>
- </view>
- </view>
- <view style="width: 70%;height: 100%;">
- <view wx:if="{{item2 == 0}}" style="display: flex;padding: 20rpx 20rpx;">
- <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;">南岸区
- </view>
- </view>
- <scroll-view wx:if="{{item2 == 1}}" style="height: 100%;" scroll-y="true">
- <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
- <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}}
- </view>
- </view>
- </scroll-view>
- <scroll-view wx:if="{{item2 == 2}}" style="height: 100%;" scroll-y="true">
- <view style="display: flex;flex-wrap: wrap;padding-bottom: 30rpx;">
- <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}}
- </view>
- </view>
- </scroll-view>
- </view>
- <!-- 右边 -->
- </view>
- </swiper-item>
- </swiper>
- </view>
|