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

@@ -24,11 +24,11 @@ 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;