Эх сурвалжийг харах

解决底部栏多屏幕适配问题

elis 2 жил өмнө
parent
commit
b4ecdbf4ec

+ 1 - 1
nngkxxdp/src/main/resources/static/nnzwminiapp/custom-tab-bar/index.wxss

@@ -8,7 +8,7 @@
 	display: flex;
 	background-image: url(https://s1.ax1x.com/2022/10/13/xdC9yD.png);
 	background-repeat: no-repeat;
-	background-size: 100% 100%;
+	background-size:  100%;
 	padding-bottom: env(safe-area-inset-bottom);
   }
   

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

@@ -132,10 +132,7 @@
 	</view>
 	<view class="box2Crossline">
 	</view>
-	<!-- https://s1.ax1x.com/2022/10/14/xwEYRA.png
-https://s1.ax1x.com/2022/10/14/xwEJGd.png
-https://s1.ax1x.com/2022/10/14/xwEGPH.png
-https://s1.ax1x.com/2022/10/14/xwE3Ie.png -->
+
 	<view class="chuangBoxGourps">
 		<view class="chuangbox" style="background-image: url(https://s1.ax1x.com/2022/10/14/xwEGPH.png);">
 			<view class="chuangboxtext1">申请数</view>

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

@@ -1,7 +1,7 @@
 <!--pages/publics/publics.wxml-->
-<view style="background-color:#F5F5F5;">
-
-	<view class="top">
+<view style=" background-color:#F5F5F5;">
+<scroll-view style="height: 1549rpx;" scroll-y="true">
+  <view class="top">
 		<image src="{{imgUrl}}index-bg.png" style="width:100%;height:409rpx"></image>
 		<image src="{{imgUrl}}toplogo.png" class="top-logo" style="top: {{navHeight}}rpx"></image>
 	</view>
@@ -625,6 +625,8 @@
 	<!-- 底部 -->
 	<view style="height: 200rpx">
 	</view>
+</scroll-view>
+	
 
 
 </view>

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

@@ -1,5 +1,6 @@
 /**index.wxss**/
 /* pages/publics/publics.wxss */
+
 scroll-view ::-webkit-scrollbar {
 	display:none;
 	width:0;

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

@@ -3,7 +3,8 @@
 
 .bg {
 	background: #F5F5F5;
-	min-height: 100%;
+  min-height: 100%;
+  height: 100%;
 	position: relative;
 }