修改自定义颜色插件
This commit is contained in:
@ -931,7 +931,7 @@ class BillboardObject extends Base {
|
||||
this.renewPoint()
|
||||
if (this._elms.labelColor) {
|
||||
this._elms.labelColor.forEach((item, i) => {
|
||||
let colorPicker = new ewPlugins('colorpicker', {
|
||||
let colorPicker = new YJColorPicker({
|
||||
el: item.el,
|
||||
size: 'mini', //颜色box类型
|
||||
alpha: true, //是否开启透明度
|
||||
@ -1004,7 +1004,7 @@ class BillboardObject extends Base {
|
||||
// this.options.diffuseColor = v
|
||||
// if (this._elms.diffuseColor) {
|
||||
// this._elms.diffuseColor.forEach((item, i) => {
|
||||
// let diffuseColorPicker = new ewPlugins('colorpicker', {
|
||||
// let diffuseColorPicker = new YJColorPicker({
|
||||
// el: item.el,
|
||||
// size: 'mini',//颜色box类型
|
||||
// alpha: false,//是否开启透明度
|
||||
@ -1080,7 +1080,7 @@ class BillboardObject extends Base {
|
||||
// this.options.scanColor = v
|
||||
// if (this._elms.scanColor) {
|
||||
// this._elms.scanColor.forEach((item, i) => {
|
||||
// let scanColorPicker = new ewPlugins('colorpicker', {
|
||||
// let scanColorPicker = new YJColorPicker({
|
||||
// el: item.el,
|
||||
// size: 'mini',//颜色box类型
|
||||
// alpha: false,//是否开启透明度
|
||||
@ -1645,7 +1645,7 @@ class BillboardObject extends Base {
|
||||
// 创建标签页
|
||||
let tabsElm = new cy_tabs('point-object-edit-tabs', undefined, this.sdk)
|
||||
// 颜色组件
|
||||
let colorPicker = new ewPlugins('colorpicker', {
|
||||
let colorPicker = new YJColorPicker({
|
||||
el: contentElm.getElementsByClassName('labelColor')[0],
|
||||
size: 'mini', //颜色box类型
|
||||
alpha: true, //是否开启透明度
|
||||
@ -1660,7 +1660,7 @@ class BillboardObject extends Base {
|
||||
} //点击清空按钮事件回调
|
||||
})
|
||||
|
||||
// let diffuseColorPicker = new ewPlugins('colorpicker', {
|
||||
// let diffuseColorPicker = new YJColorPicker({
|
||||
// el: contentElm.getElementsByClassName("diffuseColor")[0],
|
||||
// size: 'mini',//颜色box类型
|
||||
// alpha: false,//是否开启透明度
|
||||
@ -1674,7 +1674,7 @@ class BillboardObject extends Base {
|
||||
// this.diffuseColor = 'rgba(255,255,255,1)'
|
||||
// },//点击清空按钮事件回调
|
||||
// })
|
||||
// let scanColorPicker = new ewPlugins('colorpicker', {
|
||||
// let scanColorPicker = new YJColorPicker({
|
||||
// el: contentElm.getElementsByClassName("scanColor")[0],
|
||||
// size: 'mini',//颜色box类型
|
||||
// alpha: false,//是否开启透明度
|
||||
|
Reference in New Issue
Block a user