fix: input-number style

This commit is contained in:
就眠儀式
2022-03-23 14:28:51 +08:00
parent 3e22cfb2fe
commit 80ee69786f
5 changed files with 8 additions and 6 deletions

View File

@@ -41,8 +41,8 @@ const onBlur = function () {
};
const clear = () => {
emit("update:modelValue", "");
}
emit("update:modelValue", "");
};
</script>
<template>

View File

@@ -54,7 +54,7 @@
overflow: hidden;
.set-size(@lg-wdith, @lg, @lg-right);
margin-left: 5px;
.layui-input {
.layui-input-wrapper {
text-align: center;
border: 0;
}

View File

@@ -6,8 +6,8 @@ export default {
<script setup lang="ts">
import layButton from "../button/index";
import layIcon from "../icon/index";
import layInput from "../input/index";
import layIcon from "../icon/index";
import "./index.less";
import { ref, watch, withDefaults, computed } from "vue";

View File

@@ -1,5 +1,7 @@
<template>
<LayCollapseTransition v-if="type === 'collapse'"><slot></slot></LayCollapseTransition>
<LayCollapseTransition v-if="type === 'collapse'"
><slot></slot
></LayCollapseTransition>
<LayFadeTransition v-if="type === 'fade'"><slot></slot></LayFadeTransition>
</template>