xujing 5 anos atrás
pai
commit
a420452c83

+ 11
- 10
src/onlineSelling/pages/records/index.js Ver arquivo

@@ -68,10 +68,11 @@ export default class Records extends Component {
68 68
     const { recordList, noRecord } = this.state
69 69
     return (
70 70
       <Block>
71
-        <CheckboxGroup onChange={this.CheckboxChange}>
72
-          {
73
-            noRecord ? <Blank style="margin:14vh 0 32vh 0" tips="暂无预选记录" /> :
74
-              <ScrollView scrollY>
71
+        <ScrollView scrollY className="container">
72
+          <CheckboxGroup onChange={this.CheckboxChange}>
73
+            {
74
+              noRecord ? <Blank style="margin:14vh 0 32vh 0" tips="暂无预选记录" /> :
75
+                <View>
75 76
                 {
76 77
                   recordList.map((item) => {
77 78
                     return (
@@ -86,13 +87,13 @@ export default class Records extends Component {
86 87
                     )
87 88
                   })
88 89
                 }
89
-              </ScrollView >
90
+                </View>
91
+            }
92
+          </CheckboxGroup>
93
+          <Statement />
94
+        </ScrollView >
90 95
 
91
-          }
92
-        </CheckboxGroup>
93
-        <Statement />
94
-
95
-        {/* <View className="raise-btn">认筹房源</View> */}
96
+        <View className="raise-box"> <View className="raise-btn">认筹房源</View></View>
96 97
 
97 98
       </Block>
98 99
     )

+ 18
- 11
src/onlineSelling/pages/records/index.scss Ver arquivo

@@ -44,17 +44,24 @@
44 44
     padding-left: 30px;
45 45
     margin-bottom: 20px;
46 46
   }
47
-  .raise-btn{
48
-    width: 690px;
49
-    height:94px;
50
-    line-height: 94px;
51
-    background:rgba(187,156,121,1);
52
-    border-radius:10px;
53
-    color: #fff;
54
-    font-size: 36px;
55
-    text-align: center;
56
-    margin-bottom: 20px;
57
-  }  
47
+  .container {
48
+    height: calc(100vh - 254px);
49
+  }
50
+  .raise-box{
51
+    position: fixed;
52
+    width: 100vw;
53
+    padding: 30px;
54
+    .raise-btn{
55
+     
56
+      height:94px;
57
+      line-height: 94px;
58
+      background:rgba(187,156,121,1);
59
+      border-radius:10px;
60
+      color: #fff;
61
+      font-size: 36px;
62
+      text-align: center;
63
+    }  
64
+  }
58 65
 }
59 66
 
60 67
 .base-con{