浏览代码

静态页面

1002884655 4 年前
父节点
当前提交
185137c0f0
共有 2 个文件被更改,包括 11 次插入3 次删除
  1. 5
    3
      src/components/ScrollPageRefresh/index.jsx
  2. 6
    0
      src/components/ScrollPageRefresh/index.less

+ 5
- 3
src/components/ScrollPageRefresh/index.jsx 查看文件

@@ -103,9 +103,11 @@ export default function ScrollPageRefresh (props) {
103 103
         {
104 104
           KeepChildren
105 105
         }
106
-        {
107
-          props.children
108
-        }
106
+        <view className='ScrollPageListContent'>
107
+          {
108
+            props.children
109
+          }
110
+        </view>
109 111
       </ScrollPage>
110 112
     </view>
111 113
   )

+ 6
- 0
src/components/ScrollPageRefresh/index.less 查看文件

@@ -2,4 +2,10 @@
2 2
   width: 100%;
3 3
   height: 100%;
4 4
   position: relative;
5
+  .ScrollPageListContent {
6
+    width: 100%;
7
+    min-height: 300px;
8
+    position: relative;
9
+    overflow: hidden;
10
+  }
5 11
 }