|
@@ -1,11 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <!-- 挂牌 -->
|
|
|
|
|
|
|
+ <!-- 挂牌 -->
|
|
|
<div class="listed">
|
|
<div class="listed">
|
|
|
<div class="condition">
|
|
<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>
|
|
|
<div class="formBar">
|
|
<div class="formBar">
|
|
|
<a-form class="inlineForm" :form="form" @submit="handleSearch">
|
|
<a-form class="inlineForm" :form="form" @submit="handleSearch">
|
|
@@ -43,8 +43,9 @@
|
|
|
<a-col
|
|
<a-col
|
|
|
:span="12"
|
|
:span="12"
|
|
|
>
|
|
>
|
|
|
- <a-form-item label="起摘数量">
|
|
|
|
|
|
|
+ <a-form-item label="起摘数量" class="relative">
|
|
|
<a-input class="commonInput" suffix="吨" style="width: 140px" />
|
|
<a-input class="commonInput" suffix="吨" style="width: 140px" />
|
|
|
|
|
+ <div class="tip">最小单位:1吨</div>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
@@ -53,16 +54,16 @@
|
|
|
:span="24"
|
|
:span="24"
|
|
|
>
|
|
>
|
|
|
<a-form-item>
|
|
<a-form-item>
|
|
|
- <a-progress :percent="30" />
|
|
|
|
|
|
|
+ <a-progress class="formProgress" :percent="30" />
|
|
|
|
|
+ <div class="unit"><span>0</span><span>300吨</span></div>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
|
|
|
|
+ <a-row :gutter="24" type="flex" justify="center">
|
|
|
<a-col
|
|
<a-col
|
|
|
:span="24"
|
|
:span="24"
|
|
|
- :style="{ 'text-align': center }"
|
|
|
|
|
>
|
|
>
|
|
|
- <a-form-item>
|
|
|
|
|
|
|
+ <a-form-item class="tc">
|
|
|
<a-button class="listedBtn">挂牌</a-button>
|
|
<a-button class="listedBtn">挂牌</a-button>
|
|
|
<a-button class="ml10 cancelBtn">取消</a-button>
|
|
<a-button class="ml10 cancelBtn">取消</a-button>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
@@ -80,7 +81,7 @@ export default defineComponent({
|
|
|
components: {},
|
|
components: {},
|
|
|
setup() {
|
|
setup() {
|
|
|
const form = {
|
|
const form = {
|
|
|
- type: '1',
|
|
|
|
|
|
|
+ type: '1'
|
|
|
};
|
|
};
|
|
|
return {
|
|
return {
|
|
|
form,
|
|
form,
|
|
@@ -109,15 +110,15 @@ export default defineComponent({
|
|
|
height: 28px;
|
|
height: 28px;
|
|
|
line-height: 28px;
|
|
line-height: 28px;
|
|
|
background: @m-black7;
|
|
background: @m-black7;
|
|
|
- .rounded-corners(3px);
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
- color: @m-blue0;
|
|
|
|
|
- &:hover {
|
|
|
|
|
- background: rgba(@m-black7, 0.8);
|
|
|
|
|
- color: rgba(@m-blue0, 0.8);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .rounded-corners(3px);
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: @m-blue0;
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background: rgba(@m-black7, .8);
|
|
|
|
|
+ color: rgba(@m-blue0, .8);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
- .conditionBtn + .conditionBtn {
|
|
|
|
|
|
|
+ .conditionBtn+.conditionBtn {
|
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -127,7 +128,7 @@ export default defineComponent({
|
|
|
padding: 28px 16px 7px;
|
|
padding: 28px 16px 7px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-::deep.ant-form.inlineForm {
|
|
|
|
|
|
|
+::v-deep.ant-form.inlineForm {
|
|
|
.ant-row.ant-form-item {
|
|
.ant-row.ant-form-item {
|
|
|
margin-bottom: 21px;
|
|
margin-bottom: 21px;
|
|
|
.ant-form-item-label {
|
|
.ant-form-item-label {
|
|
@@ -137,7 +138,7 @@ export default defineComponent({
|
|
|
label {
|
|
label {
|
|
|
color: @m-grey1;
|
|
color: @m-grey1;
|
|
|
&::after {
|
|
&::after {
|
|
|
- content: '';
|
|
|
|
|
|
|
+ content: ''
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -145,49 +146,97 @@ export default defineComponent({
|
|
|
.ant-form-item-control {
|
|
.ant-form-item-control {
|
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .relative.ant-form-item {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ .tip {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: @m-grey1;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .tc.ant-form-item {
|
|
|
|
|
+ .ant-form-item-control-wrapper {
|
|
|
|
|
+ margin: 0 auto;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-::deep.ant-select-single {
|
|
|
|
|
|
|
+::v-deep.ant-select-single {
|
|
|
.ant-select-selector {
|
|
.ant-select-selector {
|
|
|
height: 30px;
|
|
height: 30px;
|
|
|
padding: 0 8px;
|
|
padding: 0 8px;
|
|
|
- background: #15202b;
|
|
|
|
|
- border: 1px solid #0c95ff;
|
|
|
|
|
|
|
+ background: #15202B;
|
|
|
|
|
+ border: 1px solid #0C95FF;
|
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
- color: #e5e5e5;
|
|
|
|
|
|
|
+ color: #E5E5E5;
|
|
|
}
|
|
}
|
|
|
.ant-select-arrow {
|
|
.ant-select-arrow {
|
|
|
right: 8px;
|
|
right: 8px;
|
|
|
- color: #3a87f7;
|
|
|
|
|
|
|
+ color: #3A87F7;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-::deep.ant-select-dropdown {
|
|
|
|
|
- background: #15202b;
|
|
|
|
|
- color: #e5e5e5;
|
|
|
|
|
|
|
+::v-deep.ant-select-dropdown {
|
|
|
|
|
+ background: #15202B;
|
|
|
|
|
+ color: #E5E5E5;
|
|
|
.ant-select-dropdown-content {
|
|
.ant-select-dropdown-content {
|
|
|
.rc-virtual-list {
|
|
.rc-virtual-list {
|
|
|
.rc-virtual-list-holder {
|
|
.rc-virtual-list-holder {
|
|
|
.rc-virtual-list-holder-inner {
|
|
.rc-virtual-list-holder-inner {
|
|
|
.ant-select-item {
|
|
.ant-select-item {
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
.ant-select-item-option-selected {
|
|
.ant-select-item-option-selected {
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-::deep.commonInput {
|
|
|
|
|
- background: #15202b;
|
|
|
|
|
- border: 1px solid #2b3f52;
|
|
|
|
|
|
|
+::v-deep.formProgress {
|
|
|
|
|
+ width: 140px;
|
|
|
|
|
+ // height: 3px;
|
|
|
|
|
+ // .rounded-corners(2px);
|
|
|
|
|
+ margin-left: 80px;
|
|
|
|
|
+ .ant-progress-outer {
|
|
|
|
|
+ margin-right: 0;
|
|
|
|
|
+ padding-right: 0;
|
|
|
|
|
+ .ant-progress-inner {
|
|
|
|
|
+ background: @m-grey14;
|
|
|
|
|
+ .rounded-corners(2px);
|
|
|
|
|
+ .ant-progress-bg {
|
|
|
|
|
+ height: 3px !important;
|
|
|
|
|
+ border-radius: 2px !important;
|
|
|
|
|
+ background-color: @m-blue0;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .ant-progress-text {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+.unit {
|
|
|
|
|
+ margin-left: 80px;
|
|
|
|
|
+ .flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: @m-grey1;
|
|
|
|
|
+ height: 14px;
|
|
|
|
|
+ line-height: 14px;
|
|
|
|
|
+}
|
|
|
|
|
+::v-deep.commonInput {
|
|
|
|
|
+ background: #15202B;
|
|
|
|
|
+ border: 1px solid @m-grey14;
|
|
|
border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
|
|
+ color: #E5E5E5;
|
|
|
.ant-input {
|
|
.ant-input {
|
|
|
- color: #7a8a94;
|
|
|
|
|
|
|
+ color: #E5E5E5;
|
|
|
background: transparent;
|
|
background: transparent;
|
|
|
}
|
|
}
|
|
|
.ant-input-suffix {
|
|
.ant-input-suffix {
|
|
|
- color: #7a8a94;
|
|
|
|
|
|
|
+ color: #E5E5E5;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.listedBtn {
|
|
.listedBtn {
|