lilei пре 4 година
родитељ
комит
d347270b24
1 измењених фајлова са 8 додато и 3 уклоњено
  1. 8 3
      pages/spotCheckCenter/spotChecking.vue

+ 8 - 3
pages/spotCheckCenter/spotChecking.vue

@@ -99,6 +99,7 @@ export default {
 			this.swiperCurrent = index;
 		},
 		swiperChange(e) {
+			console.log('swiperChange')
 			this.action = 'swiperChange'
 			this.status = 'loading';
 			this.typeId = this.tabList[e.detail.current].code
@@ -217,7 +218,7 @@ export default {
 
 <style lang="scss">
 page {
-	height: 100%;
+	height: 100vh;
 	background: #F8F8F8;
 }
 .pagesCons {
@@ -225,17 +226,21 @@ page {
 	display: flex;
 	flex-direction: column;
 	.tab-body {
+		height: 100%;
+		display: flex;
+		flex-direction: column;
 		.uTabs{
 			border-bottom: 1px solid #EEEEEE;
 			box-shadow: 1px 1px 3px #eeeeee;
 		}
 		.check-list {
-			height: calc(100vh - 56px);
+			flex-grow: 1;
+			padding: 25upx;
 		}
 		.check-order-list {
 			background: #ffffff;
 			padding: 10upx 20upx;
-			margin: 25upx;
+			margin-bottom: 25upx;
 			border-radius: 6upx;
 			box-shadow: 1px 1px 3px #eeeeee;
 			.check-row {