This commit is contained in:
2024-09-29 09:45:30 +08:00
parent e263b19eaa
commit 54695b7cc5
9 changed files with 29 additions and 16 deletions

View File

@@ -30,6 +30,7 @@ export interface InputProps {
max?: number;
min?: number;
qfw?: boolean;
align?: string;
}
const props = withDefaults(defineProps<InputProps>(), {
@@ -41,6 +42,7 @@ const props = withDefaults(defineProps<InputProps>(), {
modelValue: "",
size: "md",
qfw: false,
align: "left",
});
interface InputEmits {
@@ -217,6 +219,9 @@ const showPassword = () => {
></lay-icon>
</span>
<input
:style="{
textAlign: align,
}"
:type="type"
:name="name"
:disabled="disabled"

View File

@@ -730,6 +730,6 @@ const radioProps = props.getRadioProps(props.data, props.index);
<style scoped>
.layui-table-cell :deep(.layui-input input) {
padding-left: 0;
//padding-left: 0;
}
</style>