bayi преди 1 година
родител
ревизия
e2a4d8c991
променени са 5 файла, в които са добавени 6 реда и са изтрити 29 реда
  1. 3 3
      components/banner/index.less
  2. 3 3
      components/banner/index.wxss
  3. 0 11
      components/navigationBar/index.less
  4. 0 1
      components/navigationBar/index.wxml
  5. 0 11
      components/navigationBar/index.wxss

+ 3 - 3
components/banner/index.less

@@ -6,13 +6,13 @@
     z-index: -2;
     width: 100%;
     height: 100%;
-    background-color: white;
+    background-color:#F2F6FC;
   }
 
   .swiper {
     margin: 0 auto;
-    width: 710rpx;
-    height: 216rpx;
+    width: 700rpx;
+    height: 280rpx;
     border-radius: 20rpx;
     overflow: hidden;
     box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

+ 3 - 3
components/banner/index.wxss

@@ -6,12 +6,12 @@
   z-index: -2;
   width: 100%;
   height: 100%;
-  background-color: white;
+  background-color: #F2F6FC;
 }
 .header .swiper {
   margin: 0 auto;
-  width: 710rpx;
-  height: 216rpx;
+  width: 700rpx;
+  height: 280rpx;
   border-radius: 20rpx;
   overflow: hidden;
   box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;

+ 0 - 11
components/navigationBar/index.less

@@ -33,17 +33,6 @@
     }
 }
 
-.headerBg {
-    z-index: -1;
-    position: absolute;
-    top: 0px;
-    left: 0px;
-    width: 100%;
-    height: 110rpx;
-    background: url(https://reader-wx.ai160.com/images/reader/v3/top-bg2.png) no-repeat;
-    background-size: 100% 100%;
-    background-position: center;
-}
 
 .gradeContainer {
     width: 100%;

+ 0 - 1
components/navigationBar/index.wxml

@@ -11,7 +11,6 @@
   自定义顶部栏用的fixed定位,会遮盖到下面内容,注意设置好间距
 -->
     <view class="content" style="margin-top:{{navBarHeight}}px;"></view>
-    <view class="headerBg" style="top:{{navBarHeight}}px;"></view>
 </block>
 
 <view wx:if="{{isGradeShow}}" class="gradeContainer" catchtouchmove='true' bindtap="closeGrade">

+ 0 - 11
components/navigationBar/index.wxss

@@ -29,17 +29,6 @@
 .nav-bar .view .title {
   text-align: center;
 }
-.headerBg {
-  z-index: -1;
-  position: absolute;
-  top: 0px;
-  left: 0px;
-  width: 100%;
-  height: 110rpx;
-  background: url(https://reader-wx.ai160.com/images/reader/v3/top-bg2.png) no-repeat;
-  background-size: 100% 100%;
-  background-position: center;
-}
 .gradeContainer {
   width: 100%;
   height: 100%;