elis 1 éve
szülő
commit
21ab266abb

+ 4 - 4
nnzwminiapp/pages/api/canteen-request.js

@@ -30,8 +30,8 @@ const request = (options) => {
 				// console.log("network-res=>", res);
 				if (res.data.msg == '请重新登录' && !res.data.result && token != null && token != '') {
 					wx.showModal({
-						title: '未授权',
-						content: '您登录授权已过期,请重新登录授权',
+						title: '掌新南岸欢迎您!',
+						content: '您当前尚未登录,请登录!',
 						showCancel: false,
 						confirmText: '登录',
 						success: function (res) {
@@ -61,8 +61,8 @@ function islogin(data) {
 		let token = cacheGet('token')
 		if (token == null || token == '') {
 			wx.showModal({
-				title: '未授权',
-				content: '您登录授权已过期,请重新登录授权',
+				title: '掌新南岸欢迎您!',
+				content: '您当前尚未登录,请登录!',
 				showCancel: false,
 				confirmText: '登录',
 				success: function (res) {

+ 4 - 4
nnzwminiapp/pages/api/request.js

@@ -30,8 +30,8 @@ const request = (options) => {
 				// console.log("network-res=>", res);
 				if (res.data.msg == '请重新登录' && !res.data.result && token != null && token != '') {
 					wx.showModal({
-						title: '未授权',
-						content: '您登录授权已过期,请重新登录授权',
+						title: '掌新南岸欢迎您!',
+						content: '您当前尚未登录,请登录!',
 						showCancel: false,
 						confirmText: '登录',
 						success: function (res) {
@@ -84,8 +84,8 @@ function islogin(data) {
 		let token = cacheGet('token')
 		if (token == null || token == '') {
 			wx.showModal({
-				title: '未授权',
-				content: '您登录授权已过期,请重新登录授权',
+				title: '掌新南岸欢迎您!',
+				content: '您当前尚未登录,请登录!',
 				showCancel: false,
 				confirmText: '登录',
 				success: function (res) {

+ 2 - 2
nnzwminiapp/pages/ourCanteen/ourCanteen.js

@@ -166,8 +166,8 @@ Page({
 	},
 	showDialog() {
 		wx.showModal({
-			title: '未授权',
-			content: '您登录授权已过期,请重新录授权',
+			title: '掌新南岸欢迎您!',
+			content: '您当前尚未登录,请登录!',
 			showCancel: false,
 			confirmText: '登录',
 			success: function (res) {

+ 1 - 1
nnzwminiapp/pages/publics/governmentArticles/governmentArticles.wxml

@@ -3,7 +3,7 @@
 	<ul class="list">
 		<li wx:for="{{articlesList}}" wx:key="index" bindtap="gotoDetail" data-channelId="{{item.CHNLID}}" data-docId="{{item.DOCID}}" data-url="{{item.DOCPUBURL}}">
 			<text class="title">{{item.DOCTITLE}}</text>
-			<text class="time">{{item.DOCPUBTIME}}</text>
+			<text class="time">{{item.DOCRELTIME}}</text>
 		</li>
 	</ul>
 </view>

+ 1 - 1
nnzwminiapp/pages/publics/interpretation/interpretation.js

@@ -68,7 +68,7 @@ Page({
 		})
 
 		wx.request({
-			url: 'https://data.cqna.gov.cn/mini/hlw/send?page=' + this.data.page + '&limit=10&channelId=' + this.data.interpretationList[this.data.currentTab].channelId,
+			url: 'https://data.cqna.gov.cn/mini/hlw/send?page=' + this.data.page + '&limit=20&channelId=' + this.data.interpretationList[this.data.currentTab].channelId,
 			method: 'GET',
 			success: res => {
       

+ 1 - 1
nnzwminiapp/pages/publics/interpretation/interpretation.wxml

@@ -13,7 +13,7 @@
 			<scroll-view scroll-y="true" style="height: 100%;padding:0;margin:0;" bindscrolltolower="scrollBottom">
 				<view bindtap="gotoDetail" data-channelid="{{item.CHNLID}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:for="{{interpretationListInfo}}" style="display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;height: 120rpx;font-size: 28rpx;color: #666666;width: 700rpx;margin-left: 23rpx;border-bottom: 2rpx solid #CCCCCC;">
 					<view class="limit-text-1" style="width: 600rpx;-webkit-line-clamp:2;overflow:hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;">{{item.DOCTITLE}}</view>
-					<view>{{filter.formateDate(item.DOCPUBTIME)}}</view>
+					<view>{{filter.formateDate(item.DOCRELTIME)}}</view>
 				</view>
 			</scroll-view>
 		</swiper-item>

+ 13 - 13
nnzwminiapp/pagesPublic/pages/api/request.js

@@ -29,17 +29,17 @@ const request = (options) => {
 			success: function (res) {
         // console.log("network-res=>", res);
         if(res.data.msg == '请重新登录' && !res.data.result && token != null && token != '') {
-          wx.showModal({
-            title: '未授权',
-            content: '您登录授权已过期,请重新登录授权',
-            showCancel: false,
-            confirmText: '登录',
-            success: function (res) {
-              wx.navigateTo({
-                url: '/pages/login/login',
-              });
-            },
-          });
+			wx.showModal({
+				title: '掌新南岸欢迎您!',
+				content: '您当前尚未登录,请登录!',
+				showCancel: false,
+				confirmText: '登录',
+				success: function (res) {
+					wx.navigateTo({
+						url: '/pages/login/login',
+					});
+				},
+			});
         }
 				// 返回成功信息
 				resolve(res.data)
@@ -61,8 +61,8 @@ function islogin(data) {
 		let token = cacheGet('token')
 		if (token == null || token == '') {
 			wx.showModal({
-				title: '未授权',
-				content: '您登录授权已过期,请重新登录授权',
+				title: '掌新南岸欢迎您!',
+				content: '您当前尚未登录,请登录!',
 				showCancel: false,
 				confirmText: '登录',
 				success: function (res) {