Răsfoiți Sursa

南岸小程序食堂样式修改

zwq 2 ani în urmă
părinte
comite
ad0672ee29

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

@@ -15,7 +15,8 @@
 }
 
 .content .title {
-  margin-top: 20rpx;
+  margin-top: 35rpx;
+  margin-bottom: 15rpx;
 	display: flex;
 	justify-content: space-between;
 	padding: 5rpx 2.5%;

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

@@ -1,4 +1,4 @@
-<view style="width:97%;height: 1000rpx; padding:0;background-image: url({{imgUrl}}nontice_bg.png);background-size: 100% 100%;">
+<view style="width:97%;height: 950rpx; padding:0;background-image: url({{imgUrl}}nontice_bg.png);background-size: 100% 100%;">
   <view class="notice-content">
     <view class="text">
       <view>1.粮食就是生命,知识拯救灵魂。</view>

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

@@ -7,24 +7,24 @@
 </view>
 <view class="tab">
       <view class="tab-item {{tab==0?'active':''}}" bindtap="changeItem" data-item="0">
-            <view style="height:90rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
+            <view style="height:80rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
                   <image style="width:40rpx;height:40rpx;" src="/pages/images/icon_st.png"></image>
             </view>
-            <view style="height:90rpx;padding-left:10rpx">我们的食堂</view>
+            <view style="height:80rpx;padding-left:10rpx">我们的食堂</view>
       </view>
       <view style="width: 20rpx;"></view>
       <view class="tab-item {{tab==1?'active':''}}" bindtap="changeItem" data-item="1">
-            <view style="height:90rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
+            <view style="height:80rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
                   <image style="width:40rpx;height:40rpx;" src="/pages/images/icon_bd.png"></image>
             </view>
-            <view style="height:90rpx;padding-left:10rpx">菜品榜单</view>
+            <view style="height:80rpx;padding-left:10rpx">菜品榜单</view>
       </view>
       <view style="width: 20rpx;"></view>
       <view class="tab-item {{tab==2?'active':''}}" bindtap="changeItem" data-item="2">
-            <view style="height:90rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
+            <view style="height:80rpx;width:40rpx;display: flex;justify-content:center;align-items:center;">
                   <image style="width:40rpx;height:40rpx;" src="/pages/images/icon_ts.png"></image>
             </view>
-            <view style="height:90rpx;padding-left:10rpx">提示公告</view>
+            <view style="height:80rpx;padding-left:10rpx">提示公告</view>
       </view>
 </view>
 

+ 18 - 10
nngkxxdp/src/main/resources/static/nnzwminiapp/pages/ourCanteen/ourCanteen.wxss

@@ -1,4 +1,11 @@
 /* index */
+scroll-view ::-webkit-scrollbar {
+	display:none;
+	width:0;
+	height:0;
+	color:transparent;
+}
+
 page{
   height: 100%;
   background: #F5F5F5;
@@ -6,7 +13,7 @@ page{
 
 .head-bg{
   width: 100%;
-  height:29vh;
+  height:375rpx;
   background-size: 100% 100%;
 }
 
@@ -33,9 +40,10 @@ page{
   }
 
 .tab{
+  margin-top: 12rpx;
   padding-left: 20rpx;
   padding-right: 20rpx;
-  height: 8vh;
+  height: 100rpx;
   display: flex;
   justify-content: space-between;
 }
@@ -43,8 +51,8 @@ page{
 .tab-item{
   font-size: 35rpx;
   text-align: center;
-  line-height: 90rpx;
-  height: 90rpx;
+  line-height: 80rpx;
+  height: 80rpx;
   border-bottom: 6rpx solid #F5F5F5 ;
   display: flex;
   justify-content: center;
@@ -73,14 +81,14 @@ page{
 .content .cont-width {
   width: 90%;
   margin: 20rpx auto;
-  margin-top: 30rpx;
-  height: 500rpx;
+  margin-bottom: 50rpx;
+  height: 480rpx;
   background: #fff;
   border-radius: 20px 20px 10px 10px;
 }
 
 .cont-width .cont-bg {
-  height: 65%;
+  height: 62%;
   width: 100%;
   border-radius: 20px 20px 0 0;
 }
@@ -133,7 +141,7 @@ page{
 
 /* notice */
 .notice-content {
-  height: 1000rpx;
+  height: 950rpx;
   background-size: 100% 100%;
   /* padding-top: 3.75rem; */
   padding-bottom: 1.875rem;
@@ -142,9 +150,9 @@ page{
 }
 
 .notice-content .text {
-  padding-top: 175rpx;
+  padding-top: 155rpx;
   padding-bottom: 30rpx;
-  padding-left: 90rpx;
+  padding-left: 75rpx;
   margin: 10rpx auto;
   line-height: 50rpx;
   width: 80%;