Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
admin
Commits
43071707
提交
43071707
authored
5月 13, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
公共筛选条件样式
上级
2896895e
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
120 行增加
和
10 行删除
+120
-10
main.tsx
src/main.tsx
+1
-0
index.tsx
src/pages/mall/index.tsx
+35
-10
index.scss
src/style/index.scss
+35
-0
reset.scss
src/style/reset.scss
+49
-0
没有找到文件。
src/main.tsx
浏览文件 @
43071707
...
@@ -8,6 +8,7 @@ import zhCN from 'antd/locale/zh_CN';
...
@@ -8,6 +8,7 @@ import zhCN from 'antd/locale/zh_CN';
import
'./assets/style/index.scss'
;
import
'./assets/style/index.scss'
;
import
dayjs
from
'dayjs'
;
import
dayjs
from
'dayjs'
;
import
{
themeConfig
}
from
'./assets/theme'
;
import
{
themeConfig
}
from
'./assets/theme'
;
import
'~/style/index.scss'
;
dayjs
.
locale
(
'zh-cn'
);
dayjs
.
locale
(
'zh-cn'
);
...
...
src/pages/mall/index.tsx
浏览文件 @
43071707
...
@@ -51,15 +51,39 @@ export default function Mall(){
...
@@ -51,15 +51,39 @@ export default function Mall(){
};
};
return
(
return
(
<
Form
name=
'mall_form'
>
<
div
className=
'page'
style=
{
{
paddingTop
:
'29px'
}
}
>
<
Form
.
Item
name=
'addr'
label=
'地域:'
>
<
div
className=
'filter-wrap'
style=
{
{
marginBottom
:
'11px'
}
}
>
<
Cascader
options=
{
options
}
onChange=
{
onAddrChange
}
placeholder=
'Please select'
/>
<
div
className=
'filter-item'
>
</
Form
.
Item
>
<
div
className=
'filter-item__title'
>
地域:
</
div
>
<
Form
.
Item
>
<
div
></
div
>
<
Button
type=
'primary'
htmlType=
'submit'
>
</
div
>
查询
</
div
>
</
Button
>
<
div
className=
'filter-wrap'
>
</
Form
.
Item
>
<
div
className=
'filter-item'
>
</
Form
>
<
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
src/style/index.scss
0 → 100644
浏览文件 @
43071707
@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
;
}
}
}
src/style/reset.scss
0 → 100644
浏览文件 @
43071707
/* 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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论