From 1ba430d58ea3fd662d09b99f6e22ed3b3564a356 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 二月 2023 14:15:31 +0800 Subject: [PATCH] 2023-02-03 --- src/tabviews/custom/components/module/voucher/voucherTable/index.scss | 140 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 130 insertions(+), 10 deletions(-) diff --git a/src/tabviews/custom/components/module/voucher/voucherTable/index.scss b/src/tabviews/custom/components/module/voucher/voucherTable/index.scss index 4d4702a..fa2baa2 100644 --- a/src/tabviews/custom/components/module/voucher/voucherTable/index.scss +++ b/src/tabviews/custom/components/module/voucher/voucherTable/index.scss @@ -90,10 +90,30 @@ vertical-align: top; .content-wrap { - padding: 5px; + padding: 0px 5px; height: 100%; font-size: 13px; font-weight: bold; + + .count-wrap { + text-align: right; + height: 20px; + } + .currency-select { + height: 20px; + vertical-align: top; + .ant-select-selection--single { + height: 20px; + } + .ant-select-selection__rendered { + line-height: 20px; + margin-left: 8px; + margin-right: 22px; + } + .ant-select-arrow { + right: 6px; + } + } } .money-uint { height: 100%; @@ -129,7 +149,7 @@ border-radius: 0; resize: none; } - .ant-input-number { + .ant-input-number:not(.inner-input) { height: 60px; border-radius: 0; @@ -141,7 +161,22 @@ height: 60px; } } - .ant-select { + .ant-input-number.inner-input { + display: inline-block; + width: 50px; + border-radius: 0; + height: 20px; + + .ant-input-number-handler-wrap { + display: none; + } + .ant-input-number-input { + border-radius: 0; + height: 18px; + padding: 0 3px; + } + } + .ant-select:not(.currency-select) { padding: 0px; position: absolute; top: 0px; @@ -175,12 +210,12 @@ bottom: 0px; border: 1px solid #1890ff; } - .anticon { - color: #ff4d4f; - position: absolute; - right: 3px; - top: calc(50% - 8px); - } + // .anticon { + // color: #ff4d4f; + // position: absolute; + // right: 3px; + // top: calc(50% - 8px); + // } } td.pointer { position: relative; @@ -196,8 +231,93 @@ right: 0; } } -} + .anticon-plus { + position: absolute; + left: 0px; + height: 60px; + top: 0px; + line-height: 60px; + width: 25px; + color: #26C281; + cursor: pointer; + display: none; + } + .anticon-close { + position: absolute; + right: 0px; + height: 60px; + top: 0px; + line-height: 60px; + width: 25px; + color: #ff4d4f; + cursor: pointer; + display: none; + } + tr:hover { + .anticon-plus { + left: -25px; + display: inline-block; + } + .anticon-close { + right: -25px; + display: inline-block; + } + } + .pop-anchor { + position: absolute; + bottom: 0; + left: 50%; + } +} +.subject-pop-wrap { + padding-top: 0px; + .ant-popover-arrow { + display: none; + } + .ant-popover-content { + position: relative; + z-index: 1; + } + + .ant-form-item { + display: flex; + margin-bottom: 15px; + width: 200px; + + .ant-form-item-label { + width: 60px; + } + .ant-form-item-control-wrapper { + width: calc(100% - 60px); + .ant-select { + width: 100%; + } + } + } + .ant-popover-inner-content { + padding-right: 30px; + } + .footer { + text-align: right; + .ant-btn { + border: none; + box-shadow: none; + margin-right: 15px; + } + .ant-btn:last-child { + color: var(--mk-sys-color); + } + } +} +.subject-pop-wrap::before { + content: ''; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; +} .edit-table-dropdown { .ant-select-dropdown-menu-item { white-space: unset; -- Gitblit v1.8.0