Explorar o código

小程序修改样式

wrh %!s(int64=2) %!d(string=hai) anos
pai
achega
c71acb4046

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

@@ -80,6 +80,7 @@
 				<view class="na-title">
 					<!-- 南岸动态 -->
 					<view class="tab-item {{naTab==0?'active':''}}" bindtap="naChangeItem" 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>
@@ -87,6 +88,7 @@
 					</view>
 					<!-- 今日重庆 -->
 					<view class="tab-item {{naTab==1?'active':''}}" bindtap="naChangeItem" data-item="1">
+						<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==1 }}" style="width:32rpx;height:32rpx;" src="{{imgUrl}}na-title-1.png"></image>
 						</view>
@@ -94,6 +96,7 @@
 					</view>
 					<!-- 国务院信息 -->
 					<view class="tab-item {{naTab==2?'active':''}}" bindtap="naChangeItem" data-item="2">
+						<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==2 }}" style="width:32rpx;height:32rpx;" src="{{imgUrl}}na-title-1.png"></image>
 						</view>
@@ -496,7 +499,7 @@
 		</view>
 		<!-- 南岸报 -->
 		<!-- 地图服务 -->
-		<view style="height: 329rpx;width: 100%;position:relative;margin-top: 80rpx;">
+		<view style="height: 349rpx;width: 100%;position:relative;margin-top: 80rpx;">
 			<view style="margin-left: 20rpx;border-radius: 10rpx;background-color: #ffffff;padding: 25rpx 30rpx;width: 651rpx;height: 100%;">
 				<!-- 标题 -->
 				<view style="  display: flex;justify-content: left;align-items: center;height: 60rpx;">
@@ -524,9 +527,9 @@
 					</view>
 					<!-- header -->
 					<!-- content -->
-					<view style="margin-top:10rpx;width: 100%;height: 136rpx;display:flex;flex-wrap: wrap;justify-content: space-between;">
+					<view style="margin-top:28rpx;width: 100%;height: 136rpx;display:flex;flex-wrap: wrap;justify-content: space-between;">
 						<!-- 按钮 -->
-						<view bindtap="gotoDTSS" data-item="{{ item.name }}" wx:for="{{ mapServiceData }}" wx:for-item="item" wx:for-index="index" wx:key="index" style="height: 50rpx;width: 139rpx;background-color: #EEF5FF;display:flex;align-items:center;justify-content:center;font-size:24rpx;color: #333333;letter-spacing: 2rpx;">
+						<view bindtap="gotoDTSS" data-item="{{ item.name }}" wx:for="{{ mapServiceData }}" wx:for-item="item" wx:for-index="index" wx:key="index" style="height: 50rpx;width: 139rpx;background-color: #EEF5FF;display:flex;align-items:center;justify-content:center;font-size:24rpx;color: #333333;letter-spacing: 2rpx;border-radius: 10rpx;">
 							{{item.name}}
 						</view>
 					</view>

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

@@ -185,6 +185,7 @@ scroll-view ::-webkit-scrollbar {
   font-size: 27rpx;
   font-family: DOUYU;
   border-bottom: 7rpx solid #508FF4;
+  position: relative;
 }
 
 /* 南岸咨询内容 */

+ 4 - 3
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/programList/programList.wxss

@@ -2,8 +2,8 @@
 .nav {
     border: 1px solid rgb(102 102 102 / 12%);
     display: flex;
-    justify-content: space-evenly;
-    padding-top: 10px;
+    justify-content: space-between;
+	padding: 10px 10px 0 10px;
 }
 
 .nav li {
@@ -28,8 +28,9 @@
 
 .list li .title::before {
     content: '·';
-    font-size: 13px;
+    font-size: 16px;
     font-weight: bold;
+	margin-right: 5px;
 }
 
 .list li .title{