Przeglądaj źródła

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
样式修改

1004749546@qq.com 4 lat temu
rodzic
commit
89e76e4e5b
1 zmienionych plików z 6 dodań i 19 usunięć
  1. 6 19
      src/views/AvailableCoupon/couponCode.vue

+ 6 - 19
src/views/AvailableCoupon/couponCode.vue

@@ -2,8 +2,7 @@
   <div>
     <a-modal
       v-model="isShow"
-      class-name="cashier-modal"
-      width="60%"
+      width="50%"
       @cancel="cansel"
       :footer="null"
       :maskClosable="false"
@@ -104,15 +103,6 @@ export default {
 </script>
 
 <style lang="less">
-  .cashier-modal{
-        display: flex;
-        align-items: center;
-        justify-content: center;
-
-        .ivu-modal{
-            top: 0;
-        }
-    }
   .pay-box{
     .title{
       text-align: center;
@@ -138,19 +128,15 @@ export default {
         width: 100%;
         min-height: 260px;
         position: relative;
-        // #canvas{
-        //     width: 70%!important;
-        //     height: auto!important;
-        //   }
         img{
-          width: 70%;
-          height: 100%;
+          width: 60%;
+          max-width: 530px;
           // border: 1px solid #eee;
         }
         .spin{
           position: absolute;
-          top: 40%;
-          left: 45%;
+          top: 42%;
+          left: 47%;
           z-index: 999;
         }
       }
@@ -168,6 +154,7 @@ export default {
       text-align: center;
       padding: 20px 0 10px;
       button{
+        width: 80%;
         margin: 0 10px;
       }
     }