浏览代码

修改部分页面样式

elis 2 年之前
父节点
当前提交
80e71e0e91

+ 16 - 16
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/api/request.js

@@ -23,20 +23,20 @@ const request = (options) => {
 				'mini-token': `${token}`
 			},
 			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',
-              });
-            },
-          });
-        }
+				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',
+							});
+						},
+					});
+				}
 				// 返回成功信息
 				resolve(res.data)
 			},
@@ -57,9 +57,9 @@ function islogin(data) {
 		if (token == null || token == '') {
 			wx.showModal({
 				title: '未授权',
-				content: '您登录授权已过期,请重新登陆授权',
+				content: '您登录授权已过期,请重新授权',
 				showCancel: false,
-				confirmText: '登',
+				confirmText: '登',
 				success: function (res) {
 					wx.navigateTo({
 						url: '/pages/login/login',

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/dataCenter/dataCenter.wxml

@@ -22,7 +22,7 @@
 				</swiper-item>
 			</swiper>
 			<view class="statistics-btn">
-				<button>详细数据</button>
+				<!-- <button>详细数据</button> -->
 			</view>
 		</view>
 	</view>

+ 5 - 5
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/index/index.js

@@ -535,20 +535,20 @@ Page({
 			series = [{
 				data: [],
 				type: 'bar',
-				barWidth: 14,
+				barWidth: 17,
 				itemStyle: {
 					emphasis: {
-						barBorderRadius: 7
+						barBorderRadius: 0
 					},
 					normal: {
-						barBorderRadius: 7,
+						barBorderRadius: 5,
 						color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
 								offset: 0,
-								color: '#3977E6'
+								color: '#006BFD'
 							},
 							{
 								offset: 1,
-								color: '#37BBF8'
+								color: '#00E9F1'
 							}
 						]),
 					}

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/index/index.wxml

@@ -313,7 +313,7 @@
 						<view style="height: 150rpx;width:315rpx;background-color:#FEEEEC;border-radius:10rpx;display:flex;align-items:center">
 							<view style="padding-left:30rpx;display:flex;flex-direction:column">
 								<view style="color: #333333;font-size:30rpx">在线访谈</view>
-								<view style="color: #999999;font-size:22rpx;padding-top:5rpx">民众在线交流</view>
+								<view style="color: #999999;font-size:22rpx;padding-top:5rpx">民众在线交流</view>
 							</view>
 						</view>
 						<!-- 2 -->

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/login/login.json

@@ -1,4 +1,4 @@
 {
-  "navigationBarTitleText": "登",
+  "navigationBarTitleText": "登",
   "usingComponents": {}
 }

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/login/login.wxml

@@ -21,7 +21,7 @@
   <view style="margin-top: 10rpx">
     <button open-type="getPhoneNumber" type="primary" bindgetphonenumber="getPhoneNumber" style="width: 80%;display: flex;align-items:center;justify-content: center">
       <image style="height: 33rpx;width: 41rpx" src="{{imgUrl}}wx-login.png"></image>
-      <text style="padding-left: 15rpx;font-size:27rpx">微信用户一键登</text>
+      <text style="padding-left: 15rpx;font-size:27rpx">微信用户一键登</text>
     </button>
   </view>
 

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/myCenter/myCenter.wxml

@@ -5,7 +5,7 @@
     
     <block wx:if="{{!hasUserInfo}}">
       <image src="../images/sculpture.png" alt=""  class="headPortrait"></image>
-      <text wx:if="{{canIUseGetUserProfile}}" bindtap="tologin">登/注册</text>
+      <text wx:if="{{canIUseGetUserProfile}}" bindtap="tologin">登/注册</text>
       <button wx:else bindtap="getUserInfo">点击显示微信头像</button>
     </block>
     <block wx:else>

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/newsPaper/newsPaper.wxml

@@ -7,7 +7,7 @@
 			<view class="title">{{item.title}}</view>
 			<view class="foot">
 				<view class="ly">来源:{{item.infoSource}}</view>
-				<view class="sj" style="text-align: center;">6小时前</view>
+				<view class="sj" style="">6小时前</view>
 			</view>
 		</view>
 	</scroll-view>

+ 11 - 2
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/newsPaper/newsPaper.wxss

@@ -12,14 +12,23 @@ page{
 .title{
 	height: 70rpx;
 	line-height: 70rpx;
-	font-size: 40rpx;
+	font-size: 36rpx;
 	padding-left: 20rpx;
 }
 .foot{
 	padding-left: 20rpx;
 	font-size: 20rpx;
 }
-.foot view{
+/* .foot view{
 	width: 50%;
 	float: left;
+} */
+.ly{
+	width: 80%;
+	float: left;
+}
+.sj{
+	width: 20%;
+	text-align: center;
+	float: left;
 }

+ 2 - 2
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/ourCanteen/ourCanteen.js

@@ -133,9 +133,9 @@ Page({
 	showDialog() {
 		wx.showModal({
 			title: '未授权',
-			content: '您登录授权已过期,请重新登陆授权',
+			content: '您登录授权已过期,请重新授权',
 			showCancel: false,
-			confirmText: '登',
+			confirmText: '登',
 			success: function (res) {
 				wx.navigateTo({
 					url: '/pages/login/login',

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

@@ -91,7 +91,7 @@ Page({
 		policyInterpretation: [{
 			name: '文字解读'
 		}, {
-			name: '图解读'
+			name: '图解读'
 		}, {
 			name: '视频解读'
 		}, {

+ 5 - 5
nngkxxdp/src/main/resources/static/nnzwminiapp/pagesPublic/pages/api/request.js

@@ -24,12 +24,12 @@ const request = (options) => {
 			},
 			success: function (res) {
         console.log("network-res=>", res);
-        if(res.data.msg == '请重新登' && !res.data.result && token != null && token != '') {
+        if(res.data.msg == '请重新登' && !res.data.result && token != null && token != '') {
           wx.showModal({
             title: '未授权',
-            content: '您登录授权已过期,请重新登授权',
+            content: '您登录授权已过期,请重新登授权',
             showCancel: false,
-            confirmText: '登',
+            confirmText: '登',
             success: function (res) {
               wx.navigateTo({
                 url: '/pages/login/login',
@@ -57,9 +57,9 @@ function islogin(data) {
 		if (token == null || token == '') {
 			wx.showModal({
 				title: '未授权',
-				content: '您登录授权已过期,请重新登授权',
+				content: '您登录授权已过期,请重新登授权',
 				showCancel: false,
-				confirmText: '登',
+				confirmText: '登',
 				success: function (res) {
 					wx.navigateTo({
 						url: '/pages/login/login',