浏览代码

静态页面

1002884655 4 年前
父节点
当前提交
a1c2da8f97

+ 1
- 1
src/pages/activity/activity.js 查看文件

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

+ 1
- 1
src/pages/dichan/index.js 查看文件

77
               PageList.map((item, index) => (
77
               PageList.map((item, index) => (
78
                 <Navigator key={`List-${index}`} className='flex-h ListItem' url={`/pages/project/detail/index?id=${item.buildingId}`}>
78
                 <Navigator key={`List-${index}`} className='flex-h ListItem' url={`/pages/project/detail/index?id=${item.buildingId}`}>
79
                   <View className='Img'>
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
                   </View>
81
                   </View>
82
                   <View className='flex-item'>
82
                   <View className='flex-item'>
83
                     {
83
                     {

+ 2
- 2
src/pages/dichan/index.scss 查看文件

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

+ 2
- 3
src/pages/project/detail/index.js 查看文件

839
     const { userInfo: { person: { personType } } } = this.props
839
     const { userInfo: { person: { personType } } } = this.props
840
     const { posterShow } = this.state
840
     const { posterShow } = this.state
841
     return (
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
           <Button class='bt-nav__item' style={{ display: posterShow }} onClick={() => { this.togglePosterStatus(true) }}>
844
           <Button class='bt-nav__item' style={{ display: posterShow }} onClick={() => { this.togglePosterStatus(true) }}>
845
             <Image src={require('@/assets/img/icon11.png')} className='poster-img'></Image>
845
             <Image src={require('@/assets/img/icon11.png')} className='poster-img'></Image>
846
             <Text className="text">海报</Text>
846
             <Text className="text">海报</Text>
857
               </Button>
857
               </Button>
858
             )
858
             )
859
           }
859
           }
860
-
861
         </View>
860
         </View>
862
         <View className='NewBottomBtn' style='border-color: #1BC5D4;margin-left: 20px;' onClick={this.ChatOnlineClick}>
861
         <View className='NewBottomBtn' style='border-color: #1BC5D4;margin-left: 20px;' onClick={this.ChatOnlineClick}>
863
           <Image src={require('@/assets/img/icon14.png')} mode='widthFix' className='BtnIcon1'></Image>
862
           <Image src={require('@/assets/img/icon14.png')} mode='widthFix' className='BtnIcon1'></Image>

+ 47
- 1
src/pages/project/detail/index.scss 查看文件

1
 @import "@/styles/mixins.scss";
1
 @import "@/styles/mixins.scss";
2
 @import "@/styles/theme.scss";
2
 @import "@/styles/theme.scss";
3
+@import "@/styles/reset.scss";
3
 
4
 
4
 .flex {
5
 .flex {
5
   display: flex;
6
   display: flex;
7
   align-items: center;
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
 .detail {
56
 .detail {
11
   position: relative;
57
   position: relative;
12
   background: #ededf2;
58
   background: #ededf2;
591
         }
637
         }
592
 
638
 
593
         .sale {
639
         .sale {
594
-          background: #1BC5D4;
640
+          background: #1bc5d4;
595
         }
641
         }
596
 
642
 
597
         .soldout {
643
         .soldout {