修改自定义颜色插件

This commit is contained in:
zh
2025-07-16 15:02:18 +08:00
parent a43c71d94e
commit ea7feea226
47 changed files with 2109 additions and 1982 deletions

View File

@ -163,7 +163,7 @@ class FlowLine extends Base {
if (this._elms.color) {
this._elms.color.forEach((item, i) => {
let picker = new ewPlugins('colorpicker', {
let picker = new YJColorPicker({
el: item.el,
size: 'mini',//颜色box类型
alpha: true,//是否开启透明度
@ -317,7 +317,7 @@ class FlowLine extends Base {
contentElm.innerHTML = html()
this._DialogObject.contentAppChild(contentElm)
// 颜色组件
let waterColorPicker = new ewPlugins('colorpicker', {
let waterColorPicker = new YJColorPicker({
el: contentElm.getElementsByClassName("flowLine-color")[0],
size: 'mini',//颜色box类型
alpha: true,//是否开启透明度