Commit f847d9ce authored by 邓晓峰's avatar 邓晓峰

Merge branch 'fix/updateImageSelect' into 'dev'

fix: update ImageSelect and TimeRangePicker See merge request !20
parents e498b4d9 0daf77f2
Pipeline #25425 passed with stages
in 4 minutes 2 seconds
...@@ -38,24 +38,30 @@ ...@@ -38,24 +38,30 @@
color: #222222; color: #222222;
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
white-space: nowrap;
} }
&-search { .ant-input-affix-wrapper {
width: 313px; width: 313px;
height: 29px; height: 29px;
background: #eef1f9; background-color: #eef1f9;
border-radius: 15px; border-radius: 15px;
.ant-input-prefix { .ant-input-prefix {
color: #5a6c8a; color: #5a6c8a;
} }
input { .ant-input {
background: #eef1f9; background: #eef1f9;
} }
} }
.ant-input-affix-wrapper:hover {
background-color: #eef1f9;
}
&-folder { &-folder {
margin-bottom: 20px;
border-top: 1px solid #ccd6e1; border-top: 1px solid #ccd6e1;
} }
......
...@@ -56,7 +56,12 @@ const TimeRangePicker = ({ ...@@ -56,7 +56,12 @@ const TimeRangePicker = ({
const renderVertical = () => { const renderVertical = () => {
return !!dataSource.length ? ( return !!dataSource.length ? (
<Select value defaultValue={defaultValue} style={{ width: width }} onChange={onSelectChange}> <Select
value={value}
defaultValue={defaultValue}
style={{ width: width }}
onChange={onSelectChange}
>
{dataSource.map((item) => ( {dataSource.map((item) => (
<Option key={item.key} value={item.key}> <Option key={item.key} value={item.key}>
{item.name} {item.name}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment