Ver código fonte

样式修改

marymelisa 4 anos atrás
pai
commit
62d3e1cd66

+ 13 - 5
src/assets/styles/mixin.less

@@ -1409,7 +1409,7 @@
                     color: @m-white1;
                     margin-bottom: 10px;
                     background: #0f161c;
-                    border: 1px solid #172b56;
+                    border: 1px solid @m-blue3;
                     border-radius: 3px;
                     padding-left: 14px;
                     padding-right: 12px;
@@ -1816,7 +1816,7 @@ input:-internal-autofill-selected {
             border: 0;
         }
         .ant-table-content {
-            background: rgba(@m-red1, .1) !important;
+            background: @m-red2;
         }
         .ant-table-thead {
             tr {
@@ -1837,6 +1837,8 @@ input:-internal-autofill-selected {
             }
         }
         .ant-table-tbody {
+            min-height: calc(100vh - 470px);
+            background: @m-red2;
             tr {
                 td {
                     height: 43px;
@@ -1851,7 +1853,7 @@ input:-internal-autofill-selected {
                     overflow: hidden;
                 }
                 td:not(:first-child :nth-child(1)) {
-                    background: rgba(@m-red1, .1) !important;
+                    background: @m-red2;
                     color: @m-white1;
                 }
             }
@@ -1870,6 +1872,11 @@ input:-internal-autofill-selected {
                     text-align: right;
                 }
             }
+            tr:hover {
+                td {
+                    background-color: @m-blue3 !important;
+                }
+            }
         }
         .ant-table-placeholder {
             border: 0;
@@ -1886,12 +1893,13 @@ input:-internal-autofill-selected {
 .sellHallTable {
     .ant-table {
         .ant-table-content {
-            background: rgba(@m-green0, .1);
+            background: @m-green1;
         }
         .ant-table-tbody {
+            background: @m-green1;
             tr {
                 td:not(:first-child :nth-child(1)) {
-                    background: rgba(@m-green0, .1) !important;
+                    background: @m-green1;
                 }
             }
         }

+ 2 - 0
src/assets/styles/variables.less

@@ -82,9 +82,11 @@
 @m-white0-hover: rgba(@m-white0, .8);
 @m-white1: #E5E5E5;
 @m-green0: #1FF195;
+@m-green1: #10251d;
 @m-red0: #FF5C6F;
 @m-red0-hover: rgba(@m-red0, .8);
 @m-red1: #FB7F75;
+@m-red2: #271112;
 @m-red1-hover: rgba(@m-red1, .8);
 @m-yellow0: #FF9600;
 @m-yellow1: #FC9618;

+ 1 - 1
src/views/market/spot_trade/components/buy-sell-market/components/financing_delisting/components/choose-finance/index.vue

@@ -8,7 +8,7 @@
         width="486px"
         height="580px"
         @cancel="update"
-        class="top financing"
+        class="topHigh financing"
     >
         <div class="financingCont">
             <a-row class="f-t">