✨(component): update
This commit is contained in:
parent
9d46063321
commit
4393b1c1d2
@ -25,7 +25,7 @@ const emit = defineEmits(["update:modelValue"]);
|
|||||||
const props = withDefaults(defineProps<ColorPicker>(), {
|
const props = withDefaults(defineProps<ColorPicker>(), {
|
||||||
modelValue: { r: 255, g: 255, b: 255, a: 1 },
|
modelValue: { r: 255, g: 255, b: 255, a: 1 },
|
||||||
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
|
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
|
||||||
disabled: false
|
disabled: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
const saturationValue = ref<null | HTMLElement>(null);
|
const saturationValue = ref<null | HTMLElement>(null);
|
||||||
@ -409,7 +409,8 @@ function hex2rgba(s: any) {
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:contentClass="contentClass"
|
:contentClass="contentClass"
|
||||||
:contentStyle="contentStyle"
|
:contentStyle="contentStyle"
|
||||||
updateAtScroll>
|
updateAtScroll
|
||||||
|
>
|
||||||
<div class="layui-unselect layui-colorpicker">
|
<div class="layui-unselect layui-colorpicker">
|
||||||
<span>
|
<span>
|
||||||
<span
|
<span
|
||||||
|
@ -86,7 +86,11 @@
|
|||||||
</lay-dropdown>
|
</lay-dropdown>
|
||||||
<lay-dropdown ref="dropdownMonthPanelRefRight">
|
<lay-dropdown ref="dropdownMonthPanelRefRight">
|
||||||
<span class="laydate-range-time"
|
<span class="laydate-range-time"
|
||||||
>{{ startTime.month + 2 > 12 ? startTime.month - 10 : startTime.month + 2 }}月</span
|
>{{
|
||||||
|
startTime.month + 2 > 12
|
||||||
|
? startTime.month - 10
|
||||||
|
: startTime.month + 2
|
||||||
|
}}月</span
|
||||||
>
|
>
|
||||||
<template #content>
|
<template #content>
|
||||||
<MonthPanel
|
<MonthPanel
|
||||||
|
@ -111,7 +111,15 @@ import { LayIcon } from "@layui/icons-vue";
|
|||||||
import LayInput from "../input/index.vue";
|
import LayInput from "../input/index.vue";
|
||||||
import LayDropdown from "../dropdown/index.vue";
|
import LayDropdown from "../dropdown/index.vue";
|
||||||
import { getMonth, getYear, getDay } from "./day";
|
import { getMonth, getYear, getDay } from "./day";
|
||||||
import { ref, watch, defineProps, defineEmits, reactive, provide, StyleValue } from "vue";
|
import {
|
||||||
|
ref,
|
||||||
|
watch,
|
||||||
|
defineProps,
|
||||||
|
defineEmits,
|
||||||
|
reactive,
|
||||||
|
provide,
|
||||||
|
StyleValue,
|
||||||
|
} from "vue";
|
||||||
import DatePanel from "./components/DatePanel.vue";
|
import DatePanel from "./components/DatePanel.vue";
|
||||||
import TimePanel from "./components/TimePanel.vue";
|
import TimePanel from "./components/TimePanel.vue";
|
||||||
import YearPanel from "./components/YearPanel.vue";
|
import YearPanel from "./components/YearPanel.vue";
|
||||||
|
@ -143,7 +143,8 @@ const searchList = (str: string, container: any) => {
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:contentClass="contentClass"
|
:contentClass="contentClass"
|
||||||
:contentStyle="contentStyle"
|
:contentStyle="contentStyle"
|
||||||
updateAtScroll>
|
updateAtScroll
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="layui-inline layui-border-box layui-iconpicker layui-iconpicker-split"
|
class="layui-inline layui-border-box layui-iconpicker layui-iconpicker-split"
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user