|
|
@@ -1,73 +1,70 @@
|
|
|
<template>
|
|
|
- <!-- 挂牌 -->
|
|
|
+ <!-- 挂牌 -->
|
|
|
<div class="listed">
|
|
|
<div class="condition">
|
|
|
- <a-button class="conditionBtn">螺纹钢</a-button>
|
|
|
- <a-button class="conditionBtn">12</a-button>
|
|
|
- <a-button class="conditionBtn">江铜</a-button>
|
|
|
- <a-button class="conditionBtn">华南仓库</a-button>
|
|
|
+ <a-button class="conditionBtn">螺纹钢</a-button>
|
|
|
+ <a-button class="conditionBtn">12</a-button>
|
|
|
+ <a-button class="conditionBtn">江铜</a-button>
|
|
|
+ <a-button class="conditionBtn">华南仓库</a-button>
|
|
|
</div>
|
|
|
<div class="formBar">
|
|
|
- <a-form class="inlineForm" :form="form" @submit="handleSearch">
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col
|
|
|
- :span="12"
|
|
|
- >
|
|
|
- <a-form-item label="挂牌方式">
|
|
|
- <a-select class="inlineFormSelect" default-value="1" style="width: 140px">
|
|
|
- <a-select-option value="1">
|
|
|
- 一口价
|
|
|
- </a-select-option>
|
|
|
- <a-select-option value="2">
|
|
|
- 一口价2
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col
|
|
|
- :span="12"
|
|
|
- >
|
|
|
- <a-form-item label="挂牌价">
|
|
|
- <a-input class="commonInput" style="width: 140px"/>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col
|
|
|
- :span="12"
|
|
|
- >
|
|
|
- <a-form-item label="挂牌数量">
|
|
|
- <a-input class="commonInput" suffix="吨" style="width: 140px"/>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col
|
|
|
- :span="12"
|
|
|
- >
|
|
|
- <a-form-item label="起摘数量">
|
|
|
- <a-input class="commonInput" suffix="吨" style="width: 140px" />
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col
|
|
|
- :span="24"
|
|
|
- >
|
|
|
- <a-form-item>
|
|
|
- <a-progress :percent="30" />
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col
|
|
|
- :span="24"
|
|
|
- >
|
|
|
- <a-form-item>
|
|
|
- <a-button>挂牌</a-button>
|
|
|
- <a-button>取消</a-button>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </a-form>
|
|
|
+ <a-form class="inlineForm"
|
|
|
+ :form="form"
|
|
|
+ @submit="handleSearch">
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="挂牌方式">
|
|
|
+ <a-select class="inlineFormSelect"
|
|
|
+ default-value="1"
|
|
|
+ style="width: 140px">
|
|
|
+ <a-select-option value="1">
|
|
|
+ 一口价
|
|
|
+ </a-select-option>
|
|
|
+ <a-select-option value="2">
|
|
|
+ 一口价2
|
|
|
+ </a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="挂牌价">
|
|
|
+ <a-input class="commonInput"
|
|
|
+ style="width: 140px" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="挂牌数量">
|
|
|
+ <a-input class="commonInput"
|
|
|
+ suffix="吨"
|
|
|
+ style="width: 140px" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="起摘数量">
|
|
|
+ <a-input class="commonInput"
|
|
|
+ suffix="吨"
|
|
|
+ style="width: 140px" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item>
|
|
|
+ <a-progress :percent="30" />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item>
|
|
|
+ <a-button>挂牌</a-button>
|
|
|
+ <a-button>取消</a-button>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </a-form>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -79,7 +76,7 @@ export default defineComponent({
|
|
|
components: {},
|
|
|
setup() {
|
|
|
const form = {
|
|
|
- type: '1'
|
|
|
+ type: '1',
|
|
|
};
|
|
|
return {
|
|
|
form,
|
|
|
@@ -108,15 +105,15 @@ export default defineComponent({
|
|
|
height: 28px;
|
|
|
line-height: 28px;
|
|
|
background: @m-black7;
|
|
|
- .rounded-corners(3px);
|
|
|
- font-size: 14px;
|
|
|
- color: @m-blue0;
|
|
|
- &:hover {
|
|
|
- background: rgba(@m-black7, .8);
|
|
|
- color: rgba(@m-blue0, .8);
|
|
|
- }
|
|
|
+ .rounded-corners(3px);
|
|
|
+ font-size: 14px;
|
|
|
+ color: @m-blue0;
|
|
|
+ &:hover {
|
|
|
+ background: rgba(@m-black7, 0.8);
|
|
|
+ color: rgba(@m-blue0, 0.8);
|
|
|
+ }
|
|
|
}
|
|
|
- .conditionBtn+.conditionBtn {
|
|
|
+ .conditionBtn + .conditionBtn {
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
}
|
|
|
@@ -126,7 +123,7 @@ export default defineComponent({
|
|
|
padding: 28px 16px 7px;
|
|
|
}
|
|
|
}
|
|
|
-::v-deep.ant-form.inlineForm {
|
|
|
+::deep.ant-form.inlineForm {
|
|
|
.ant-row.ant-form-item {
|
|
|
margin-bottom: 21px;
|
|
|
.ant-form-item-label {
|
|
|
@@ -136,7 +133,7 @@ export default defineComponent({
|
|
|
label {
|
|
|
color: @m-grey1;
|
|
|
&::after {
|
|
|
- content: ''
|
|
|
+ content: '';
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -144,52 +141,49 @@ export default defineComponent({
|
|
|
.ant-form-item-control {
|
|
|
line-height: 30px;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-::v-deep.ant-select-single {
|
|
|
+::deep.ant-select-single {
|
|
|
.ant-select-selector {
|
|
|
height: 30px;
|
|
|
padding: 0 8px;
|
|
|
- background: #15202B;
|
|
|
- border: 1px solid #0C95FF;
|
|
|
+ background: #15202b;
|
|
|
+ border: 1px solid #0c95ff;
|
|
|
border-radius: 3px;
|
|
|
- color: #E5E5E5;
|
|
|
+ color: #e5e5e5;
|
|
|
}
|
|
|
.ant-select-arrow {
|
|
|
right: 8px;
|
|
|
- color: #3A87F7;
|
|
|
+ color: #3a87f7;
|
|
|
}
|
|
|
}
|
|
|
-::v-deep.ant-select-dropdown {
|
|
|
- background: #15202B;
|
|
|
- color: #E5E5E5;
|
|
|
+::deep.ant-select-dropdown {
|
|
|
+ background: #15202b;
|
|
|
+ color: #e5e5e5;
|
|
|
.ant-select-dropdown-content {
|
|
|
.rc-virtual-list {
|
|
|
.rc-virtual-list-holder {
|
|
|
.rc-virtual-list-holder-inner {
|
|
|
.ant-select-item {
|
|
|
-
|
|
|
}
|
|
|
.ant-select-item-option-selected {
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-::v-deep.commonInput {
|
|
|
- background: #15202B;
|
|
|
- border: 1px solid #2B3F52;
|
|
|
+::deep.commonInput {
|
|
|
+ background: #15202b;
|
|
|
+ border: 1px solid #2b3f52;
|
|
|
border-radius: 3px;
|
|
|
.ant-input {
|
|
|
- color: #7A8A94;
|
|
|
+ color: #7a8a94;
|
|
|
background: transparent;
|
|
|
}
|
|
|
.ant-input-suffix {
|
|
|
- color: #7A8A94;
|
|
|
+ color: #7a8a94;
|
|
|
}
|
|
|
}
|
|
|
</style>;
|