xujing 5 gadus atpakaļ
vecāks
revīzija
dd3ab28828

+ 1
- 1
src/pages/project/index.js Parādīt failu

@@ -672,7 +672,7 @@ export default class Index extends Component {
672 672
                     <BannerTwo
673 673
                       style={{
674 674
                         borderRadius: '6px',
675
-                        height: '230rpx'
675
+                        height: '172rpx'
676 676
                       }}
677 677
                       forwardShow={true}
678 678
                       indicatorDots={false}

+ 1
- 1
src/pages/project/swiper/index.js Parādīt failu

@@ -44,7 +44,7 @@ export default class SwiperBanner extends Component {
44 44
               onClick={this.onBannerClick.bind(this, item)}
45 45
               className='home-banner__swiper-item'
46 46
             >
47
-              <View style={{ display: 'block' }}>
47
+              <View style={{ display: 'block',width:'100%' }}>
48 48
                 {
49 49
                   forwardShow &&
50 50
                   <View>

+ 6
- 5
src/pages/project/swiper/index.scss Parādīt failu

@@ -11,6 +11,7 @@
11 11
   // @extend .flex;
12 12
   // align-items: flex-start;
13 13
   height: 100%;
14
+  width: 100%;
14 15
   position: relative;
15 16
   &-item {
16 17
     width: 100%;
@@ -21,19 +22,19 @@
21 22
       width: 104px;
22 23
       height: 94px;
23 24
       position: absolute;
24
-      right: 20px;
25
-      top: 68px;
25
+      right: 18px;
26
+      top: 40px;
26 27
     }
27 28
     .text{
28 29
       position: absolute;
29
-      right: 48px;
30
-      top: 94px;
30
+      right: 46px;
31
+      top: 68px;
31 32
       font-size: 28px;
32 33
       color: #fff;
33 34
     }
34 35
 
35 36
     &-img {
36
-      width: 750px;
37
+      width: 100%;
37 38
       // height: 100%!important;
38 39
       overflow: hidden;
39 40
       border-radius: 0;