li.shaoyi 3 vuotta sitten
vanhempi
commit
2fe364cd48

+ 2 - 2
src/views/market/spot_trade/components/goods-chart/chart/index.less

@@ -147,8 +147,8 @@
                     }
 
                     &:last-child {
-                        color     : var(--row-title-color, #acb8c0);
-                        text-align: right;
+                        color       : var(--row-title-color, #acb8c0);
+                        //text-align: right;
                     }
                 }
             }

+ 4 - 4
src/views/market/spot_trade/components/goods-chart/chart/index.vue

@@ -36,13 +36,13 @@
         <div class="chart-tips__volume">
           <a-row>
             <a-col :span="8">卖一</a-col>
-            <a-col :class="handleQuotePriceColor(selectedRow.ask, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.ask) }}</a-col>
-            <a-col :class="handleQuotePriceColor(selectedRow.ask, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.askvolume) }}</a-col>
+            <a-col :class="handleQuotePriceColor(selectedRow.ask, selectedRow.presettle)" :span="16">{{ handleNoneValue(selectedRow.ask) }}</a-col>
+            <!-- <a-col :class="handleQuotePriceColor(selectedRow.ask, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.askvolume) }}</a-col> -->
           </a-row>
           <a-row>
             <a-col :span="8">买一</a-col>
-            <a-col :class="handleQuotePriceColor(selectedRow.bid, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.bid) }}</a-col>
-            <a-col :class="handleQuotePriceColor(selectedRow.bid, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.bidvolume) }}</a-col>
+            <a-col :class="handleQuotePriceColor(selectedRow.bid, selectedRow.presettle)" :span="16">{{ handleNoneValue(selectedRow.bid) }}</a-col>
+            <!-- <a-col :class="handleQuotePriceColor(selectedRow.bid, selectedRow.presettle)" :span="8">{{ handleNoneValue(selectedRow.bidvolume) }}</a-col> -->
           </a-row>
         </div>
       </div>