fix: input 组件 height 高度固定 38 px

This commit is contained in:
就眠儀式 2022-03-27 09:13:26 +08:00
parent d33042eade
commit 4169967a04
4 changed files with 21 additions and 5 deletions

View File

@ -16,8 +16,9 @@
<li>
<h3>0.4.3 <span class="layui-badge-rim">2022-03-27</span></h3>
<ul>
<li>[修复] menu 组件 level 属性不生效。</li>
<li>[修复] step 组件 line 连线不显示。</li>
<li>[修复] menu 组件 level 属性的语义与实际功能相悖。</li>
<li>[修复] input 组件 height 高度固定 38 px。</li>
<li>[修复] step 组件 line 样式。</li>
</ul>
</li>
</ul>

View File

@ -28,7 +28,7 @@ const getYear = () => {
*/
const getMonth = () => {
return getDate().getMonth();
}
};
/**
*

View File

@ -247,7 +247,20 @@ import { getDayLength, getYears, getDate, getMonth, getYear } from "./day";
const $emits = defineEmits(["update:modelValue"]);
const WEEK_NAME = ["日", "一", "二", "三", "四", "五", "六"];
const MONTH_NAME = ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"];
const MONTH_NAME = [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
];
const hms = ref({ hh: "00", mm: "00", ss: "00" });
const els = [

View File

@ -21,6 +21,8 @@
.layui-input-wrapper {
width: 100%;
height: 38px;
line-height: 38px;
border-width: 1px;
border-style: solid;
display: inline-flex;