shish il y a 3 ans
Parent
commit
533134fd21
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      ghsApp/src/admin/home/components/OrderItem.vue

+ 4 - 4
ghsApp/src/admin/home/components/OrderItem.vue

@@ -172,7 +172,6 @@ export default {
     margin-left: 15upx;
     margin-left: 15upx;
   }
   }
   & > .other-presell{
   & > .other-presell{
-    flex: 1.5;
     text-align: center;
     text-align: center;
     color: white;
     color: white;
     border:2upx solid #059240;
     border:2upx solid #059240;
@@ -181,9 +180,9 @@ export default {
     font-size:20upx;
     font-size:20upx;
     background:#059240;
     background:#059240;
     margin-right:20upx;
     margin-right:20upx;
+    width:auto;
   }
   }
   & > .other-book{
   & > .other-book{
-    flex: 1.5;
     text-align: center;
     text-align: center;
     color: white;
     color: white;
     border:2upx solid green;
     border:2upx solid green;
@@ -192,9 +191,9 @@ export default {
     font-size:20upx;
     font-size:20upx;
     background:green;
     background:green;
     margin-right:20upx;
     margin-right:20upx;
+    width:auto;
   }
   }
   & > .other-refund{
   & > .other-refund{
-    flex: 1.5;
     text-align: center;
     text-align: center;
     color: white;
     color: white;
     background-color: #0e7ed8;
     background-color: #0e7ed8;
@@ -203,9 +202,9 @@ export default {
     padding:5upx 12upx;
     padding:5upx 12upx;
     font-size:20upx;
     font-size:20upx;
     margin-right:20upx;
     margin-right:20upx;
+    width:auto;
   }
   }
   & > .other-status{
   & > .other-status{
-    flex: 1;
     text-align: center;
     text-align: center;
     color: white;
     color: white;
     background-color: #ff2842;
     background-color: #ff2842;
@@ -214,6 +213,7 @@ export default {
     padding:5upx 12upx;
     padding:5upx 12upx;
     font-size:20upx;
     font-size:20upx;
     margin-right:20upx;
     margin-right:20upx;
+    width:auto;
   }
   }
   & > .status {
   & > .status {
     flex: 2;
     flex: 2;