xujing 5 years ago
parent
commit
dd3ab28828

+ 1
- 1
src/pages/project/index.js View File

672
                     <BannerTwo
672
                     <BannerTwo
673
                       style={{
673
                       style={{
674
                         borderRadius: '6px',
674
                         borderRadius: '6px',
675
-                        height: '230rpx'
675
+                        height: '172rpx'
676
                       }}
676
                       }}
677
                       forwardShow={true}
677
                       forwardShow={true}
678
                       indicatorDots={false}
678
                       indicatorDots={false}

+ 1
- 1
src/pages/project/swiper/index.js View File

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

+ 6
- 5
src/pages/project/swiper/index.scss View File

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