Parcourir la source

feat: 调整z-index层级;溯源报表页面边距调整

贺智杰 il y a 2 jours
Parent
commit
1cbfc779c1

+ 2 - 2
traceCodePackages/traceabilityReport/pages/blacklist/index.vue

@@ -465,7 +465,7 @@ export default {
 	position: absolute;
 	left: 0;
 	top: 85rpx;
-	z-index: 999;
+	z-index: 91;
 	width: 100%;
 	background-color: #fff;
 	border-bottom-left-radius: 16rpx;
@@ -481,7 +481,7 @@ export default {
 	padding: 20rpx 40rpx;
 	border-radius: 50rpx;
 	box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
-	z-index: 100;
+	z-index: 92;
 }
 
 .fab-text {

+ 2 - 2
traceCodePackages/traceabilityReport/pages/customerScanningRate/index.vue

@@ -168,7 +168,7 @@ export default {
   width: 100%;
   height: 140rpx;
   background: #f3f6f9;
-  z-index: 99;
+  z-index: 90;
 }
 
 .scan-rate-ranges {
@@ -202,7 +202,7 @@ export default {
   bottom: 0;
   padding: 12rpx 30rpx calc(env(safe-area-inset-bottom));
   background: #fff;
-  z-index: 999;
+  z-index: 91;
 }
 .scan-rate-footer-btn {
   height: 86rpx;

+ 3 - 3
traceCodePackages/traceabilityReport/pages/customerScanningRate/wigets/ScanRateTable.vue

@@ -747,7 +747,7 @@ export default {
   border: 1rpx solid #eef0f4;
   border-radius: 12rpx;
   box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08);
-  z-index: 1000;
+  z-index: 93;
   overflow: hidden;
 }
 
@@ -755,7 +755,7 @@ export default {
   padding: 10rpx;
   border-bottom: 1rpx solid #f0f2f5;
   background: #fff;
-  z-index: 1001;
+  z-index: 94;
 }
 
 .dropdown-search-input {
@@ -900,7 +900,7 @@ export default {
   position: absolute;
   top: 60rpx;
   right: 0rpx;
-  z-index: 1000;
+  z-index: 93;
 }
 
 .header-tooltip {

+ 2 - 2
traceCodePackages/traceabilityReport/pages/ganmaoling/index.vue

@@ -528,7 +528,7 @@ export default {
 	position: absolute;
 	left: 0;
 	top: 152rpx;
-	z-index: 999;
+	z-index: 91;
 	width: 100%;
 	background-color: #fff;
 	border-bottom-left-radius: 16rpx;
@@ -544,7 +544,7 @@ export default {
 	padding: 20rpx 40rpx;
 	border-radius: 50rpx;
 	box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2);
-	z-index: 100;
+	z-index: 92;
 }
 
 .fab-text {

+ 2 - 3
traceCodePackages/traceabilityReport/pages/index.vue

@@ -126,13 +126,12 @@ export default {
   overflow-y: auto;
   box-sizing: border-box;
   background: #f3f6f9;
-  padding-bottom: calc(50rpx + env(safe-area-inset-bottom));
+  padding-bottom: calc(env(safe-area-inset-bottom));
 }
 
 .content {
   padding: 30rpx;
   margin-top: 180rpx;
-  padding-bottom: 160rpx;
 }
 
 .tabs-container {
@@ -142,7 +141,7 @@ export default {
   width: 100%;
   height: 116rpx;
   background: #f3f6f9;
-  z-index: 99;
+  z-index: 90;
   margin-top: -8rpx;
 }
 

+ 2 - 2
traceCodePackages/traceabilityReport/pages/reportExport/detail/index.vue

@@ -58,7 +58,7 @@
         position: 'absolute',
         top: '0',
         left: '0',
-        zIndex: category == 2 ? '100' : '-1',
+        zIndex: category == 2 ? '92' : '-1',
       }" enhanced @scrolltolower="onTableScrollToLower">
         <view :style="{
           width: '1180px',
@@ -652,7 +652,7 @@ export default {
   position: absolute;
   left: 0;
   top: 85rpx;
-  z-index: 999;
+  z-index: 91;
   width: 100%;
   background-color: #fff;
   border-bottom-left-radius: 16rpx;

+ 2 - 2
traceCodePackages/traceabilityReport/pages/reportExport/index.vue

@@ -1514,7 +1514,7 @@ export default {
   top: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.35);
-  z-index: 99;
+  z-index: 90;
 }
 
 .report-export-create-modal {
@@ -1526,7 +1526,7 @@ export default {
   background: #fff;
   border-top-left-radius: 45rpx;
   border-top-right-radius: 45rpx;
-  z-index: 100;
+  z-index: 92;
   box-shadow: 0 -8rpx 24rpx rgba(0, 0, 0, 0.12);
   transform: translateY(100%);
   transition: transform 0.25s ease-out;

+ 1 - 1
traceCodePackages/wigets/select.vue

@@ -156,7 +156,7 @@ export default {
       const style = {
         width: this.dropdownWidth,
         maxHeight: this.dropdownHeight,
-        zIndex: 999 // Ensure dropdown is on top
+        zIndex: 91 // Ensure dropdown is on top
       };
       if (this.direction === 'top') {
         style.bottom = '100%';