🐛(component): 修复 input-number 内容不居中的问题
This commit is contained in:
parent
38d46bafd4
commit
f82e57c06c
@ -68,6 +68,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,10 +7,12 @@
|
|||||||
filter: Alpha(opacity=1);
|
filter: Alpha(opacity=1);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-upload-btn-box {
|
.layui-upload-btn-box {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-upload-drag,
|
.layui-upload-drag,
|
||||||
.layui-upload-form,
|
.layui-upload-form,
|
||||||
.layui-upload-wrap {
|
.layui-upload-wrap {
|
||||||
@ -79,9 +81,11 @@
|
|||||||
opacity: 0.01;
|
opacity: 0.01;
|
||||||
filter: Alpha(opacity=1);
|
filter: Alpha(opacity=1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-upload-file-disabled {
|
.layui-upload-file-disabled {
|
||||||
cursor: not-allowed !important;
|
cursor: not-allowed !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-btn-container .layui-upload-choose {
|
.layui-btn-container .layui-upload-choose {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
@ -96,6 +100,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-upload-list-disabled {
|
.layui-upload-list-disabled {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
::: title 基础使用
|
::: title 基础使用
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-color-picker v-model="color"></lay-color-picker>
|
<lay-color-picker v-model="color"></lay-color-picker>
|
||||||
@ -29,7 +29,7 @@ export default {
|
|||||||
::: title 预设颜色
|
::: title 预设颜色
|
||||||
:::
|
:::
|
||||||
|
|
||||||
::: demo
|
::: demo 通过 `preset` 属性, 预设可选的颜色列表。
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<lay-color-picker v-model="color" :preset="preset"></lay-color-picker>
|
<lay-color-picker v-model="color" :preset="preset"></lay-color-picker>
|
||||||
|
Loading…
Reference in New Issue
Block a user