提交 43071707 作者: 翁进城

公共筛选条件样式

上级 2896895e
......@@ -8,6 +8,7 @@ import zhCN from 'antd/locale/zh_CN';
import './assets/style/index.scss';
import dayjs from 'dayjs';
import { themeConfig } from './assets/theme';
import '~/style/index.scss';
dayjs.locale('zh-cn');
......
......@@ -51,15 +51,39 @@ export default function Mall(){
};
return (
<Form name='mall_form'>
<Form.Item name='addr' label='地域:'>
<Cascader options={options} onChange={onAddrChange} placeholder='Please select' />
</Form.Item>
<Form.Item>
<Button type='primary' htmlType='submit'>
查询
</Button>
</Form.Item>
</Form>
<div className='page' style={{ paddingTop: '29px' }}>
<div className='filter-wrap' style={{marginBottom: '11px'}}>
<div className='filter-item'>
<div className='filter-item__title'>地域:</div>
<div></div>
</div>
</div>
<div className='filter-wrap'>
<div className='filter-item'>
<div className='filter-item__title'>类目:</div>
<div></div>
</div>
<div className='filter-item'>
<div className='filter-item__title'>品牌:</div>
<div></div>
</div>
<div className='filter-item'>
<div className='filter-item__title'>部件:</div>
<div></div>
</div>
<div className='filter-item'>
<div className='filter-item__title'>型号:</div>
<div></div>
</div>
<div className='filter-item'>
<div className='filter-item__title'>成色:</div>
<div></div>
</div>
<div className='filter-item'>
<div className='filter-item__title'>已选:</div>
<div></div>
</div>
</div>
</div>
);
}
\ No newline at end of file
@import './reset.scss';
body {
background-color: rgba(239, 241, 244, 1);
}
//页面基础属性
.page {
width: 1200px;
margin: auto;
}
.filter-wrap {
padding: 0px 32px;
background: #ffffff;
border-radius: 6px;
.filter-item {
padding: 24px 0;
border-bottom: 1px solid RGBA(245, 245, 245, 1);
&:nth-last-child(1) {
border-bottom: none;
}
.filter-item__title {
width: 80px;
margin-right: 8px;
font-size: 16px;
font-family: MicrosoftYaHei;
color: #999999;
line-height: 20px;
}
}
}
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论