Pārlūkot izejas kodu

改首页栏目字体和间距

zxy 1 gadu atpakaļ
vecāks
revīzija
c1637916f8

+ 2 - 3
nnzwminiapp/app.json

@@ -1,6 +1,5 @@
 {
   "pages": [
-    "pages/nnzzd/nnzzd",
     "pages/index/index",
     "pages/publics/index/index",
     "pages/collection/collection",
@@ -47,8 +46,8 @@
     "pages/map/map",
     "pages/map-vr/map-vr",
     "pages/aticle1/aticle",
-    "pages/aticle2/aticle"
-    
+    "pages/aticle2/aticle",
+    "pages/nnzzd/nnzzd"
   ],
   "requiredPrivateInfos": [
     "getLocation",

+ 5 - 5
nnzwminiapp/pages/index/index.wxml

@@ -107,7 +107,7 @@
 			</swiper>
 		</view> -->
 		<!-- 南岸动态 -->
-		<view class="content-na" style="height:512rpx;width:100%;background-color:#F5F5F5;position:relative;overflow: hidden;margin-top: 5rpx;">
+		<view class="content-na" style="height:512rpx;width:100%;background-color:#F5F5F5;position:relative;overflow: hidden;margin-top: 40rpx;">
 			<!-- 浮动 -->
 			<!-- font-size:32rpx -->
 			<view class="content-na-tab">
@@ -116,8 +116,8 @@
 					<!-- 南岸动态 -->
 					<view class="tab-item {{naTab==0?'active':''}}" bindtap="clickNaTilteTab" data-item="0">
 						<view 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;width:32rpx;display: flex;justify-content:center;align-items:center;">
-							<image wx:if="{{ naTab==0 }}" style="width:32rpx;height:32rpx;" src="{{imgUrl}}na-title-1.png"></image>
+						<view style="height:50rpx;width:56rpx;display: flex;justify-content:center;align-items:center;">
+							<image wx:if="{{ naTab==0 }}" style="width:50rpx;height:56rpx;" src="{{imgUrl}}na-title-1.png"></image>
 						</view>
 						<view style="height:50rpx;padding-left:10rpx;">南岸动态</view>
 					</view>
@@ -219,7 +219,7 @@
 		<!-- 公示公告 -->
 
 		<!-- 视频推荐 -->
-		<view style="width: 100%;position:relative;margin-top: 30rpx;">
+		<view style="width: 100%;position:relative;margin-top: 40rpx;">
 			<view style="margin-left: 20rpx;border-radius: 20rpx;background-color: #ffffff;padding: 25rpx 30rpx;width: 651rpx;">
 				<!-- 标题 -->
 				<view style="  display: flex;justify-content: left;align-items: center;height: 60rpx;" bindtap="gotoSPTJ">
@@ -390,7 +390,7 @@
 		</view>
 		<!-- 数据中心 -->
 		<!-- 政民互动 -->
-		<view style="width: 100%;position:relative;margin-top: 88rpx;">
+		<view style="width: 100%;position:relative;margin-top: 80rpx;">
 			<view style="margin-left: 20rpx;border-radius: 20rpx;background-color: #ffffff;padding: 25rpx 30rpx;width: 651rpx;height: 100%;">
 				<!-- 标题 -->
 				<view style="  display: flex;justify-content: left;align-items: center;height: 60rpx;">

+ 3 - 3
nnzwminiapp/pages/index/index.wxss

@@ -106,7 +106,7 @@ scroll-view ::-webkit-scrollbar {
 /* 百姓聚焦字体 */
 .people-font1 {
 	height: 59rpx;
-	font-size: 48rpx;
+	font-size: 38rpx;
 	font-family: DOUYU;
 	font-weight: normal;
 	color: #333333;
@@ -186,14 +186,14 @@ scroll-view ::-webkit-scrollbar {
 	line-height: 50rpx;
 	color: #333;
 	height: 50rpx;
-	width: 200rpx;
+	width: 280rpx;
 	display: flex;
 	justify-content: center;
 	flex-direction: row;
 }
 
 .tab-item.active {
-	font-size: 27rpx;
+	font-size: 38rpx;
 	font-family: DOUYU;
 	border-bottom: 7rpx solid #508FF4;
 	position: relative;