|
@@ -1,117 +1,134 @@
|
|
|
<!--pages/publics/publics.wxml-->
|
|
|
<view style="background-color: #F5F5F5">
|
|
|
- <scroll-view style="height: 1549rpx;" scroll-y="true">
|
|
|
- <!-- 顶部栏 -->
|
|
|
- <view class="top">
|
|
|
- <image src="{{imgUrl}}topbg.webp" style="width: 100%;height:519rpx"></image>
|
|
|
- <image src="{{imgUrl}}toplogo.png" class="top-logo" style="top: {{navHeight}}rpx"></image>
|
|
|
- <view class="top-serach">
|
|
|
- <view class="search-input">
|
|
|
- <input style="height: 72rpx;" placeholder="请在此输入关键字" />
|
|
|
- </view>
|
|
|
- <button class="search-button">
|
|
|
- <image src="{{imgUrl}}search.png"></image>
|
|
|
- </button>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 区政府领导 -->
|
|
|
- <view class="learder">
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">区政府领导</view>
|
|
|
- <view class="content-more" bindtap="gotoLeaderDetail">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <swiper display-multiple-items="3" autoplay="{{false}}" style="padding: 0 20rpx;" next-margin="40rpx" snap-to-edge="{{true}}">
|
|
|
- <block wx:for="{{background}}" wx:key="*this">
|
|
|
- <swiper-item>
|
|
|
- <image src="{{imgUrl}}图层 1298.png"></image>
|
|
|
- <view style="display: flex;align-items: center;white-space: nowrap;width: 200rpx;">
|
|
|
- <view class="swiper-name">王茂春</view>
|
|
|
- <view class="swiper-item">区长,区委领导阿健身房</view>
|
|
|
- </view>
|
|
|
- </swiper-item>
|
|
|
- </block>
|
|
|
- </swiper>
|
|
|
- </view>
|
|
|
- <!-- 政府信息公开 -->
|
|
|
- <view>
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">政府信息公开</view>
|
|
|
- <view class="content-more" bindtap="goToGovernment">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <view style="padding: 0 40rpx;display: flex;justify-content:space-between;flex-wrap: wrap;">
|
|
|
- <view bindtap="goToGovernment" data-index="{{index}}" wx:for="{{governmentInfoList}}" wx:key="index" style="position: relative;padding: 10rpx 0;">
|
|
|
- <image src="{{imgUrl}}{{item.pic}}" style="width: 326rpx;height: 157rpx;" />
|
|
|
- <view style="font-size: 24rpx;position: absolute;top: 67rpx;left: 8rpx;">{{item.title}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 基层政务公开 -->
|
|
|
- <view style="height: 500px;">
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">基层政务公开</view>
|
|
|
- <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <view style="padding: 0 8rpx 20rpx 8rpx;background-color: #ffffff;width: 690rpx;margin-left: 30rpx;display: flex;flex-wrap:wrap;justify-content: space-between;">
|
|
|
+ <scroll-view style="height: 1549rpx;" scroll-y="true">
|
|
|
+ <!-- 顶部栏 -->
|
|
|
+ <view class="top">
|
|
|
+ <image src="{{imgUrl}}topbg.webp" style="width: 100%;height:519rpx"></image>
|
|
|
+ <image src="{{imgUrl}}toplogo.png" class="top-logo" style="top: {{navHeight}}rpx"></image>
|
|
|
+ <view class="top-serach">
|
|
|
+ <view class="search-input">
|
|
|
+ <input style="height: 72rpx;" placeholder="请在此输入关键字" />
|
|
|
+ </view>
|
|
|
+ <button class="search-button">
|
|
|
+ <image src="{{imgUrl}}search.png"></image>
|
|
|
+ </button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 区政府领导 -->
|
|
|
+ <view class="learder">
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">区政府领导</view>
|
|
|
+ <view class="content-more" bindtap="gotoLeaderDetail">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <swiper display-multiple-items="3" autoplay="{{false}}" style="padding: 0 20rpx;height: 290rpx" next-margin="40rpx" snap-to-edge="{{true}}">
|
|
|
+ <block wx:for="{{background}}" wx:key="*this">
|
|
|
+ <swiper-item>
|
|
|
+ <image style="width: 198rpx;height:247rpx" src="{{imgUrl}}图层 1298.png"></image>
|
|
|
+ <view style="display: flex;align-items: center;white-space: nowrap;width: 200rpx;">
|
|
|
+ <view class="swiper-name">王茂春</view>
|
|
|
+ <view class="swiper-item">区长,区委领导阿健身房</view>
|
|
|
+ </view>
|
|
|
+ </swiper-item>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ </view>
|
|
|
+ <!-- 政府信息公开 -->
|
|
|
+ <view>
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">政府信息公开</view>
|
|
|
+ <view class="content-more" bindtap="goToGovernment">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <view style="padding: 0 40rpx;display: flex;justify-content:space-between;flex-wrap: wrap;">
|
|
|
+ <view bindtap="goToGovernment" data-index="{{index}}" wx:for="{{governmentInfoList}}" wx:key="index" style="position: relative;padding: 10rpx 0;">
|
|
|
+ <image src="{{imgUrl}}{{item.pic}}" style="width: 326rpx;height: 157rpx;" />
|
|
|
+ <view style="font-size: 24rpx;position: absolute;top: 67rpx;left: 8rpx;">{{item.title}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 基层政务公开 -->
|
|
|
+ <view style="height: 470px;">
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">基层政务公开</view>
|
|
|
+ <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <view style="padding: 0 8rpx 20rpx 8rpx;background-color: #ffffff;width: 690rpx;margin-left: 30rpx;display: flex;flex-wrap:wrap;justify-content: space-between;">
|
|
|
<view wx:for="{{baseList}}" wx:for-index="index" wx:for-item="item" wx:key="index" style="position: relative;margin-top: 60rpx;color: #ffffff;font-size: 32rpx;width: 207rpx;height: 94rpx;background-color: #889FFF;border-radius: 8rpx;border: 1rpx solid #4547FF;display: flex;align-items: center;justify-content: center;">
|
|
|
<view style="position: absolute;top: -33rpx;width: 65rpx;height: 65rpx;">
|
|
|
- <image style="width: 65rpx;height: 65rpx;" src="{{imgUrl + item.pic}}" mode=""/>
|
|
|
+ <image style="width: 65rpx;height: 65rpx;" src="{{imgUrl + item.pic}}" mode="" />
|
|
|
</view>
|
|
|
{{item.name}}
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 政策文件 -->
|
|
|
- <view style="height: 400px;">
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">政策文件</view>
|
|
|
- <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view style="background-image: url('{{imgUrl}}public1.png');width: 100%;height:100%"></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 政策解读 -->
|
|
|
- <view>
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">政策解读</view>
|
|
|
- <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <view class="policy-interpretation">
|
|
|
- <scroll-view class="scroll-wrapper" scroll-x scroll-with-animation="true" scroll-into-view="item{{currentTab < 4 ? 0 : currentTab - 3}}">
|
|
|
- <view class="navigate-item" id="item{{index}}" wx:for="{{policyInterpretation}}" wx:key="index" data-index="{{index}}" bindtap="tabNav">
|
|
|
- <view class="names">{{item.name}}</view>
|
|
|
- <view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
|
|
|
- </view>
|
|
|
- </scroll-view>
|
|
|
- <swiper display-multiple-items="2" current="{{currentTab}}" bindchange="handleSwiper" autoplay="{{false}}" style="padding: 0 10px;margin-top: 15rpx;height: 320rpx;">
|
|
|
- <block wx:for="{{background}}" wx:key="*this">
|
|
|
- <swiper-item>
|
|
|
- <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
|
|
|
- <view style="font-size: 18rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
|
|
|
- </swiper-item>
|
|
|
- </block>
|
|
|
- </swiper>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 政务专题 -->
|
|
|
- <view>
|
|
|
- <view style="display:flex" class="content-top">
|
|
|
- <view class="content-line"></view>
|
|
|
- <view class="content-title">政务专题</view>
|
|
|
- <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
- </view>
|
|
|
- <swiper display-multiple-items="2" autoplay="{{false}}" style="padding: 0 10px;height: 400rpx;;">
|
|
|
- <block wx:for="{{topics}}" wx:key="*this">
|
|
|
- <swiper-item>
|
|
|
- <image src="{{imgUrl}}{{item}}" bindtap="gotoZXWDK" style="width: 327rpx;height: 227rpx;"></image>
|
|
|
- </swiper-item>
|
|
|
- </block>
|
|
|
- </swiper>
|
|
|
- </view>
|
|
|
- </scroll-view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 政策文件 -->
|
|
|
+ <view style="height: 400px;">
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">政策文件</view>
|
|
|
+ <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <view style="width: 690rpx;margin-left: 30rpx;">
|
|
|
+ <view style="height: 66rpx;display: flex;background-color: #ffffff;">
|
|
|
+ <!-- 规范文件 -->
|
|
|
+ <view style="position: relative;margin-left: 57rpx;" class="tab-item {{fileTab==0?'active':''}}" bindtap="clickFileTab" data-item="0">
|
|
|
+ <view wx:if="{{ fileTab==0 }}" style="position: absolute;width: 0;height: 0;border-left: 10rpx solid transparent;border-right: 10rpx solid transparent;border-top: 10rpx solid #508FF4;bottom: -13rpx;" />
|
|
|
+ <view style="height:50rpx;">规范文件</view>
|
|
|
+ </view>
|
|
|
+ <!-- 其他文件 -->
|
|
|
+ <view style="position: relative;margin-left: 70rpx;" class="tab-item {{fileTab==1?'active':''}}" bindtap="clickFileTab" data-item="1">
|
|
|
+ <view wx:if="{{ fileTab==1 }}" style="position: absolute;width: 0;height: 0;border-left: 10rpx solid transparent;border-right: 10rpx solid transparent;border-top: 10rpx solid #508FF4;bottom: -13rpx;" />
|
|
|
+ <view style="height:50rpx;">其他文件</view>
|
|
|
+ </view>
|
|
|
+ <!-- 废止和失效文件 -->
|
|
|
+ <view style="position: relative;margin-left: 70rpx;" class="tab-item {{fileTab==2?'active':''}}" bindtap="clickFileTab" data-item="2">
|
|
|
+ <view wx:if="{{ fileTab==2 }}" style="position: absolute;width: 0;height: 0;border-left: 10rpx solid transparent;border-right: 10rpx solid transparent;border-top: 10rpx solid #508FF4;bottom: -13rpx;" />
|
|
|
+ <view style="height:50rpx;">废止和失效文件</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <!-- 政策解读 -->
|
|
|
+ <view>
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">政策解读</view>
|
|
|
+ <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <view class="policy-interpretation">
|
|
|
+ <scroll-view class="scroll-wrapper" scroll-x scroll-with-animation="true" scroll-into-view="item{{currentTab < 4 ? 0 : currentTab - 3}}">
|
|
|
+ <view class="navigate-item" id="item{{index}}" wx:for="{{policyInterpretation}}" wx:key="index" data-index="{{index}}" bindtap="tabNav">
|
|
|
+ <view class="names">{{item.name}}</view>
|
|
|
+ <view class="currtline {{currentTab === index ? 'active' : ''}}" wx:if="{{currentTab === index}}"></view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ <swiper display-multiple-items="2" current="{{currentTab}}" bindchange="handleSwiper" autoplay="{{false}}" style="padding: 0 10px;margin-top: 15rpx;height: 320rpx;">
|
|
|
+ <block wx:for="{{background}}" wx:key="*this">
|
|
|
+ <swiper-item>
|
|
|
+ <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
|
|
|
+ <view style="font-size: 18rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
|
|
|
+ </swiper-item>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 政务专题 -->
|
|
|
+ <view>
|
|
|
+ <view style="display:flex" class="content-top">
|
|
|
+ <view class="content-line"></view>
|
|
|
+ <view class="content-title">政务专题</view>
|
|
|
+ <view class="content-more" bindtap="goToMore">查看更多 >></view>
|
|
|
+ </view>
|
|
|
+ <swiper display-multiple-items="2" autoplay="{{false}}" style="padding: 0 10px;height: 400rpx;;">
|
|
|
+ <block wx:for="{{topics}}" wx:key="*this">
|
|
|
+ <swiper-item>
|
|
|
+ <image src="{{imgUrl}}{{item}}" bindtap="gotoZXWDK" style="width: 327rpx;height: 227rpx;"></image>
|
|
|
+ </swiper-item>
|
|
|
+ </block>
|
|
|
+ </swiper>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
</view>
|