From 79323f0f08a974dc9404632dbe198df3dffca8b9 Mon Sep 17 00:00:00 2001 From: chenglb Date: Tue, 12 Dec 2023 15:21:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E6=83=A0=E5=88=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/css/antd.dark.min.css | 4 ++-- src/components/TableModule/index.scss | 3 +++ .../OperationSales/CouponMgm/CouponDistribute/index.scss | 5 +---- .../OperationSales/CouponMgm/WriteOffStat/loadable.jsx | 3 +-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/public/static/css/antd.dark.min.css b/public/static/css/antd.dark.min.css index de7b02d..a00b580 100644 --- a/public/static/css/antd.dark.min.css +++ b/public/static/css/antd.dark.min.css @@ -16766,8 +16766,8 @@ textarea.ant-input-number { color: hsla(0,0%,100%,.85); font-size: 14px; line-height: 1.5715; - /* background-color: transparent; */ - background-color: #454c5e; + background-color: transparent; + /* background-color: #454c5e; */ background-image: none; border: 1px solid #434343; border-radius: 2px; diff --git a/src/components/TableModule/index.scss b/src/components/TableModule/index.scss index c640cfb..de3cf76 100644 --- a/src/components/TableModule/index.scss +++ b/src/components/TableModule/index.scss @@ -105,6 +105,9 @@ $color-primary: var(--color-primary); border-radius: 4px; color: var(--color-search-list-item-value); } + .ant-input-affix-wrapper{ + background-color: var(--color-search-list-item-bg); + } .DaterPicker-bgc { input { background-color: #1e2b4d; diff --git a/src/pages/OperationCenter/OperationSales/CouponMgm/CouponDistribute/index.scss b/src/pages/OperationCenter/OperationSales/CouponMgm/CouponDistribute/index.scss index 43f17df..e32f1dd 100644 --- a/src/pages/OperationCenter/OperationSales/CouponMgm/CouponDistribute/index.scss +++ b/src/pages/OperationCenter/OperationSales/CouponMgm/CouponDistribute/index.scss @@ -188,15 +188,12 @@ $color-primary : var(--color-primary); } .custom-edit-wrapper{ // 测试公共样式 如果可以 就放到公共文件里面去 - .ant-select-selector{ + .ant-select-selector, .ant-input-affix-wrapper , .ant-select-arrow{ background: #454C5E !important; } .ant-input{ background-color: #454C5E ; } - .ant-select-arrow{ - background-color: #454C5E !important ; - } .ant-checkbox-inner{ background-color: #454C5E ; } diff --git a/src/pages/OperationCenter/OperationSales/CouponMgm/WriteOffStat/loadable.jsx b/src/pages/OperationCenter/OperationSales/CouponMgm/WriteOffStat/loadable.jsx index 4da4a1f..0242980 100644 --- a/src/pages/OperationCenter/OperationSales/CouponMgm/WriteOffStat/loadable.jsx +++ b/src/pages/OperationCenter/OperationSales/CouponMgm/WriteOffStat/loadable.jsx @@ -9,7 +9,6 @@ import "./index.scss"; import { SearchOutlined, DeleteOutlined } from '@ant-design/icons'; // import ajax from '@/services' import ajax from '@/services/OperationCenter/OperationSales/index' -let array = [] function WriteOffStat(props) { // const configData = props.sysConfig["lib-deploy"] || {}; @@ -113,7 +112,7 @@ function WriteOffStat(props) { } //切换分页 const changePn = (pn, length) => { - if (lastFormData.page_size === length) { + if (lastFormData.size === length) { setFormData(Object.assign({}, formData, { pn: pn, size: length })) setLastFormData(Object.assign({}, lastFormData, { pn: pn })) lastFormDataRef.current = Object.assign({}, lastFormData, { pn: pn })