Przeglądaj źródła

零售 - 供应商 - 结帐 列表,向下滚动时会有卡顿 2 标题改为:供应商

jf 5 lat temu
rodzic
commit
365c3a336a

+ 4 - 3
ghsApp/src/pagesArrears/details.vue

@@ -17,7 +17,7 @@
 				</view>
 			</view>
 		</view>
-		<scroll-view scroll-y class="shop-list">
+		<view scroll-y class="shop-list">
 			<block v-if="!$util.isEmpty(detailsList)">
 				<DetailsItem
 					v-for="(item, index) in detailsList"
@@ -31,7 +31,7 @@
 			<block v-else>
 				<AppWrapperEmpty title="暂无数据" :is-empty="$util.isEmpty(detailsList)" />
 			</block>
-		</scroll-view>
+		</view>
 		<view class="bar-view">
 			<template>
 				<view class="info-view">
@@ -215,6 +215,7 @@ export default {
 	display: flex;
 	flex-direction: column;
 	background-color: #f9fbfc;
+	overflow: scroll;
 	.top-view {
 		padding: 30upx;
 		background-color: #fff;
@@ -255,7 +256,7 @@ export default {
 	.shop-list {
 		padding: 20upx 30upx;
 		flex: 1;
-		padding-bottom: 50upx;
+		padding-bottom: 100upx;
 	}
 	.bar-view {
 		position: fixed;

+ 3 - 3
hdApp/src/pages.json

@@ -69,7 +69,7 @@
 			}
 		},
 		{
-			"path": "common/pageSuccess",  
+			"path": "common/pageSuccess",
 			"style": {
 				"navigationBarBackgroundColor": "#ffffff",
 				"navigationBarTextStyle": "black"
@@ -694,9 +694,9 @@
 					}
 				},
 				{
-					"path": "order", 
+					"path": "order",
 					"style": {
-						"navigationBarTitleText": "供商",
+						"navigationBarTitleText": "供商",
 						"enablePullDownRefresh": true
 					}
 				},

+ 4 - 7
hdApp/src/pagesPurchase/gathering.vue

@@ -17,10 +17,7 @@
         </view>
       </view>
     </view>
-    <scroll-view
-      scroll-y
-      class="shop-list"
-    >
+    <view scroll-y class="shop-list">
       <block v-if="!$util.isEmpty(detailsList)">
         <gatheringList
           v-for="(item, index) in detailsList"
@@ -37,7 +34,7 @@
           :is-empty="$util.isEmpty(detailsList)"
         />
       </block>
-    </scroll-view>
+    </view>
     <view class="bar-view">
       <template>
         <view class="info-view">
@@ -98,7 +95,7 @@ export default {
         for (const item of this.detailsList) {
           if (item.checked) {
             list.push(item);
-          } 
+          }
         }
       }
       console.log(list)
@@ -252,7 +249,7 @@ export default {
   .shop-list {
     padding: 20upx 0;
     flex: 1;
-    padding-bottom: 50upx;
+    padding-bottom: 100upx;
   }
   .bar-view {
     position: fixed;