Răsfoiți Sursa

app 下单供应商报损 底部

shish 4 ani în urmă
părinte
comite
5551260929

+ 11 - 1
ghsApp/src/admin/billing/affirm.vue

@@ -467,6 +467,7 @@ export default {
 
   .affirm-view {
     flex: 1;
+    margin-bottom:90upx;
     padding: 20upx;
     background-color: #f0f2f6;
 
@@ -650,7 +651,16 @@ export default {
     justify-content: space-between;
     align-items: center;
     padding: 0 20upx;
-    width: 100%;
+    position: fixed;
+    bottom:0;
+    /* 手机mobile屏幕小于1000px */
+    @media screen and (max-width: 1100px) {
+      width: 100%;
+    }
+    /* 收银台cashier屏幕大于1000px */
+    @media screen and (min-width:1100px) {
+      width: 40%;
+    } 
     height: 100upx;
     background-color: #fff;
 

+ 13 - 1
ghsApp/src/admin/breakage/confirm.vue

@@ -1,4 +1,5 @@
 <template>
+<view class="app-content">
   <view class="affirm-page">
     <view class="affirm-view overscroll">
       <form>
@@ -55,6 +56,7 @@
     </view>
 
   </view>
+</view>
 </template>
 
 <script>
@@ -242,6 +244,7 @@ export default {
 
   .affirm-view {
     flex: 1;
+    margin-bottom:90upx;
     padding: 20upx;
     background-color: #f0f2f6;
 
@@ -372,7 +375,16 @@ export default {
     justify-content: space-between;
     align-items: center;
     padding: 0 20upx;
-    width: 100%;
+    position: fixed;
+    bottom:0;
+    /* 手机mobile屏幕小于1000px */
+    @media screen and (max-width: 1100px) {
+      width: 100%;
+    }
+    /* 收银台cashier屏幕大于1000px */
+    @media screen and (min-width:1100px) {
+      width: 40%;
+    } 
     height: 100upx;
     background-color: #fff;
 

+ 10 - 1
ghsApp/src/pagesPurchase/details.vue

@@ -373,6 +373,7 @@ export default {
 
 	.affirm-view {
 		flex: 1;
+		margin-bottom:90upx;
 		padding: 20upx;
 		background-color: #f0f2f6;
 
@@ -508,10 +509,18 @@ export default {
 		justify-content: space-between;
 		align-items: center;
 		padding: 0 20upx;
+		/* 手机mobile屏幕小于1000px */
+		@media screen and (max-width: 1100px) {
 		width: 100%;
+		}
+		/* 收银台cashier屏幕大于1000px */
+		@media screen and (min-width:1100px) {
+		width: 40%;
+		} 
 		height: 100upx;
 		background-color: #fff;
-
+		position: fixed;
+		bottom:0;
 		box-shadow: 0upx -1upx 6upx 0upx rgba(4, 0, 0, 0.06);
 		.price-view {
 			display: flex;