浏览代码

Merge branch 'master' of http://116.63.33.55/git/nazw

elis 2 年之前
父节点
当前提交
d8cc2ec2aa
共有 18 个文件被更改,包括 943 次插入512 次删除
  1. 99 97
      nngkxxdp/src/main/resources/static/nnzwminiapp/app.json
  2. 15 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/file.wxml
  3. 101 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.js
  4. 3 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.json
  5. 40 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.wxml
  6. 55 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.wxss
  7. 14 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/util.wxs
  8. 4 4
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/government/government.wxml
  9. 241 280
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/index/index.js
  10. 29 11
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/index/index.wxml
  11. 98 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.js
  12. 4 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.json
  13. 27 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.wxml
  14. 89 0
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.wxss
  15. 17 6
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.js
  16. 2 3
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.wxml
  17. 11 6
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.wxss
  18. 94 105
      nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/publicLeaderDetail/publicLeaderDetail.js

+ 99 - 97
nngkxxdp/src/main/resources/static/nnzwminiapp/app.json

@@ -1,99 +1,101 @@
 {
-  "pages": [
-    "pages/index/index",
-    "pages/collection/collection",
-    "pages/newsPaper/newsPaper",
-    "pages/customerServe/customerServe",
-    "pages/ZCWDK/add/add",
-    "pages/ZCWDK/index/index",
-    "pages/nais/nais",
-    "pages/dataCenterZWTJ/dataCenterZWTJ",
-    "pages/login/login",
-    "pages/ourCanteen/ourCanteen",
-    "pages/deliciousList/deliciousList",
-    "pages/aticleList/aticleList",
-    "pages/commentList/commentList",
-    "pages/menu/menu",
-    "pages/logs/logs",
-    "pages/myCenter/myCenter",
-    "pages/serve/serve",
-    "pages/dataCenter/dataCenter",
-    "pages/dataCenterXXTJ/dataCenterXXTJ",
-    "pages/ZCWDK/info/info",
-    "pages/yxnaJfq/yxnaJfq",
-    "pages/yxnaJfh/yxnaJfh",
-    "pages/yxnaQxn/yxnaQxn",
-    "pages/yxna/yxna",
-    "pages/articlDetail/articlDetail",
-    "pages/yjzjDetail/yjzjDetail",
-    "pages/programList/programList",
-    "pages/leaveMessage/leaveMessage",
-    "pages/leaveMessage2/leaveMessage2",
-    "pages/album/album",
-    "pages/albumDetail/albumDetail",
-    "pages/albumEdit/albumEdit",
-    "pages/web/web",
-    "pages/like/like",
-    "pages/comment/comment",
-    "pages/myCollection/myCollection",
-    "pages/myComment/myComment",
-    "pages/personalData/index/personalData",
-    "pages/personalData/nickname/nickname",
-    "pages/personalData/email/email",
-    "pages/personalData/certification/certification",
-    "pages/personalData/manage/manage",
-    "pages/publics/index/index",
-    "pages/publics/government/government",
-    "pages/publics/publicLeaderDetail/publicLeaderDetail",
-    "pages/publics/leaderInfo/leaderInfo",
-    "pages/publics/governmentArticles/governmentArticles",
-    "pages/publics/governmentArticlesDetail/governmentArticlesDetail",
-    "pages/publics/baseAffairs/baseAffairs"
-  ],
-  "window": {
-    "backgroundTextStyle": "light",
-    "navigationBarBackgroundColor": "#fff",
-    "navigationBarTitleText": "Weixin",
-    "navigationBarTextStyle": "black"
-  },
-  "tabBar": {
-    "custom": true,
-    "color": "#999",
-    "selectedColor": "#3D98FF",
-    "backgroundColor": "#fff",
-    "borderStyle": "white",
-    "list": [
-      {
-        "selectedIconPath": "pages/images/f-fw2.png",
-        "iconPath": "pages/images/f-sy.png",
-        "pagePath": "pages/index/index",
-        "text": "首页"
-      },
-      {
-        "selectedIconPath": "pages/images/f-gk2.png",
-        "iconPath": "pages/images/f-gk.png",
-        "pagePath": "pages/publics/index/index",
-        "text": "公开"
-      },
-      {
-        "selectedIconPath": "pages/images/f-gk2.png",
-        "iconPath": "pages/images/f-gk.png",
-        "pagePath": "pages/nais/nais",
-        "isSpecial": true,
-        "text": "这是南岸"
-      },
-      {
-        "selectedIconPath": "pages/images/f-fw2.png",
-        "iconPath": "pages/images/f-fw.png",
-        "pagePath": "pages/serve/serve",
-        "text": "服务"
-      },
-      {
-        "selectedIconPath": "pages/images/f-wd2.png",
-        "iconPath": "pages/images/f-wd.png",
-        "pagePath": "pages/myCenter/myCenter",
-        "text": "我的"
-      }
-    ]
-  }
+	"pages": [
+		"pages/index/index",
+		"pages/collection/collection",
+		"pages/newsPaper/newsPaper",
+		"pages/customerServe/customerServe",
+		"pages/ZCWDK/add/add",
+		"pages/ZCWDK/index/index",
+		"pages/nais/nais",
+		"pages/dataCenterZWTJ/dataCenterZWTJ",
+		"pages/login/login",
+		"pages/ourCanteen/ourCanteen",
+		"pages/deliciousList/deliciousList",
+		"pages/aticleList/aticleList",
+		"pages/commentList/commentList",
+		"pages/menu/menu",
+		"pages/logs/logs",
+		"pages/myCenter/myCenter",
+		"pages/serve/serve",
+		"pages/dataCenter/dataCenter",
+		"pages/dataCenterXXTJ/dataCenterXXTJ",
+		"pages/ZCWDK/info/info",
+		"pages/yxnaJfq/yxnaJfq",
+		"pages/yxnaJfh/yxnaJfh",
+		"pages/yxnaQxn/yxnaQxn",
+		"pages/yxna/yxna",
+		"pages/articlDetail/articlDetail",
+		"pages/yjzjDetail/yjzjDetail",
+		"pages/programList/programList",
+		"pages/leaveMessage/leaveMessage",
+		"pages/leaveMessage2/leaveMessage2",
+		"pages/album/album",
+		"pages/albumDetail/albumDetail",
+		"pages/albumEdit/albumEdit",
+		"pages/web/web",
+		"pages/like/like",
+		"pages/comment/comment",
+		"pages/myCollection/myCollection",
+		"pages/myComment/myComment",
+		"pages/personalData/index/personalData",
+		"pages/personalData/nickname/nickname",
+		"pages/personalData/email/email",
+		"pages/personalData/certification/certification",
+		"pages/personalData/manage/manage",
+		"pages/publics/index/index",
+		"pages/publics/government/government",
+		"pages/publics/publicLeaderDetail/publicLeaderDetail",
+		"pages/publics/leaderInfo/leaderInfo",
+		"pages/publics/governmentArticles/governmentArticles",
+		"pages/publics/governmentArticlesDetail/governmentArticlesDetail",
+		"pages/publics/baseAffairs/baseAffairs",
+    "pages/publics/interpretation/interpretation",
+    "pages/publics/fileList/fileList"
+	],
+	"window": {
+		"backgroundTextStyle": "light",
+		"navigationBarBackgroundColor": "#fff",
+		"navigationBarTitleText": "Weixin",
+		"navigationBarTextStyle": "black"
+	},
+	"tabBar": {
+		"custom": true,
+		"color": "#999",
+		"selectedColor": "#3D98FF",
+		"backgroundColor": "#fff",
+		"borderStyle": "white",
+		"list": [
+			{
+				"selectedIconPath": "pages/images/f-fw2.png",
+				"iconPath": "pages/images/f-sy.png",
+				"pagePath": "pages/index/index",
+				"text": "首页"
+			},
+			{
+				"selectedIconPath": "pages/images/f-gk2.png",
+				"iconPath": "pages/images/f-gk.png",
+				"pagePath": "pages/publics/index/index",
+				"text": "公开"
+			},
+			{
+				"selectedIconPath": "pages/images/f-gk2.png",
+				"iconPath": "pages/images/f-gk.png",
+				"pagePath": "pages/nais/nais",
+				"isSpecial": true,
+				"text": "这是南岸"
+			},
+			{
+				"selectedIconPath": "pages/images/f-fw2.png",
+				"iconPath": "pages/images/f-fw.png",
+				"pagePath": "pages/serve/serve",
+				"text": "服务"
+			},
+			{
+				"selectedIconPath": "pages/images/f-wd2.png",
+				"iconPath": "pages/images/f-wd.png",
+				"pagePath": "pages/myCenter/myCenter",
+				"text": "我的"
+			}
+		]
+	}
 }

+ 15 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/file.wxml

@@ -0,0 +1,15 @@
+<!-- <view>
+  <view wx:for-item="item" wx:for-index="index" wx:key="index" wx:for="{{fileList}}" style="display: flex;align-items: center;justify-content: space-between;height: 80rpx;font-size: 28rpx;color: #666666;width: 639rpx;margin-left: 23rpx;border-bottom: 2rpx solid #CCCCCC;">
+    <view class="limit-text-1" style="width: 500rpx">{{item.DOCTITLE}}</view>
+    <view>{{filter.formateDate(item.DOCRELTIME)}}</view>
+  </view>
+</view> -->
+<view style="margin-top: 0rpx;padding: 0rpx 30rpx;">
+	<ul class="list">
+		<li style="position: relative;" wx:for-item="item" wx:for-index="index" wx:key="index" wx:for="{{fileList}}">
+      <view style="font-size: 20rpx;font-weight: 600;position: absolute;top: 25rpx;">·</view>
+			<text class="title">{{item.DOCTITLE}}</text>
+			<text class="time">{{item.DOCRELTIME}}</text>
+		</li>
+	</ul>
+</view>

+ 101 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.js

@@ -0,0 +1,101 @@
+// pages/publics/fileList/fileList.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    // 政策文件tab
+    fileTab: 0,
+    // 政策文件item
+    fileItem: 0,
+    // 政策文件列表
+    fileList: [],
+    height: '1920px',
+    page: 1,
+  },
+  onLoad(options) {
+    // 政策文件
+    this.getFileListById(161753)
+    this.setData({
+      'height': wx.getSystemInfoSync().windowHeight + 'px'
+    })
+  },
+
+  onReady() {
+
+  },
+
+  onShow() {
+
+  },
+
+  onHide() {
+
+  },
+
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+  // 获取政策文件列表
+  getFileListById() {
+    var chennelId = 161753
+    switch(this.data.fileTab) {
+      case 1: chennelId = 20442;break;
+      case 2: chennelId = 69336;break;
+      default: chennelId = 161753;break;
+    }
+    // 161753 规范性文件 20442-其他文件 69336-废止和失效文件 161758-废止和失效文件
+    wx.showToast({title: '加载中',icon: 'loading',duration: 1500})
+    wx.request({
+			url: `https://data.cqna.gov.cn/mini/hlw/send?page=${this.data.page}&limit=15&channelId=` + chennelId,
+			method: 'GET',
+			success: res => {
+        var data = res.data.data.DATA
+        if (data && data.length > 0) {
+          data = data.concat(this.data.fileList)
+          this.setData({
+            'fileList': data,
+            'page': this.data.page + 1
+          })
+          wx.hideToast();
+        } else {
+          wx.showToast({title: '已加载全部数据',icon: 'success',duration: 1000})
+        }
+			}
+		})
+  },
+  // 触底
+  scrollBottom(e) {
+    this.getFileListById(this.data.fileTab)
+  },
+  // 切换政策文件类型
+  clickFileTab: function (e) {
+		this.setData({
+			fileItem: e.currentTarget.dataset.item
+    })
+  },
+  // 滑动政策文件类型
+  changeFileTab: function (e) {
+		this.setData({
+      fileTab: e.detail.current,
+      page: 1,
+      fileList: []
+    })
+    this.getFileListById(this.data.fileTab)
+  },
+})

+ 3 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.json

@@ -0,0 +1,3 @@
+{
+  "usingComponents": {}
+}

+ 40 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.wxml

@@ -0,0 +1,40 @@
+<!--pages/publics/fileList/fileList.wxml-->
+<wxs module="filter" src="./util.wxs"></wxs>
+<!-- 政策文件 -->
+<view style="height: {{height}}">
+  <view style="height: {{height}};width: 730rpx;margin-left: 10rpx;">
+    <view style="height: 4%;display: flex;background-color: #ffffff;">
+      <!-- 规范文件 -->
+      <view style="position: relative;margin-left: 33rpx;" class="tab-item {{fileTab==0?'active':''}}" bindtap="clickFileTab" data-item="0">
+        <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 style="height:50rpx;">其他文件</view>
+      </view>
+      <!-- 废止和失效文件 -->
+      <view style="position: relative;margin-left: 70rpx;" class="tab-item {{fileTab==2?'active':''}}" bindtap="clickFileTab" data-item="2">
+        <view style="height:50rpx;">废止和失效文件</view>
+      </view>
+    </view>
+    <view style="height: 97%;">
+      <swiper duration="200" current="{{fileItem}}" bindchange="changeFileTab" style="height: 97%;">
+        <swiper-item>
+          <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;"	bindscrolltolower="scrollBottom">
+            <include src="file.wxml" />
+          </scroll-view>
+        </swiper-item>
+        <swiper-item>
+          <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
+            <include src="file.wxml" />
+          </scroll-view>
+        </swiper-item>
+        <swiper-item>
+          <scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
+            <include src="file.wxml" />
+          </scroll-view>
+        </swiper-item>
+      </swiper>
+    </view>
+  </view>
+</view>

+ 55 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/fileList.wxss

@@ -0,0 +1,55 @@
+/* pages/publics/fileList/fileList.wxss */
+/* scroll-view ::-webkit-scrollbar {
+	display:none;
+	width:0;
+	height:0;
+	color:transparent;
+} */
+
+.tab-item{
+  font-size: 32rpx;
+  text-align: center;
+  line-height: 60rpx;
+  color: #333333;
+  height: 54rpx;
+  display: flex;
+  justify-content: center;
+  flex-direction: row;
+  padding: 0 10rpx;
+}
+
+.tab-item.active{
+  font-size: 32rpx;
+  color: #508FF4;
+  border-bottom: 4rpx solid #508FF4;
+  position: relative;
+}
+
+.list li{
+  padding: 20rpx 0;
+	display: flex;
+	flex-direction: column;
+	justify-content: center;
+  border-bottom: 1px solid rgb(102 102 102 / 12%);
+}
+
+/* .list li .title::before {
+  content: '·';
+  font-size: 20rpx;
+  font-weight: bold;
+	margin-right: 5px;
+} */
+
+.list li .title{
+	display: block;
+  font-size: 28rpx;
+  color: #333333;
+  margin-left: 20rpx;
+}
+.list li .time{
+  margin-left: 20rpx;
+	color: #999999;
+	font-size:24rpx;
+	width: 90%;
+	margin-top: 5px;
+}

+ 14 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/fileList/util.wxs

@@ -0,0 +1,14 @@
+// 支持es4语法
+var filter = {
+	formateDate: function(data) {
+		if (data && data != '') {
+			return data.slice(5,10)
+		} else {
+			return ''
+		}
+	}
+}
+// 导出对外暴露的属性
+module.exports = {
+	formateDate: filter.formateDate
+}

+ 4 - 4
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/government/government.wxml

@@ -25,7 +25,7 @@
             <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">区政府部门</view>
           </view>
           <view style="display: flex;flex-wrap: wrap;padding: 20rpx 20rpx;">
-            <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 203rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 10rpx;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}</view>
+            <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 30%;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 1%;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}</view>
           </view>
         </view>
         <view style="padding: 10rpx 20rpx;">
@@ -34,7 +34,7 @@
             <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">乡镇政府</view>
           </view>
           <view style="display: flex;flex-wrap: wrap;padding: 20rpx 20rpx;">
-            <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" wx:for="{{townshipList}}" wx:key="index" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 203rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 10rpx;">{{item.name}}</view>
+            <view bindtap="gotoDetail" data-channelId="{{item.channelId}}" wx:for="{{townshipList}}" wx:key="index" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 30%;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 1%;">{{item.name}}</view>
           </view>
         </view>
       </scroll-view>
@@ -130,7 +130,7 @@
             <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">区政府部门</view>
           </view>
           <view style="display: flex;flex-wrap: wrap;padding: 20rpx 20rpx;">
-            <view bindtap="gotoArticles" data-channelId="{{item.annalsChannelId}}" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 203rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 10rpx;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}</view>
+            <view bindtap="gotoArticles" data-channelId="{{item.annalsChannelId}}" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 30%;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 1%;" wx:for="{{districtGovernmentList}}" wx:key="index">{{item.name}}</view>
           </view>
         </view>
         <view style="padding: 10rpx 20rpx;">
@@ -139,7 +139,7 @@
             <view style="margin-left: 10rpx;font-size: 35rpx;font-family: PingFang SC;font-weight: bold;">乡镇政府</view>
           </view>
           <view style="display: flex;flex-wrap: wrap;padding: 20rpx 20rpx;">
-            <view bindtap="gotoArticles" data-channelId="{{item.annalsChannelId}}" wx:for="{{townshipList}}" wx:key="index" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 203rpx;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 10rpx;">{{item.name}}</view>
+            <view bindtap="gotoArticles" data-channelId="{{item.annalsChannelId}}" wx:for="{{townshipList}}" wx:key="index" style="border: 1px solid #C5C5C5;border-radius: 4rpx;width: 30%;height: 50rpx;text-align: center;line-height: 50rpx;font-size: 24rpx;margin: 1%;">{{item.name}}</view>
           </view>
         </view>
       </scroll-view>

+ 241 - 280
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/index/index.js

@@ -1,340 +1,301 @@
 // pages/nais/nais.js
 let app = getApp();
 import {
-	imgUrl
+  imgUrl
 } from "../../api/request"
 
 Page({
 
-	/**
-	 * 页面的初始数据
-	 */
-	data: {
-		// 图片前缀
-		imgUrl: imgUrl,
-		// 屏幕高度
-		navHeight: '',
-		background: ['1', '2', '3', '4', '5'],
-		// 区政府领导列表
-		leaderList: [{
-			id: '145044',
-			name: '王茂春',
-			pic: '图层 1298.png',
-			description: '区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)',
-			Introduction: '王茂春,男,汉族,1970年1月生,研究生,高级管理人员工商管理硕士,中共党员。现任区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)。',
-			work: '主持区政府全面工作。主管审计工作。联系人大、政协、民主党派有关工作。'
-		},{
-			id: '341997',
-			name: '唐昕',
-			pic: '图层 1298.png',
-			description: '区委常委,区政府党组副书记、常务副区长',
-			Introduction: '唐昕,男,汉族,1967年8月生,研究生,农业推广硕士,中共党员。现任区委常委,区政府党组副书记、常务副区长。',
-			work: '负责区政府常务工作。分管的工作:发展改革、财政、税务、国资监管、政府债务防控、统计、保密、督查、行政审批、政务服务、政务公开、“放管服”改革、筹融资、机关事务、公务接待、国防动员、粮食、能源、政府采购、公共资源交易监管、对口支援、重点建设、重大项目包装推介、生产要素市场建设、管网建设。协助负责审计工作。统筹负责金融、企业上市、应急管理工作。分管的部门(单位):区政府办公室、区发展改革委(区公共资源交易监管局)、区财政局、区审计局、区统计局、区机关事务局、区国资委、区政务办、区税务局、区行政学校、区城建集团、区正联公司。联系人才、考核、巡察、党校、老干部、人武工作,区监委,经开区办公室、生态城指挥部办公室、经开区改革发展科技局、经开区行政服务中心、经开区税务局、市税务局第五稽查局,中邮南岸分公司。'
-		},{
-			id: '341998',
-			name: '张进',
-			pic: '图层 1298.png',
-			description: '区委常委,区政府党组成员、副区长',
-			Introduction: '张进,男,汉族,1969年10月生,研究生,理学学士,中共党员。现任区委常委,区政府党组成员、副区长。',
-			work: '分管的工作:商务、现代服务业、外经外贸、外事、招商引资、大健康产业发展、供销、商贸流通、口岸物流、港澳事务、台湾事务、侨务、自贸区、中新示范项目、市场监管、工商管理、中小企业、微型企业、非公有制经济、质量技术监督、检验检疫、食品药品监督管理、知识产权保护、烟草专卖、南坪现代服务业集聚区开发建设,协同做好迎龙商务区开发建设工作。分管的部门(单位):区商务委、区政府外办(区招商投资局、区服务业发展办)、区供销社、区市场监管局(区知识产权局)、区大健康产业发展促进中心、南坪现代服务业集聚区发展中心。联系台湾事务、侨务工作,市药品监管局检查三局,区烟草专卖局,区工商联、区侨联,迎龙商务区发展中心,经开区经贸合作局、经开区市场监管局、经开区招商公司,重庆软件园,区域内中央和市属商贸流通企业。'
-		},{
-			id: '341999',
-			name: '蒋文新',
-			pic: '图层 1298.png',
-			description: '民盟重庆市南岸区委主委,区政府副区长',
-			Introduction: '蒋文新,男,汉族,1967年1月生,大学。现任民盟重庆市南岸区委主委,区政府副区长。',
-			work: '分管的工作:教育、民政、文化广电、旅游、民族宗教工作、体育、老龄、妇女儿童、残疾人工作。分管的部门(单位):区教委、区民政局、区文化旅游委(区体育局)、区民族宗教委、区体育发展中心、重庆抗博、重马公司。联系档案、地方志、关心下一代工作,区总工会、团区委、区妇联、区残联,区域内高等院校。'
-		},{
-			id: '342000',
-			name: '游泳',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '游泳,男,汉族,1970年3月生,大学,高级管理人员工商管理硕士,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:人力资源和社会保障、就业和再就业、外国专家管理、金融、企业上市,协助分管财政、税务、国资监管、筹融资、政府债务防控工作。分管的部门(单位):区人力社保局、区金融办、南滨路发展中心、江南新城集团、南发公司、南滨路文化园区公司、云开公司,协助分管区财政局、区国资委、区税务局、区城建集团。联系在区金融保险机构,协助联系经开区财务局、经开区税务局、市税务局第五稽查局。'
-		},{
-			id: '342002',
-			name: '刘露',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '刘露,男,汉族,1974年7月生,研究生,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:“三农”工作、水利、防汛抗旱、农业投资项目、农田整治项目、扶贫、三峡移民、地震气象、卫生健康、医疗保障、职业安全健康监督管理、医疗救助、南山生态保护综合治理、镇街工作。具体负责应急管理工作。分管的部门(单位):区农业农村委、区卫生健康委、区应急局、区医保局、南山生态保护发展中心、各街道办事处。联系各镇政府、区消防救援支队。'
-		},{
-			id: '342003',
-			name: '张超林',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '张超林,男,汉族,1978年8月生,研究生,历史学博士,注册城市规划师、正高级工程师,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:住房和城乡建设、城市管理、基础设施建设管理、规划和自然资源管理、林业、民防、土地征拆与储备。分管的部门(单位):区住房城乡建委(区隧道轨道交通建设服务中心)、区城市管理局、区规划自然资源局(区林业局)、区征地事务中心、区土储中心、南岸不动产登记中心。联系精神文明建设工作,经开区生态环境建设局、经开区土地利用事务中心、经开区建设服务中心,江南营管所、东部水务公司。'
-		},{
-			id: '342004',
-			name: '杨建',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长,区公安分局党委书记、局长、督察长(兼)',
-			Introduction: '杨建,女,汉族,1970年3月生,大学,法学学士,中共党员。现任区政府党组成员、副区长,区公安分局党委书记、局长、督察长(兼)。',
-			work: '分管的工作:公安、司法行政、退役军人事务、信访工作。分管的部门(单位):区公安分局、区司法局、区退役军人事务局、区信访办、江南保安公司。联系政法、综合治理、社会稳定、网信工作,区法院、区检察院,区域内监所。'
-		},{
-			id: '342005',
-			name: '石少林',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '石少林,男,汉族,1978年10月生,大学,公共管理硕士,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:科技、工业和信息化、生态环境、减排、污染防治、生态环境监察执法、交通、大数据应用发展、智慧城市建设、军民融合、通信管理工作。分管的部门(单位):区科技局、区经济信息委、区生态环境局、区交通局、区大数据发展局。联系新闻出版、电影、外宣、党史研究工作,区科协、经开区经济运行局、经开区创新创业服务中心,市南供电公司、燃气南岸分公司、移动城一分公司、联通南岸分公司、电信南岸分公司、有线电视南岸分公司、铁塔南岸分公司,区域内中央和市属工业企业、科研院所。'
-		},{
-			id: '344559',
-			name: '张炎',
-			pic: '图层 1298.png',
-			description: '区政府党组成员,中国信息通信研究院西部分院(重庆信息通信研究院)院长',
-			Introduction: '张炎,男,汉族,1982年8月生,研究生,正高级工程师,中共党员。现任区政府党组成员,中国信息通信研究院西部分院(重庆信息通信研究院)院长。',
-			work: '协助张进副区长负责大数据智能化招商引资、招才引智工作,协助蒋文新副区长负责高校科创资源、职业教育与地方经济融合发展工作,协助石少林副区长负责大数据智能化工作、建设城市大脑。'
-		},{
-			id: '145052',
-			name: '陈炯',
-			pic: '图层 1298.png',
-			description: '区政府一级巡视员',
-			Introduction: '陈炯,男,汉族,1962年8月生,大学,中共党员。现任区政府一级巡视员。',
-			work: '协助王茂春区长处理重要专项工作,协助唐昕常务副区长负责优化营商环境工作。'
-		},{
-			id: '145046',
-			name: '莫裕全',
-			pic: '图层 1298.png',
-			description: '民进重庆市委副主委,区政府一级巡视员',
-			Introduction: '莫裕全,男,汉族,1963年5月生,大学。现任民进重庆市委副主委,区政府一级巡视员。',
-			work: '协助王茂春区长处理重要专项工作,协助刘露副区长负责疫情防控、卫生健康工作。'
-		}],
-		// 政府信息公开
-		governmentInfoList: [{
-				title: '政府信息公开指南',
-				pic: 'public-zw1.png'
-			},
-			{
-				title: '政府信息公开制度',
-				pic: 'public-zw2.png'
-			},
-			{
-				title: '法定主动公开内容',
-				pic: 'public-zw3.png'
-			},
-			{
-				title: '政府信息公开年报',
-				pic: 'public-zw4.png'
-			}
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    // 图片前缀
+    imgUrl: imgUrl,
+    // 屏幕高度
+    navHeight: '',
+    background: ['1', '2', '3', '4', '5'],
+    // 区政府领导列表
+    leaderList: [{
+      id: '145044',
+      name: '王茂春',
+      pic: '图层 1298.png',
+      description: '区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)',
+      Introduction: '王茂春,男,汉族,1970年1月生,研究生,高级管理人员工商管理硕士,中共党员。现任区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)。',
+      work: '主持区政府全面工作。主管审计工作。联系人大、政协、民主党派有关工作。'
+    }, {
+      id: '341997',
+      name: '唐昕',
+      pic: '图层 1298.png',
+      description: '区委常委,区政府党组副书记、常务副区长',
+      Introduction: '唐昕,男,汉族,1967年8月生,研究生,农业推广硕士,中共党员。现任区委常委,区政府党组副书记、常务副区长。',
+      work: '负责区政府常务工作。分管的工作:发展改革、财政、税务、国资监管、政府债务防控、统计、保密、督查、行政审批、政务服务、政务公开、“放管服”改革、筹融资、机关事务、公务接待、国防动员、粮食、能源、政府采购、公共资源交易监管、对口支援、重点建设、重大项目包装推介、生产要素市场建设、管网建设。协助负责审计工作。统筹负责金融、企业上市、应急管理工作。分管的部门(单位):区政府办公室、区发展改革委(区公共资源交易监管局)、区财政局、区审计局、区统计局、区机关事务局、区国资委、区政务办、区税务局、区行政学校、区城建集团、区正联公司。联系人才、考核、巡察、党校、老干部、人武工作,区监委,经开区办公室、生态城指挥部办公室、经开区改革发展科技局、经开区行政服务中心、经开区税务局、市税务局第五稽查局,中邮南岸分公司。'
+    }, {
+      id: '341998',
+      name: '张进',
+      pic: '图层 1298.png',
+      description: '区委常委,区政府党组成员、副区长',
+      Introduction: '张进,男,汉族,1969年10月生,研究生,理学学士,中共党员。现任区委常委,区政府党组成员、副区长。',
+      work: '分管的工作:商务、现代服务业、外经外贸、外事、招商引资、大健康产业发展、供销、商贸流通、口岸物流、港澳事务、台湾事务、侨务、自贸区、中新示范项目、市场监管、工商管理、中小企业、微型企业、非公有制经济、质量技术监督、检验检疫、食品药品监督管理、知识产权保护、烟草专卖、南坪现代服务业集聚区开发建设,协同做好迎龙商务区开发建设工作。分管的部门(单位):区商务委、区政府外办(区招商投资局、区服务业发展办)、区供销社、区市场监管局(区知识产权局)、区大健康产业发展促进中心、南坪现代服务业集聚区发展中心。联系台湾事务、侨务工作,市药品监管局检查三局,区烟草专卖局,区工商联、区侨联,迎龙商务区发展中心,经开区经贸合作局、经开区市场监管局、经开区招商公司,重庆软件园,区域内中央和市属商贸流通企业。'
+    }, {
+      id: '341999',
+      name: '蒋文新',
+      pic: '图层 1298.png',
+      description: '民盟重庆市南岸区委主委,区政府副区长',
+      Introduction: '蒋文新,男,汉族,1967年1月生,大学。现任民盟重庆市南岸区委主委,区政府副区长。',
+      work: '分管的工作:教育、民政、文化广电、旅游、民族宗教工作、体育、老龄、妇女儿童、残疾人工作。分管的部门(单位):区教委、区民政局、区文化旅游委(区体育局)、区民族宗教委、区体育发展中心、重庆抗博、重马公司。联系档案、地方志、关心下一代工作,区总工会、团区委、区妇联、区残联,区域内高等院校。'
+    }],
+    // 政府信息公开
+    governmentInfoList: [{
+        title: '政府信息公开指南',
+        pic: 'public-zw1.png'
+      },
+      {
+        title: '政府信息公开制度',
+        pic: 'public-zw2.png'
+      },
+      {
+        title: '法定主动公开内容',
+        pic: 'public-zw3.png'
+      },
+      {
+        title: '政府信息公开年报',
+        pic: 'public-zw4.png'
+      }
     ],
     // 基层政务公开
-    baseList:[{
-      pic: 'publics-base-1.png',
-      name: '重项目建设'
-    },
-    {
-      pic: 'publics-base-2.png',
-      name: '公共资源交易'
-    },
-    {
-      pic: 'publics-base-3.png',
-      name: '义务教育'
-    },
-    {
-      pic: 'publics-base-4.png',
-      name: '社会救助'
-    },
-    {
-      pic: 'publics-base-5.png',
-      name: '养老服务'
-    },
-    {
-      pic: 'publics-base-6.png',
-      name: '公共法律服务'
-    },
-    {
-      pic: 'publics-base-7.png',
-      name: '就业创业领域'
-    },
-    {
-      pic: 'publics-base-8.png',
-      name: '社会保险领域'
-    },
-    {
-      pic: 'publics-base-9.png',
-      name: '社会保险领域'
-    }],
+    baseList: [{
+        pic: 'publics-base-1.png',
+        name: '重项目建设'
+      },
+      {
+        pic: 'publics-base-2.png',
+        name: '公共资源交易'
+      },
+      {
+        pic: 'publics-base-3.png',
+        name: '义务教育'
+      },
+      {
+        pic: 'publics-base-4.png',
+        name: '社会救助'
+      },
+      {
+        pic: 'publics-base-5.png',
+        name: '养老服务'
+      },
+      {
+        pic: 'publics-base-6.png',
+        name: '公共法律服务'
+      },
+      {
+        pic: 'publics-base-7.png',
+        name: '就业创业领域'
+      },
+      {
+        pic: 'publics-base-8.png',
+        name: '社会保险领域'
+      },
+      {
+        pic: 'publics-base-9.png',
+        name: '社会保险领域'
+      }
+    ],
     // 政策文件tab
     fileTab: 0,
     // 政策文件item
     fileItem: 0,
     // 政策文件列表
     fileList: [],
-		// 政策解读
-		policyInterpretation: [{
-			name: '文字解读'
-		}, {
-			name: '图片解读'
-		}, {
-			name: '视频解读'
-		}, {
-			name: '媒体解读'
-		}],
-		// 政策解读数据
-		policyInterpretationContent: [{
-			url: '图层 3261.png',
-			title: '重庆市南岸区集体土地征收补偿安置 实施办法政策解读(视频解读)'
-		}, {
-			url: '图层 3262.png',
-			title: '关于印发支持科技创新若干财政金融 政策的通知(视频解读)'
-		}],
-		// 政策解读默认项
-		currentTab: 0,
-		// 政务专题
-		topics: ['图层 3269.png', '图层 3270.png', '图层 3269.png']
-	},
+    // 政策解读
+    policyInterpretation: [{
+      name: '文字解读'
+    }, {
+      name: '图片解读'
+    }, {
+      name: '视频解读'
+    }, {
+      name: '媒体解读'
+    }],
+    // 政策解读数据
+    policyInterpretationContent: [{
+      url: '图层 3261.png',
+      title: '重庆市南岸区集体土地征收补偿安置 实施办法政策解读(视频解读)'
+    }, {
+      url: '图层 3262.png',
+      title: '关于印发支持科技创新若干财政金融 政策的通知(视频解读)'
+    }],
+    // 政策解读默认项
+    currentTab: 0,
+    // 政务专题
+    topics: ['图层 3269.png', '图层 3270.png', '图层 3269.png']
+  },
 
 
-	/**
-	 * 生命周期函数--监听页面初次渲染完成
-	 */
-	onReady() {
-		if (typeof this.getTabBar === 'function' && this.getTabBar()) {
-			this.getTabBar().setData({
-				selected: 1
-			})
-		}
-	},
-	onHide() {
-		if (typeof this.getTabBar === 'function' &&
-			this.getTabBar()) {
-			this.getTabBar().setData({
-				selected: -1
-			})
-		}
-	},
-	// 事件处理函数
-	onLoad() {
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+    if (typeof this.getTabBar === 'function' && this.getTabBar()) {
+      this.getTabBar().setData({
+        selected: 1
+      })
+    }
+  },
+  onHide() {
+    if (typeof this.getTabBar === 'function' &&
+      this.getTabBar()) {
+      this.getTabBar().setData({
+        selected: -1
+      })
+    }
+  },
+  // 事件处理函数
+  onLoad() {
     // 政策文件
     this.getFileListById(161753)
-		this.setData({
-			navHeight: app.globalData.navHeight + app.globalData.menuHeight / 2
-		})
+    this.setData({
+      navHeight: app.globalData.navHeight + app.globalData.menuHeight / 2
+    })
   },
   // 获取政策文件列表
   getFileListById() {
     var chennelId = 161753
-    switch(this.data.fileTab) {
-      case 1: chennelId = 20442;break;
-      case 2: chennelId = 69336;break;
-      default: chennelId = 161753;break;
+    switch (this.data.fileTab) {
+      case 1:
+        chennelId = 20442;
+        break;
+      case 2:
+        chennelId = 69336;
+        break;
+      default:
+        chennelId = 161753;
+        break;
     }
     // 161753 规范性文件 20442-其他文件 69336-废止和失效文件 161758-废止和失效文件
     wx.request({
-			url: 'https://data.cqna.gov.cn/mini/hlw/send?page=1&limit=10&channelId=' + chennelId,
-			method: 'GET',
-			success: res => {
+      url: 'https://data.cqna.gov.cn/mini/hlw/send?page=1&limit=10&channelId=' + chennelId,
+      method: 'GET',
+      success: res => {
         if (res.data.data.DATA) {
           this.setData({
             fileList: res.data.data.DATA
           })
         }
-			}
-		})
+      }
+    })
+  },
+  // 跳转更多界面
+  goToMore() {
+    console.log("跳转到详细界面");
   },
-	// 跳转更多界面
-	goToMore() {
-		console.log("跳转到详细界面");
-	},
-	goToGovernment(e) {
-		if (e.currentTarget.dataset.index) {
-			wx.navigateTo({
-				url: '/pages/publics/government/government?index=' + e.currentTarget.dataset.index,
-			})
-		} else {
-			wx.navigateTo({
-				url: '/pages/publics/government/government',
-			})
-		}
+  gotoInterpretation() {
+    wx.navigateTo({
+      url: '/pages/publics/interpretation/interpretation',
+    })
+  },
+  goToGovernment(e) {
+    if (e.currentTarget.dataset.index) {
+      wx.navigateTo({
+        url: '/pages/publics/government/government?index=' + e.currentTarget.dataset.index,
+      })
+    } else {
+      wx.navigateTo({
+        url: '/pages/publics/government/government',
+      })
+    }
   },
   // 切换政策文件类型
   clickFileTab: function (e) {
-		this.setData({
-			fileItem: e.currentTarget.dataset.item
+    this.setData({
+      fileItem: e.currentTarget.dataset.item
     })
   },
   // 滑动政策文件类型
   changeFileTab: function (e) {
-		this.setData({
-			fileTab: e.detail.current
+    this.setData({
+      fileTab: e.detail.current
     })
     this.getFileListById(this.data.fileTab)
   },
-	// 切换政策解读
-	tabNav(e) {
-		let currentTab = e.currentTarget.dataset.index
-		this.setData({
-			currentTab
-		})
-	},
-	// 滑动政策解读
-	handleSwiper(e) {
-		console.log("1212121");
-		let {
-			current,
-			source
-		} = e.detail
-		if (source === 'autoplay' || source === 'touch') {
-			const currentTab = current
-			this.setData({
-				currentTab
-			})
-		}
-	},
+  // 切换政策解读
+  tabNav(e) {
+    let currentTab = e.currentTarget.dataset.index
+    this.setData({
+      currentTab
+    })
+  },
+  // 滑动政策解读
+  handleSwiper(e) {
+    console.log("1212121");
+    let {
+      current,
+      source
+    } = e.detail
+    if (source === 'autoplay' || source === 'touch') {
+      const currentTab = current
+      this.setData({
+        currentTab
+      })
+    }
+  },
 
-	/**
-	 * 生命周期函数--监听页面显示
-	 */
-	onShow() {
-		if (typeof this.getTabBar === 'function' && this.getTabBar()) {
-			this.getTabBar().setData({
-				selected: 1
-			})
-		}
-	},
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+    if (typeof this.getTabBar === 'function' && this.getTabBar()) {
+      this.getTabBar().setData({
+        selected: 1
+      })
+    }
+  },
 
-	/**
-	 * 生命周期函数--监听页面卸载
-	 */
-	onUnload() {
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
 
-	},
+  },
 
-	/**
-	 * 页面相关事件处理函数--监听用户下拉动作
-	 */
-	onPullDownRefresh() {
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
 
-	},
+  },
 
-	/**
-	 * 页面上拉触底事件的处理函数
-	 */
-	onReachBottom() {
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
 
-	},
+  },
 
-	/**
-	 * 用户点击右上角分享
-	 */
-	onShareAppMessage() {
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
 
-	},
-	gotoZXWDK() {
-		wx.navigateTo({
-			url: '/pages/ZCWDK/index/index',
-		})
+  },
+  gotoZXWDK() {
+    wx.navigateTo({
+      url: '/pages/ZCWDK/index/index',
+    })
   },
   gotoLeaderDetail() {
     wx.navigateTo({
-			url: '/pages/publics/publicLeaderDetail/publicLeaderDetail',
-		})
+      url: '/pages/publics/publicLeaderDetail/publicLeaderDetail',
+    })
   },
   goToBaseAffairs() {
     wx.navigateTo({
-			url: '/pages/publics/baseAffairs/baseAffairs',
+      url: '/pages/publics/baseAffairs/baseAffairs',
+    })
+  },
+  goToFileList() {
+    wx.navigateTo({
+			url: '/pages/publics/fileList/fileList',
 		})
   }
 })

+ 29 - 11
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/index/index.wxml

@@ -6,14 +6,14 @@
     <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="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>
     <!-- 区政府领导 -->
     <view class="learder">
@@ -69,7 +69,7 @@
       <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 class="content-more" bindtap="goToFileList">查看更多 >></view>
       </view>
       <view style="margin-top: 5rpx;width: 690rpx;margin-left: 30rpx;box-shadow: 0px -2px 5px 0px rgba(153,153,153,0.17);">
         <view style="height: 66rpx;display: flex;background-color: #ffffff;">
@@ -116,7 +116,7 @@
       <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 class="content-more" bindtap="gotoInterpretation">查看更多 >></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}}">
@@ -126,13 +126,31 @@
             <view wx:if="{{ currentTab === index }}" style="position: absolute;width: 0;height: 0;border-left: 10rpx solid transparent;border-right: 10rpx solid transparent;border-top: 10rpx solid #508FF4;bottom: -5rpx;left: 40rpx;" />
           </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 current="{{currentTab}}" bindchange="handleSwiper" autoplay="{{false}}" style="padding: 0 10px;margin-top: 15rpx;height: 320rpx;">
+          <!-- 文字解读 -->
+          <swiper-item>
+            <view style="display: flex;justify-content: space-between;" >
+              <view style="width: 327rpx;" wx:for="{{2}}">
+                <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
+                <view style="font-size: 20rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
+              </view>
+            </view>
+          </swiper-item>
+          <!-- 图片解读 -->
+          <swiper-item>
+            <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
+            <view style="font-size: 20rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
+          </swiper-item>
+          <!-- 视频解读 -->
+          <swiper-item>
+            <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
+            <view style="font-size: 20rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
+          </swiper-item>
+          <!-- 媒体解读 -->
+          <swiper-item>
+            <image src="{{imgUrl}}图层 3261.png" style="width: 327rpx;height: 227rpx;"></image>
+            <view style="font-size: 20rpx;font-family: PingFang SC;color: #666666;">重庆市南岸区集体士地征收补偿安置实腌办法政策解读(视频解读)</view>
+          </swiper-item>
         </swiper>
       </view>
     </view>

+ 98 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.js

@@ -0,0 +1,98 @@
+// pages/publics/interpretation/interpretation.js
+Page({
+
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    interpretationList: [{
+        title: '文字解读'
+      },
+      {
+        title: '图文解读'
+      },
+      {
+        title: '视频解读'
+      },
+      {
+        title: '媒体解读'
+      }
+    ],
+    currentTab: 0
+  },
+  // 切换
+  tabNav(e) {
+    let currentTab = e.currentTarget.dataset.index
+    this.setData({
+      currentTab
+    })
+  },
+  // 切换
+  handleSwiper(e) {
+    let {
+      current,
+      source
+    } = e.detail
+    if (source === 'autoplay' || source === 'touch') {
+      const currentTab = current
+      this.setData({
+        currentTab
+      })
+    }
+  },
+  /**
+   * 生命周期函数--监听页面加载
+   */
+  onLoad(options) {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面初次渲染完成
+   */
+  onReady() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面显示
+   */
+  onShow() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面隐藏
+   */
+  onHide() {
+
+  },
+
+  /**
+   * 生命周期函数--监听页面卸载
+   */
+  onUnload() {
+
+  },
+
+  /**
+   * 页面相关事件处理函数--监听用户下拉动作
+   */
+  onPullDownRefresh() {
+
+  },
+
+  /**
+   * 页面上拉触底事件的处理函数
+   */
+  onReachBottom() {
+
+  },
+
+  /**
+   * 用户点击右上角分享
+   */
+  onShareAppMessage() {
+
+  }
+})

+ 4 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.json

@@ -0,0 +1,4 @@
+{
+  "usingComponents": {},
+	"navigationBarTitleText": "政策解读"
+}

+ 27 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.wxml

@@ -0,0 +1,27 @@
+<!--pages/publics/interpretation/interpretation.wxml-->
+<view style="background: #FFFFFF;">
+  <scroll-view class="scroll-wrapper" scroll-x scroll-with-animation="true" scroll-into-view="item{{currentTab < 2 ? 0 : currentTab - 1}}">
+    <view class="navigate-item" id="item{{index}}" wx:for="{{interpretationList}}" 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">
+    <swiper-item wx:for="{{interpretationList}}">
+      <scroll-view style="height: 100%;" scroll-y="true">
+        <view>
+          <ul class="list">
+            <li bindtap="gotoDetail">
+              <text class="title">《重庆市南岸区行政许可事项清单(2022年版)》政策解读</text>
+              <text class="time">2022-01-06 00:00</text>
+            </li>
+            <li bindtap="gotoDetail">
+              <text class="title">重庆市南岸区卫生健康发展“十四五”规划政策解读</text>
+              <text class="time">2022-09-11 13:23</text>
+            </li>
+          </ul>
+        </view>
+      </scroll-view>
+    </swiper-item>
+  </swiper>
+</view>

+ 89 - 0
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/interpretation/interpretation.wxss

@@ -0,0 +1,89 @@
+/* pages/publics/interpretation/interpretation.wxss */
+/* 隐藏滚动条 */
+scroll-view ::-webkit-scrollbar {
+	display: none;
+	width: 0;
+	height: 0;
+	color: transparent;
+}
+
+/* 滑动 */
+.scroll-wrapper {
+	white-space: nowrap;
+	-webkit-overflow-scrolling: touch;
+	background: #FFF;
+	height: 90rpx;
+	padding: 0 32rpx;
+	box-sizing: border-box;
+}
+
+/* 滑动块 */
+.navigate-item {
+	display: inline-block;
+	text-align: center;
+	height: 90rpx;
+	line-height: 90rpx;
+	margin: 0 30rpx;
+}
+
+/* 滑动块 */
+.names {
+	font-size: 30rpx;
+	color: #333333;
+	font-weight: 500;
+}
+
+/* 滑动块 */
+.names.active {
+	font-size: 30rpx;
+	color: #508FF4;
+	font-weight: 500;
+}
+
+/* 滑动块 */
+.currtline {
+	margin: -8rpx auto 0 auto;
+	height: 8rpx;
+	border-radius: 4rpx;
+}
+
+/* 滑动块 */
+.currtline.active {
+	background: #508FF4;
+	transition: all .3s;
+}
+
+.list li{
+	width: 90%;
+	height: 58px;
+	margin: 0 auto;
+	display: flex;
+	flex-direction: column;
+	justify-content: center;
+    border-bottom: 1px solid rgb(102 102 102 / 12%);
+}
+
+.list li .title::before {
+    content: '·';
+    font-size: 16px;
+    font-weight: bold;
+	margin-right: 5px;
+}
+
+.list li .title{
+	width: 90%;
+	margin: 0 auto;
+	display: block;
+    font-size: 16px;
+    color: #333333;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+}
+.list li .time{
+	color: #999999;
+	font-size:11px;
+	width: 90%;
+	margin: 0 auto;
+	margin-top: 5px;
+}

+ 17 - 6
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.js

@@ -1,6 +1,6 @@
 // pages/publics/leaderInfo/leaderInfo.js
 import {
-	imgUrl
+  imgUrl
 } from "../../api/request"
 
 Page({
@@ -9,17 +9,28 @@ Page({
    * 页面的初始数据
    */
   data: {
-	imgUrl: imgUrl,
-	leaderInfo: ''
+    imgUrl: imgUrl,
+    leaderInfo: ''
   },
 
   /**
    * 生命周期函数--监听页面加载
    */
   onLoad(options) {
-	this.setData({
-		leaderInfo: JSON.parse(options.item)
-	})
+    let item = JSON.parse(options.item);
+    wx.request({
+      url: 'https://data.cqna.gov.cn/mini/hlw/info?channelId=' + item.channelId + '&docId=' + item.docId,
+      method: 'GET',
+      success: res => {
+        item.LDLL = res.data.data.LDLL.replace(/\<span/gi, '<span class="fontSize"');
+        item.LDFG = res.data.data.LDFG.replace(/\<span/gi, '<span class="fontSize"');
+        console.log(res);
+        this.setData({
+          leaderInfo: item
+        })
+      }
+    })
+
   },
 
   /**

+ 2 - 3
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.wxml

@@ -16,8 +16,7 @@
       <view style="background-color: #ffffff;position: absolute;border-radius: 5rpx;display: flex;align-items: center;justify-content: center;width: 151rpx;height:50rpx;border: 2rpx solid #C5C5C5;font-size: 27rpx;letter-spacing: 2rpx;">个人简介</view>
     </view>
     <view style="margin-top: 53rpx;">
-      <view style="font-size: 28rpx;color: #333333;width: 673rpx;"><span style="width: 56rpx;display: inline-block;"></span>王茂春,男,汉族,1970年1月生,研究生,高级管理人员工商管理硕士,中共党员。</view>
-      <view style="font-size: 28rpx;color: #333333;font-weight: 600;width: 673rpx;"><span style="width: 56rpx;display: inline-block;"></span>现任区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)。</view>
+      <rich-text nodes="{{leaderInfo.LDLL}}"></rich-text>
     </view>
   </view>
 
@@ -26,7 +25,7 @@
       <view style="background-color: #ffffff;position: absolute;border-radius: 5rpx;display: flex;align-items: center;justify-content: center;width: 151rpx;height:50rpx;border: 2rpx solid #C5C5C5;font-size: 27rpx;letter-spacing: 2rpx;">主管工作</view>
     </view>
     <view style="margin-top: 53rpx;">
-      <view style="font-size: 28rpx;color: #333333;width: 673rpx;"><span style="width: 56rpx;display: inline-block;"></span>主持区政府全面工作。主管审计工作。联系人大、政协</view>
+      <rich-text nodes="{{leaderInfo.LDFG}}"></rich-text>
     </view>
   </view>
 

+ 11 - 6
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/leaderInfo/leaderInfo.wxss

@@ -1,9 +1,9 @@
 /* pages/publics/leaderInfo/leaderInfo.wxss */
 scroll-view ::-webkit-scrollbar {
-	display:none;
-	width:0;
-	height:0;
-	color:transparent;
+  display: none;
+  width: 0;
+  height: 0;
+  color: transparent;
 }
 
 .limit-text-3 {
@@ -12,5 +12,10 @@ scroll-view ::-webkit-scrollbar {
   overflow: hidden;
   text-overflow: ellipsis;
   -webkit-box-orient: vertical;
-  word-break: break-all; /*强制英文单词自动换行*/
-  }
+  word-break: break-all;
+  /*强制英文单词自动换行*/
+}
+
+.fontSize {
+  font-size: 28rpx!important;
+}

+ 94 - 105
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/publics/publicLeaderDetail/publicLeaderDetail.js

@@ -5,120 +5,109 @@ import {
 
 Page({
 
-	/**
-	 * 页面的初始数据
-	 */
-	data: {
-		imgUrl: imgUrl,
-		leaderList: [{
-			id: '145044',
-			name: '王茂春',
-			pic: '图层 1298.png',
-			description: '区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)',
-			Introduction: '王茂春,男,汉族,1970年1月生,研究生,高级管理人员工商管理硕士,中共党员。现任区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)。',
-			work: '主持区政府全面工作。主管审计工作。联系人大、政协、民主党派有关工作。'
-		},{
-			id: '341997',
-			name: '唐昕',
-			pic: '图层 1298.png',
-			description: '区委常委,区政府党组副书记、常务副区长',
-			Introduction: '唐昕,男,汉族,1967年8月生,研究生,农业推广硕士,中共党员。现任区委常委,区政府党组副书记、常务副区长。',
-			work: '负责区政府常务工作。分管的工作:发展改革、财政、税务、国资监管、政府债务防控、统计、保密、督查、行政审批、政务服务、政务公开、“放管服”改革、筹融资、机关事务、公务接待、国防动员、粮食、能源、政府采购、公共资源交易监管、对口支援、重点建设、重大项目包装推介、生产要素市场建设、管网建设。协助负责审计工作。统筹负责金融、企业上市、应急管理工作。分管的部门(单位):区政府办公室、区发展改革委(区公共资源交易监管局)、区财政局、区审计局、区统计局、区机关事务局、区国资委、区政务办、区税务局、区行政学校、区城建集团、区正联公司。联系人才、考核、巡察、党校、老干部、人武工作,区监委,经开区办公室、生态城指挥部办公室、经开区改革发展科技局、经开区行政服务中心、经开区税务局、市税务局第五稽查局,中邮南岸分公司。'
-		},{
-			id: '341998',
-			name: '张进',
-			pic: '图层 1298.png',
-			description: '区委常委,区政府党组成员、副区长',
-			Introduction: '张进,男,汉族,1969年10月生,研究生,理学学士,中共党员。现任区委常委,区政府党组成员、副区长。',
-			work: '分管的工作:商务、现代服务业、外经外贸、外事、招商引资、大健康产业发展、供销、商贸流通、口岸物流、港澳事务、台湾事务、侨务、自贸区、中新示范项目、市场监管、工商管理、中小企业、微型企业、非公有制经济、质量技术监督、检验检疫、食品药品监督管理、知识产权保护、烟草专卖、南坪现代服务业集聚区开发建设,协同做好迎龙商务区开发建设工作。分管的部门(单位):区商务委、区政府外办(区招商投资局、区服务业发展办)、区供销社、区市场监管局(区知识产权局)、区大健康产业发展促进中心、南坪现代服务业集聚区发展中心。联系台湾事务、侨务工作,市药品监管局检查三局,区烟草专卖局,区工商联、区侨联,迎龙商务区发展中心,经开区经贸合作局、经开区市场监管局、经开区招商公司,重庆软件园,区域内中央和市属商贸流通企业。'
-		},{
-			id: '341999',
-			name: '蒋文新',
-			pic: '图层 1298.png',
-			description: '民盟重庆市南岸区委主委,区政府副区长',
-			Introduction: '蒋文新,男,汉族,1967年1月生,大学。现任民盟重庆市南岸区委主委,区政府副区长。',
-			work: '分管的工作:教育、民政、文化广电、旅游、民族宗教工作、体育、老龄、妇女儿童、残疾人工作。分管的部门(单位):区教委、区民政局、区文化旅游委(区体育局)、区民族宗教委、区体育发展中心、重庆抗博、重马公司。联系档案、地方志、关心下一代工作,区总工会、团区委、区妇联、区残联,区域内高等院校。'
-		},{
-			id: '342000',
-			name: '游泳',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '游泳,男,汉族,1970年3月生,大学,高级管理人员工商管理硕士,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:人力资源和社会保障、就业和再就业、外国专家管理、金融、企业上市,协助分管财政、税务、国资监管、筹融资、政府债务防控工作。分管的部门(单位):区人力社保局、区金融办、南滨路发展中心、江南新城集团、南发公司、南滨路文化园区公司、云开公司,协助分管区财政局、区国资委、区税务局、区城建集团。联系在区金融保险机构,协助联系经开区财务局、经开区税务局、市税务局第五稽查局。'
-		},{
-			id: '342002',
-			name: '刘露',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '刘露,男,汉族,1974年7月生,研究生,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:“三农”工作、水利、防汛抗旱、农业投资项目、农田整治项目、扶贫、三峡移民、地震气象、卫生健康、医疗保障、职业安全健康监督管理、医疗救助、南山生态保护综合治理、镇街工作。具体负责应急管理工作。分管的部门(单位):区农业农村委、区卫生健康委、区应急局、区医保局、南山生态保护发展中心、各街道办事处。联系各镇政府、区消防救援支队。'
-		},{
-			id: '342003',
-			name: '张超林',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '张超林,男,汉族,1978年8月生,研究生,历史学博士,注册城市规划师、正高级工程师,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:住房和城乡建设、城市管理、基础设施建设管理、规划和自然资源管理、林业、民防、土地征拆与储备。分管的部门(单位):区住房城乡建委(区隧道轨道交通建设服务中心)、区城市管理局、区规划自然资源局(区林业局)、区征地事务中心、区土储中心、南岸不动产登记中心。联系精神文明建设工作,经开区生态环境建设局、经开区土地利用事务中心、经开区建设服务中心,江南营管所、东部水务公司。'
-		},{
-			id: '342004',
-			name: '杨建',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长,区公安分局党委书记、局长、督察长(兼)',
-			Introduction: '杨建,女,汉族,1970年3月生,大学,法学学士,中共党员。现任区政府党组成员、副区长,区公安分局党委书记、局长、督察长(兼)。',
-			work: '分管的工作:公安、司法行政、退役军人事务、信访工作。分管的部门(单位):区公安分局、区司法局、区退役军人事务局、区信访办、江南保安公司。联系政法、综合治理、社会稳定、网信工作,区法院、区检察院,区域内监所。'
-		},{
-			id: '342005',
-			name: '石少林',
-			pic: '图层 1298.png',
-			description: '区政府党组成员、副区长',
-			Introduction: '石少林,男,汉族,1978年10月生,大学,公共管理硕士,中共党员。现任区政府党组成员、副区长。',
-			work: '分管的工作:科技、工业和信息化、生态环境、减排、污染防治、生态环境监察执法、交通、大数据应用发展、智慧城市建设、军民融合、通信管理工作。分管的部门(单位):区科技局、区经济信息委、区生态环境局、区交通局、区大数据发展局。联系新闻出版、电影、外宣、党史研究工作,区科协、经开区经济运行局、经开区创新创业服务中心,市南供电公司、燃气南岸分公司、移动城一分公司、联通南岸分公司、电信南岸分公司、有线电视南岸分公司、铁塔南岸分公司,区域内中央和市属工业企业、科研院所。'
-		},{
-			id: '344559',
-			name: '张炎',
-			pic: '图层 1298.png',
-			description: '区政府党组成员,中国信息通信研究院西部分院(重庆信息通信研究院)院长',
-			Introduction: '张炎,男,汉族,1982年8月生,研究生,正高级工程师,中共党员。现任区政府党组成员,中国信息通信研究院西部分院(重庆信息通信研究院)院长。',
-			work: '协助张进副区长负责大数据智能化招商引资、招才引智工作,协助蒋文新副区长负责高校科创资源、职业教育与地方经济融合发展工作,协助石少林副区长负责大数据智能化工作、建设城市大脑。'
-		},{
-			id: '145052',
-			name: '陈炯',
-			pic: '图层 1298.png',
-			description: '区政府一级巡视员',
-			Introduction: '陈炯,男,汉族,1962年8月生,大学,中共党员。现任区政府一级巡视员。',
-			work: '协助王茂春区长处理重要专项工作,协助唐昕常务副区长负责优化营商环境工作。'
-		},{
-			id: '145046',
-			name: '莫裕全',
-			pic: '图层 1298.png',
-			description: '民进重庆市委副主委,区政府一级巡视员',
-			Introduction: '莫裕全,男,汉族,1963年5月生,大学。现任民进重庆市委副主委,区政府一级巡视员。',
-			work: '协助王茂春区长处理重要专项工作,协助刘露副区长负责疫情防控、卫生健康工作。'
-		}],
-	},
+  /**
+   * 页面的初始数据
+   */
+  data: {
+    imgUrl: imgUrl,
+    leaderList: [{
+      channelId: '145044',
+      docId: '8852125',
+      name: '王茂春',
+      pic: '图层 1298.png',
+      description: '区委副书记,区政府党组书记、区政府区长,重庆经开区党工委副书记(兼)'
+    }, {
+      channelId: '341997',
+      docId: '10298243',
+      name: '唐昕',
+      pic: '图层 1298.png',
+			description: '区委常委,区政府党组副书记、常务副区长'
+    }, {
+      channelId: '341998',
+      docId: '10298370',
+      name: '张进',
+      pic: '图层 1298.png',
+			description: '区委常委,区政府党组成员、副区长'
+    }, {
+      channelId: '341999',
+      docId: '10298390',
+      name: '蒋文新',
+      pic: '图层 1298.png',
+			description: '民盟重庆市南岸区委主委,区政府副区长'
+    }, {
+      channelId: '342000',
+      docId: '10298402',
+      name: '游泳',
+      docId: '10298402',
+      pic: '图层 1298.png',
+			description: '区政府党组成员、副区长'
+    }, {
+      channelId: '342002',
+      docId: '10298423',
+      name: '刘露',
+      pic: '图层 1298.png',
+			description: '区政府党组成员、副区长'
+    }, {
+      channelId: '342003',
+      docId: '10298429',
+      name: '张超林',
+      pic: '图层 1298.png',
+			description: '区政府党组成员、副区长'
+    }, {
+      channelId: '342004',
+      docId: '10298447',
+      name: '杨建',
+      pic: '图层 1298.png',
+			description: '区政府党组成员、副区长,区公安分局党委书记、局长、督察长(兼)'
+    }, {
+      channelId: '342005',
+      docId: '10298487',
+      name: '石少林',
+      pic: '图层 1298.png',
+			description: '区政府党组成员、副区长'
+    }, {
+      channelId: '344559',
+      docId: '10381074',
+      name: '张炎',
+      pic: '图层 1298.png',
+			description: '区政府党组成员,中国信息通信研究院西部分院(重庆信息通信研究院)院长'
+    }, {
+      channelId: '145052',
+      docId: '10298498',
+      name: '陈炯',
+      pic: '图层 1298.png',
+			description: '区政府一级巡视员'
+    }, {
+      channelId: '145046',
+      docId: '10298402',
+      name: '莫裕全',
+      pic: '图层 1298.png',
+			description: '民进重庆市委副主委,区政府一级巡视员'
+    }],
+  },
 
-	onLoad(options) {},
+  onLoad(options) {},
 
-	onReady() {
+  onReady() {
 
-	},
+  },
 
-	onShow() {
+  onShow() {
 
-	},
+  },
 
-	onHide() {
+  onHide() {
 
-	},
+  },
 
-	onUnload() {
+  onUnload() {
 
-	},
+  },
 
-	gotoInfo(e) {
-		wx.navigateTo({
-			url: '/pages/publics/leaderInfo/leaderInfo?item=' + JSON.stringify(e.currentTarget.dataset.item),
-		})
-	}
+  gotoInfo(e) {
+    wx.navigateTo({
+      url: '/pages/publics/leaderInfo/leaderInfo?item=' + JSON.stringify(e.currentTarget.dataset.item),
+    })
+  }
 
 })