fix: input-number style
This commit is contained in:
parent
3e22cfb2fe
commit
80ee69786f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@layui/layui-vue",
|
"name": "@layui/layui-vue",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1-alpha.1",
|
||||||
"author": "就眠儀式",
|
"author": "就眠儀式",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "a component library for Vue 3 base on layui-vue",
|
"description": "a component library for Vue 3 base on layui-vue",
|
||||||
|
@ -41,8 +41,8 @@ const onBlur = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const clear = () => {
|
const clear = () => {
|
||||||
emit("update:modelValue", "");
|
emit("update:modelValue", "");
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.set-size(@lg-wdith, @lg, @lg-right);
|
.set-size(@lg-wdith, @lg, @lg-right);
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
.layui-input {
|
.layui-input-wrapper {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ export default {
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import layButton from "../button/index";
|
import layButton from "../button/index";
|
||||||
import layIcon from "../icon/index";
|
|
||||||
import layInput from "../input/index";
|
import layInput from "../input/index";
|
||||||
|
import layIcon from "../icon/index";
|
||||||
import "./index.less";
|
import "./index.less";
|
||||||
import { ref, watch, withDefaults, computed } from "vue";
|
import { ref, watch, withDefaults, computed } from "vue";
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<template>
|
<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>
|
<LayFadeTransition v-if="type === 'fade'"><slot></slot></LayFadeTransition>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user