|
|
@@ -1,18 +1,53 @@
|
|
|
<template>
|
|
|
- <!-- 买卖大厅 -->
|
|
|
- <div class="buy-sell-market">
|
|
|
- <div>
|
|
|
- <button @click="cancel">关闭</button>
|
|
|
+ <!-- 买卖大厅 -->
|
|
|
+ <div class="buy-sell-market">
|
|
|
+ <!--<div>
|
|
|
+ <button @click="cancel">关闭</button>
|
|
|
+ </div>-->
|
|
|
+ <div class="buy-sell-market-title">
|
|
|
+ <a class="backIcon">
|
|
|
+ <LeftOutlined />
|
|
|
+ </a>
|
|
|
+ <div class="titleBtn">螺纹钢</div>
|
|
|
+ <div class="titleBtn">12mm-江铜</div>
|
|
|
+ <div class="titleBtn">华南仓库</div>
|
|
|
+ <div class="green">
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">卖基差</div>
|
|
|
+ <div class="last">125.00</div>
|
|
|
+ </div>
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">卖量</div>
|
|
|
+ <div class="last">10000</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="red ml35">
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">买基差</div>
|
|
|
+ <div class="last">120.00</div>
|
|
|
+ </div>
|
|
|
+ <div class="numBlock">
|
|
|
+ <div class="first">买量</div>
|
|
|
+ <div class="last">10000</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="market">
|
|
|
+ <div class="first">IC2104</div>
|
|
|
+ <div class="last red">6291.0</div>
|
|
|
+ <LineChartOutlined />
|
|
|
+ </div>
|
|
|
+ <a-button class="publishBuy">发布求购</a-button>
|
|
|
+ <a-button class="detailBtn">详情</a-button>
|
|
|
+ </div>
|
|
|
+ <a-row>
|
|
|
+ <a-col :span="12">
|
|
|
+ <Buy />
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <Sell />
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
</div>
|
|
|
- <a-row>
|
|
|
- <a-col :span="12">
|
|
|
- <Buy />
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <Sell />
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </div>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -21,9 +56,11 @@ import { ComposeTableParam, defineComponent, handleComposeTable, ModalEnum, quer
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
import { queryOrderQuoteDetail } from '@/services/go/wrtrade';
|
|
|
import { QueryOrderQuoteDetailReq, WrOrderQuoteDetail } from '@/services/go/wrtrade/interface';
|
|
|
+import { LeftOutlined } from '@ant-design/icons-vue';
|
|
|
import { handleBuyAndSellList } from './setup';
|
|
|
import Buy from './components/buy/index.vue';
|
|
|
import Sell from './components/sell/index.vue';
|
|
|
+import { LineChartOutlined } from '@ant-design/icons-vue';
|
|
|
|
|
|
export default defineComponent({
|
|
|
emits: ['cancel'],
|
|
|
@@ -42,6 +79,8 @@ export default defineComponent({
|
|
|
components: {
|
|
|
Buy,
|
|
|
Sell,
|
|
|
+ LeftOutlined,
|
|
|
+ LineChartOutlined,
|
|
|
},
|
|
|
setup(props, context) {
|
|
|
const { visible, cancel } = _closeModal(context);
|
|
|
@@ -55,13 +94,5 @@ export default defineComponent({
|
|
|
</script>
|
|
|
<style lang="less">
|
|
|
.buy-sell-market {
|
|
|
- position: absolute;
|
|
|
- z-index: 99;
|
|
|
- top: 0;
|
|
|
- height: 100%;
|
|
|
- width: 100%;
|
|
|
- bottom: 30px;
|
|
|
- background: #fff;
|
|
|
- left: 0;
|
|
|
}
|
|
|
</style>
|