浏览代码

小程序登陆页面

zwq 2 年之前
父节点
当前提交
be81ee8a45

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

@@ -1,5 +1,6 @@
 const baseUrl = "http://localhost:7777/mini"
-const imgUrl = "http://192.168.1.253:7777/applet/"
+// const imgUrl = "http://192.168.1.253:7777/applet/"
+const imgUrl = "http://117.50.172.145/"
 
 let token = wx.getStorageSync('token')
 

二进制
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/images/index-search.png


二进制
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/images/people-title.png


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

@@ -2,7 +2,7 @@
   <!-- 列表 -->
   <view wx:for="{{communicateData}}" wx:for-item="item" wx:for-index="index" wx:key="index" style="height: 150rpx;width: 100%;display:flex;border-bottom: 4rpx solid #F5F5F5;margin-bottom: 20rpx">
     <view style="height: 140rpx;width: 464rpx;padding-right: 22rpx">
-      <view style="height: 99rpx;width: 100%;font-size: 26rpx;overflow: hidden;text-overflow: ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;">
+      <view style="height: 99rpx;width: 100%;font-size: 26rpx;line-height:33rpx;overflow: hidden;text-overflow: ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;">
         重庆市南岸区经济和信息化委员会 公开征求《南岸区重庆经开区推动制造业跃升十条》,要求每个公民做好三件事,必须严格执行,动员全体人员
       </view>
       <view style="display:flex;align-items:center;height: 45rpx;width: 100%;font-size: 22rpx;color: #999999;padding-top: 3rpx">

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

@@ -398,41 +398,35 @@ Page({
 	getScaOption2() {
 		//请求数据 
 		var xAxis = {
-				type: 'value',
-				min: 0,
-				max: 150000,
-				axisLabel: {
-					fontSize: 18
-				}
-			},
-			yAxis = {
-				type: 'category',
-				data: [
-					'非常不满意', '不满意', '基本满意', '满意', '非常满意'
-				],
-				axisLabel: {
-					fontSize: 18
-				}
-			},
-			grid = {
-				left: '20%',
-				top: '10%',
-				bottom: '10%'
-			},
-			series = [{
-				data: [123, 200, 15220, 80333, 1073671],
-				type: 'bar',
-				barWidth: 25,
-				itemStyle: {
-					color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
-							offset: 0,
-							color: '#3977E6'
-						},
-						{
-							offset: 1,
-							color: '#37BBF8'
-						}
-					]),
+			type: 'value',
+			min: 0,
+			max: 150000,
+		},
+		yAxis = {
+			type: 'category',
+			data: [
+				'非常不满意', '不满意', '基本满意', '满意', '非常满意'
+			]
+		},
+		grid = {
+			left: '22%',
+			top: '10%',
+			bottom: '10%'
+		},
+		series = [{
+			data: [123, 200, 15220, 80333, 1073671],
+			type: 'bar',
+			barWidth: 14,
+			itemStyle: {
+				color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
+						offset: 0,
+						color: '#3977E6'
+					},
+					{
+						offset: 1,
+						color: '#37BBF8'
+					}
+				]),
 					// emphasis: {
 					//   barBorderRadius: 7
 					// },

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

@@ -129,7 +129,7 @@
 	<!-- 南岸咨询 -->
 
 	<!-- 数据中心 -->
-	<view class="data-cneter" style="height: 1029rpx;width: 100%;background-color:#F5F5F5;position:relative;padding-top: 30rpx">
+	<view class="data-cneter" style="height: 1129rpx;width: 100%;background-color:#F5F5F5;position:relative;padding-top: 30rpx">
 		<!-- 数据中心 -->
 		<view class="data-center-contain">
 			<!-- 标题 -->
@@ -257,7 +257,7 @@
 					<view hidden="{{canvasImg}}" style="width: 100%;height: 600rpx;">
 						<ec-canvas id="streetlinechart3" canvas-id="streetlinechart3" ec="{{ streetlinechartec }}" />
 					</view>
-					<image hidden="{{!canvasImg}}" src="{{canvasImg}}" style="width: 100%; height: 300rpx" />
+					<image hidden="{{!canvasImg}}" src="{{canvasImg}}" style="width: 100%; height: 400rpx" />
 				</view>
 				<!-- 好差评 -->
 			</view>

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

@@ -1,5 +1,12 @@
 /**index.wxss**/
 /* pages/publics/publics.wxss */
+scroll-view ::-webkit-scrollbar {
+	display:none;
+	width:0;
+	height:0;
+	color:transparent;
+}
+
 /* 头部 */
 .top {
   height: 409rpx;
@@ -100,7 +107,8 @@
 /* 每日更新字体 */
 .people-font2 {
   height: 59rpx;
-  font-size: 18px;
+	font-size: 23rpx;
+	padding-bottom: 10rpx;
   font-family: PingFang SC;
   font-weight: 500;
   color: #999999;