Browse Source

scrollheight

xujing 5 years ago
parent
commit
a111bd7589

+ 5
- 5
src/app.scss View File

23
   border-radius: 0;
23
   border-radius: 0;
24
   border:none;
24
   border:none;
25
 }
25
 }
26
-.at-tabs-pane--active{
27
-  height: 100vh!important;
28
-  overflow: scroll;
29
-  padding-bottom: 100px;
26
+// .at-tabs-pane--active{
27
+//   height: 100vh!important;
28
+//   overflow: scroll;
29
+//   padding-bottom: 100px;
30
 
30
 
31
-}
31
+// }
32
 @keyframes fadeBottomIn {
32
 @keyframes fadeBottomIn {
33
   0% {
33
   0% {
34
     transform: translateY(10%);
34
     transform: translateY(10%);

+ 6
- 0
src/pages/activity/index.scss View File

31
   }
31
   }
32
 
32
 
33
 }
33
 }
34
+.at-tabs-pane--active{
35
+  height: 100vh!important;
36
+  overflow: scroll;
37
+  padding-bottom: 100px;
38
+
39
+}

+ 1
- 0
src/pages/news/index.js View File

115
     return (
115
     return (
116
       <ListView
116
       <ListView
117
         className="wrap"
117
         className="wrap"
118
+        style="height: calc(100vh - 120rpx);"
118
         needInit
119
         needInit
119
         isEmpty={isEmpty}
120
         isEmpty={isEmpty}
120
         emptyText="暂无资讯~"
121
         emptyText="暂无资讯~"

+ 5
- 0
src/pages/shop/index.scss View File

156
     font-weight: bold;
156
     font-weight: bold;
157
   }
157
   }
158
 }
158
 }
159
+.at-tabs-pane--active{
160
+  height: 100vh!important;
161
+  overflow: scroll;
162
+  padding-bottom: 100px;
159
 
163
 
164
+}
160
 .list__wrap {
165
 .list__wrap {
161
   margin-top: 20px;
166
   margin-top: 20px;
162
   overflow: hidden;
167
   overflow: hidden;

+ 1
- 0
src/useless/pages/person/customerAnalysis/followUpCustomer/index.js View File

284
         <View style="padding:0 10px 10px 10px">
284
         <View style="padding:0 10px 10px 10px">
285
           <ListView
285
           <ListView
286
             className="wrap"
286
             className="wrap"
287
+            style="height: calc(100vh - 234rpx)"
287
             needInit
288
             needInit
288
             isEmpty={isEmpty}
289
             isEmpty={isEmpty}
289
             emptyText="暂无跟进客户~"
290
             emptyText="暂无跟进客户~"

+ 4
- 1
src/useless/pages/person/customerAnalysis/index.scss View File

3
 .wrap {
3
 .wrap {
4
   background: white;
4
   background: white;
5
   position: relative;
5
   position: relative;
6
-  height:100vh;
6
+  // height:100vh;
7
 }
7
 }
8
 .my-customer{
8
 .my-customer{
9
   flex: 0 0 50%;
9
   flex: 0 0 50%;
55
   
55
   
56
   }
56
   }
57
 }
57
 }
58
+.at-tabs{
59
+  height: 100vh;
60
+}
58
 .tab-box{
61
 .tab-box{
59
   .at-tabs__header{
62
   .at-tabs__header{
60
     width: 86%;
63
     width: 86%;

+ 1
- 0
src/useless/pages/person/customerAnalysis/transactionCustomer/index.js View File

115
       <View style="padding:0 10px 10px 10px">
115
       <View style="padding:0 10px 10px 10px">
116
         <ListView
116
         <ListView
117
           className="wrap"
117
           className="wrap"
118
+          style="height: calc(100vh - 78rpx)"
118
           needInit
119
           needInit
119
           isEmpty={isEmpty}
120
           isEmpty={isEmpty}
120
           emptyText="暂无成交客户~"
121
           emptyText="暂无成交客户~"