修改颜色选择器样式,显示rgba格式
This commit is contained in:
		
							
								
								
									
										5
									
								
								static/3rdparty/ewPlugins.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								static/3rdparty/ewPlugins.min.js
									
									
									
									
										vendored
									
									
								
							| @ -746,6 +746,7 @@ | ||||
|         o.colorHsbaToRgba)(e.hsba) : e.pickerInput.value = (0, | ||||
|         o.colorRgbaToHex)((0, | ||||
|         o.colorHsbaToRgba)(e.hsba)) | ||||
|         e.config.pickerInputChange && e.config.pickerInputChange() | ||||
|     } | ||||
|     function f(e) { | ||||
|         if (this.pickerFlag = !1, | ||||
| @ -795,6 +796,8 @@ | ||||
|                 n.isFunction)(e.sure) ? e.sure : null, | ||||
|                 clear: (0, | ||||
|                 n.isFunction)(e.clear) ? e.clear : null, | ||||
|                 pickerInputChange: (0, | ||||
|                     n.isFunction)(e.pickerInputChange) ? e.pickerInputChange : null, | ||||
|                 startMainCallback: (0, | ||||
|                   n.isFunction)(e.startMainCallback) ? e.startMainCallback : null, | ||||
|                 clickDefineColor: (0, | ||||
| @ -891,6 +894,7 @@ | ||||
|             var u = i - e.hsba.a * i; | ||||
|             c(e.alphaBarThumb, "top", u + "px") | ||||
|         } | ||||
|         e.config.pickerInputChange && e.config.pickerInputChange() | ||||
|     } | ||||
|     function b(e, t) { | ||||
|         var r = e.hueBar.offsetHeight | ||||
| @ -1086,6 +1090,7 @@ | ||||
|                 o.colorRgbaToHex)((0, | ||||
|                 o.colorHsbaToRgba)(e.hsba)); | ||||
|                 e.config.defaultColor = e.pickerInput.value | ||||
|                 e.config.pickerInputChange && e.config.pickerInputChange() | ||||
|                 e.render(e.box.parentNode, e.config), | ||||
|                 e.config.sure(t, e) | ||||
|             }(r) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user