bayi 2 rokov pred
rodič
commit
d3c2f0b2f8
3 zmenil súbory, kde vykonal 13 pridanie a 6 odobranie
  1. 7 3
      pages/match/index.less
  2. 1 1
      pages/match/index.wxml
  3. 5 2
      pages/match/index.wxss

+ 7 - 3
pages/match/index.less

@@ -2,15 +2,19 @@
   min-height: 100vh;
   background-color: F2F6FC;
 
-  .headerImg {
-    width: 100%;
+  .bannerList {
     height: 216rpx;
+    .headerImg {
+      width: 100%;
+      height: 216rpx;
+    }
   }
 
+
   .modelText {
     position: relative;
     width: 724rpx;
-    margin: 40rpx auto;
+    margin: 50rpx auto;
     border-radius: 20rpx;
     padding-top: 40rpx;
     background-color: white;

+ 1 - 1
pages/match/index.wxml

@@ -1,7 +1,7 @@
 <wxs src="../../utils/filter.wxs" module="filters" />
 <navigationBar bind:reload='reload' showNav="{{false}}"></navigationBar>
 <view class="matchBox">
-  <swiper class="swiper" autoplay circular indicator-dots="{{bannerList.length>1}}" indicator-active-color="#fff"
+  <swiper class="bannerList" autoplay circular indicator-dots="{{bannerList.length>1}}" indicator-active-color="#fff"
     indicator-color='#ecececa1'>
     <swiper-item wx:for="{{bannerList}}" wx:key="id">
       <image src="{{item.icon}}" class="headerImg" />

+ 5 - 2
pages/match/index.wxss

@@ -2,14 +2,17 @@
   min-height: 100vh;
   background-color: F2F6FC;
 }
-.matchBox .headerImg {
+.matchBox .bannerList {
+  height: 216rpx;
+}
+.matchBox .bannerList .headerImg {
   width: 100%;
   height: 216rpx;
 }
 .matchBox .modelText {
   position: relative;
   width: 724rpx;
-  margin: 40rpx auto;
+  margin: 50rpx auto;
   border-radius: 20rpx;
   padding-top: 40rpx;
   background-color: white;