Parcourir la source

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into v3.5.1

周立森 il y a 5 ans
Parent
révision
660751533c
3 fichiers modifiés avec 8 ajouts et 5 suppressions
  1. 1
    1
      src/pages/news/index.js
  2. 6
    3
      src/pages/news/item.scss
  3. 1
    1
      src/pages/project/detail/index.scss

+ 1
- 1
src/pages/news/index.js Voir le fichier

@@ -36,7 +36,7 @@ export default class Index extends Component {
36 36
       })
37 37
       console.log('资讯列表')
38 38
     })
39
-  }
39
+  } 
40 40
 
41 41
   componentWillUnmount() {
42 42
     const { recordId } = this.state

+ 6
- 3
src/pages/news/item.scss Voir le fichier

@@ -4,12 +4,13 @@
4 4
   display: flex;
5 5
   justify-content: space-between;
6 6
   align-items: center;
7
-	// margin:0 30px;
7
+  // margin:0 30px;
8
+  position: relative;
8 9
 
9 10
   &-img {
10 11
     width:220px;
11
-height:176px;
12
-    // margin-right: 60px;
12
+    height:160px;
13
+    margin: 20px 0;
13 14
   }
14 15
 
15 16
   &-con {
@@ -18,6 +19,8 @@ height:176px;
18 19
     flex-direction: column;
19 20
     justify-content: space-between;
20 21
     height: 200px;
22
+    position: absolute;
23
+    left:240px;
21 24
 
22 25
     &__title {
23 26
       font-size: $font-size-title;

+ 1
- 1
src/pages/project/detail/index.scss Voir le fichier

@@ -794,7 +794,7 @@
794 794
     color: white;
795 795
     position: absolute;
796 796
     right: 5%;
797
-    bottom: 30px;
797
+    bottom: -4px;
798 798
   }
799 799
 
800 800
   &-btn {