|
|
@@ -9,46 +9,50 @@
|
|
|
<div class="name">{{selectedRow.goodscode}} {{selectedRow.goodsname}}</div>
|
|
|
<div class="arrowRightIcon"></div>
|
|
|
</div>
|
|
|
- <div class="priceBar bdf1 ml20">
|
|
|
- <div>
|
|
|
+ <div class="inlineBar">
|
|
|
+ <div class="valNums bdf1 ml10">
|
|
|
<!-- 最新价 -->
|
|
|
- <span>1255.00</span>
|
|
|
- <!-- 涨跌值 -->
|
|
|
- <span>1255.00</span>
|
|
|
- <!-- 涨跌幅 -->
|
|
|
- <span>1255.00</span>
|
|
|
- </div>
|
|
|
- <div class="inlineBar">
|
|
|
- <div class="greenBar green">
|
|
|
- <div class="numBlock ml15">
|
|
|
- <div class="first">卖价</div>
|
|
|
- <div class="last">{{selectedRow.sellprice}}</div>
|
|
|
- </div>
|
|
|
- <div class="numBlock">
|
|
|
- <div class="first">卖量</div>
|
|
|
- <div class="last">{{selectedRow.sellqty}}</div>
|
|
|
- </div>
|
|
|
+ <div class="firstNum start red1">1255.00</div>
|
|
|
+ <div class="lastNum start">
|
|
|
+ <!-- 涨跌值 -->
|
|
|
+ <div class="red1">1255.00</div>
|
|
|
+ <!-- 涨跌幅 -->
|
|
|
+ <div class="red1 ml20">1255.00</div>
|
|
|
</div>
|
|
|
- <div class="greenBar green">
|
|
|
- <div class="numBlock ml15">
|
|
|
- <div class="first">卖价</div>
|
|
|
- <div class="last">{{selectedRow.sellprice}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="priceBar ml20">
|
|
|
+ <div class="inlineBar start">
|
|
|
+ <div class="greenBar green">
|
|
|
+ <div class="numBlock ml15">
|
|
|
+ <div class="first">卖价</div>
|
|
|
+ <div class="last">{{selectedRow.sellprice}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">卖量</div>
|
|
|
+ <div class="last">{{selectedRow.sellqty}}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="numBlock">
|
|
|
- <div class="first">卖量</div>
|
|
|
- <div class="last">{{selectedRow.sellqty}}</div>
|
|
|
+ <div class="greenBar green">
|
|
|
+ <div class="numBlock ml15">
|
|
|
+ <div class="first">卖价</div>
|
|
|
+ <div class="last">{{selectedRow.sellprice}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">卖量</div>
|
|
|
+ <div class="last">{{selectedRow.sellqty}}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="inlineBar">
|
|
|
- <div class="redBar red">
|
|
|
- <div class="numBlock">
|
|
|
- <div class="first">买价</div>
|
|
|
- <div class="last">{{selectedRow.buyprice}}</div>
|
|
|
- </div>
|
|
|
- <div class="numBlock">
|
|
|
- <div class="first">买量</div>
|
|
|
- <div class="last">{{selectedRow.buyqty}}</div>
|
|
|
+ <div class="inlineBar start">
|
|
|
+ <div class="redBar red1">
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">买价</div>
|
|
|
+ <div class="last">{{selectedRow.buyprice}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">买量</div>
|
|
|
+ <div class="last">{{selectedRow.buyqty}}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -189,21 +193,38 @@ export default defineComponent({
|
|
|
});
|
|
|
</script>
|
|
|
<style lang="less">
|
|
|
-.priceBar {
|
|
|
+.valNums {
|
|
|
.flex;
|
|
|
flex-direction: column;
|
|
|
- height: 32px;
|
|
|
- .inlineBar {
|
|
|
+ padding-left: 20px;
|
|
|
+ .firstNum {
|
|
|
+ font-size: 18px;
|
|
|
+ line-height: 18px;
|
|
|
+ font-weight: 400;
|
|
|
+ }
|
|
|
+ .lastNum {
|
|
|
+ margin-top: 2px;
|
|
|
display: inline-flex;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 12px;
|
|
|
+ font-weight: 300;
|
|
|
}
|
|
|
+}
|
|
|
+.inlineBar {
|
|
|
+ display: inline-flex;
|
|
|
+}
|
|
|
+.priceBar {
|
|
|
+ .flex;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 32px;
|
|
|
.greenBar,
|
|
|
.redBar {
|
|
|
height: 16px;
|
|
|
line-height: 16px;
|
|
|
}
|
|
|
}
|
|
|
-.buy-sell-market .buy-sell-market-title div {
|
|
|
- align-self: flex-start;
|
|
|
- align-items: flex-start;
|
|
|
+.start {
|
|
|
+ align-self: flex-start !important;
|
|
|
+ align-items: flex-start !important;
|
|
|
}
|
|
|
</style>
|