chore: 完成 row 与 col 按需样式
This commit is contained in:
parent
94cf131272
commit
df8a2a6528
@ -104,81 +104,17 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.layui-hide-xs {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.layui-show-xs-block {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.layui-show-xs-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.layui-show-xs-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.loop-generate-col-xs(1);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.layui-hide-sm {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.layui-show-sm-block {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.layui-show-sm-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.layui-show-sm-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.loop-generate-col-sm(1);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
.layui-hide-md {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.layui-show-md-block {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.layui-show-md-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.layui-show-md-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.loop-generate-col-md(1);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
.layui-hide-lg {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.layui-show-lg-block {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.layui-show-lg-inline {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.layui-show-lg-inline-block {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.loop-generate-col-lg(1);
|
||||
}
|
||||
|
@ -67,6 +67,14 @@ const matchComponents = [
|
||||
pattern: /^LayAvatarList$/,
|
||||
styleDir: "avatar",
|
||||
},
|
||||
{
|
||||
pattern: /^LayRow$/,
|
||||
styleDir: "row",
|
||||
},
|
||||
{
|
||||
pattern: /^LayCol$/,
|
||||
styleDir: "row",
|
||||
},
|
||||
// ....
|
||||
{
|
||||
pattern: /^(LayBreadcrumb|LayBreadcrumbItem)$/,
|
||||
|
Loading…
Reference in New Issue
Block a user