1002884655 4 vuotta sitten
vanhempi
commit
a1c2da8f97

+ 1
- 1
src/pages/activity/activity.js Näytä tiedosto

@@ -16,7 +16,7 @@ let pageIndex = 1
16 16
 export default class active extends Component {
17 17
 
18 18
   config = {
19
-    navigationBarTitleText: '乐粉福利'
19
+    navigationBarTitleText: '乐粉头条'
20 20
   }
21 21
 
22 22
   state = {

+ 1
- 1
src/pages/dichan/index.js Näytä tiedosto

@@ -77,7 +77,7 @@ export default class Index extends Component {
77 77
               PageList.map((item, index) => (
78 78
                 <Navigator key={`List-${index}`} className='flex-h ListItem' url={`/pages/project/detail/index?id=${item.buildingId}`}>
79 79
                   <View className='Img'>
80
-                    <Image mode='widthFix' className='centerLabel' src={item.buildingListImg !== null && item.buildingListImg.length ? item.buildingListImg[0].url : 'https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/images/default.jpg'} />
80
+                    <Image mode='aspectFill' className='centerLabel' src={item.buildingListImg !== null && item.buildingListImg.length ? item.buildingListImg[0].url : 'https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/images/default.jpg'} />
81 81
                   </View>
82 82
                   <View className='flex-item'>
83 83
                     {

+ 2
- 2
src/pages/dichan/index.scss Näytä tiedosto

@@ -108,8 +108,8 @@
108 108
           overflow: hidden;
109 109
           background: #f8f8f8;
110 110
           > image {
111
-            min-width: 100%;
112
-            min-height: 100%;
111
+            width: 100%;
112
+            height: 100%;
113 113
           }
114 114
         }
115 115
         > .flex-item {

+ 2
- 3
src/pages/project/detail/index.js Näytä tiedosto

@@ -839,8 +839,8 @@ export default class Index extends Component {
839 839
     const { userInfo: { person: { personType } } } = this.props
840 840
     const { posterShow } = this.state
841 841
     return (
842
-      <View className='bt-nav'>
843
-        <View className="bt-nav__left">
842
+      <View className='bt-nav flex-h'>
843
+        <View className="NewLeft">
844 844
           <Button class='bt-nav__item' style={{ display: posterShow }} onClick={() => { this.togglePosterStatus(true) }}>
845 845
             <Image src={require('@/assets/img/icon11.png')} className='poster-img'></Image>
846 846
             <Text className="text">海报</Text>
@@ -857,7 +857,6 @@ export default class Index extends Component {
857 857
               </Button>
858 858
             )
859 859
           }
860
-
861 860
         </View>
862 861
         <View className='NewBottomBtn' style='border-color: #1BC5D4;margin-left: 20px;' onClick={this.ChatOnlineClick}>
863 862
           <Image src={require('@/assets/img/icon14.png')} mode='widthFix' className='BtnIcon1'></Image>

+ 47
- 1
src/pages/project/detail/index.scss Näytä tiedosto

@@ -1,5 +1,6 @@
1 1
 @import "@/styles/mixins.scss";
2 2
 @import "@/styles/theme.scss";
3
+@import "@/styles/reset.scss";
3 4
 
4 5
 .flex {
5 6
   display: flex;
@@ -7,6 +8,51 @@
7 8
   align-items: center;
8 9
 }
9 10
 
11
+.NewLeft {
12
+  min-width: 300px;
13
+  font-size: 0;
14
+  white-space: nowrap;
15
+  text-align: center;
16
+  > button {
17
+    display: inline-block;
18
+    vertical-align: middle;
19
+    margin-left: 20px;
20
+    &:first-child {
21
+      margin-left: 0;
22
+    }
23
+    .kehutuijian-img {
24
+      width: 40px;
25
+      height: 40px;
26
+      display: block;
27
+      margin: 0 auto;
28
+    }
29
+
30
+    .poster-img {
31
+      width: 38px;
32
+      height: 40px;
33
+      display: block;
34
+      margin: 0 auto;
35
+    }
36
+
37
+    .fenxiang-img {
38
+      width: 44px;
39
+      height: 40px;
40
+      display: block;
41
+      margin: 0 auto;
42
+    }
43
+
44
+    .text {
45
+      margin-top: 10px;
46
+      text-align: center;
47
+      font-size: 30px;
48
+      color: #333;
49
+      white-space: nowrap;
50
+      display: block;
51
+      text-align: center;
52
+    }
53
+  }
54
+}
55
+
10 56
 .detail {
11 57
   position: relative;
12 58
   background: #ededf2;
@@ -591,7 +637,7 @@
591 637
         }
592 638
 
593 639
         .sale {
594
-          background: #1BC5D4;
640
+          background: #1bc5d4;
595 641
         }
596 642
 
597 643
         .soldout {