🌀(switch): 调整 size 尺寸

This commit is contained in:
就眠儀式
2022-07-19 20:03:15 +08:00
parent b21410440a
commit bef298f77f
6 changed files with 12 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
<lay-input
:name="name"
:readonly="readonly"
v-model="(dateValue as string)"
v-model="dateValue"
:placeholder="placeholder"
prefix-icon="layui-icon-date"
:disabled="disabled"

View File

@@ -1,12 +1,12 @@
@lg: 28px;
@lg: 24px;
@md: 22px;
@sm: 16px;
@xs: 13px;
@sm: 20px;
@xs: 18px;
@lg-min-width: 55px;
@md-min-width: 35px;
@sm-min-width: 26px;
@xs-min-width: 20px;
@lg-min-width: 42px;
@md-min-width: 37px;
@sm-min-width: 32px;
@xs-min-width: 27px;
.set-size(@size, @min-width) {
& {

View File

@@ -130,5 +130,5 @@ watch(
</script>
<template>
<slot></slot>
<slot></slot>
</template>