初始化
This commit is contained in:
56
frontend/packages/Borders/Border12/settingConfig.js
Normal file
56
frontend/packages/Borders/Border12/settingConfig.js
Normal file
@@ -0,0 +1,56 @@
|
||||
import { commonConfig } from '../../js/config'
|
||||
|
||||
export const settingConfig = {
|
||||
padding: [30, 30, 30, 60],
|
||||
legend: false,
|
||||
isGroup: true,
|
||||
data: [],
|
||||
// displayOption: {
|
||||
// color: '',
|
||||
// backgroundColor: ''
|
||||
// }
|
||||
// 设置面板属性的显隐
|
||||
displayOption: {
|
||||
dataAllocation: {
|
||||
// 是否存在数据配置
|
||||
enable: false
|
||||
}
|
||||
}
|
||||
}
|
||||
const customConfig = {
|
||||
type: 'border12',
|
||||
root: {
|
||||
version: '2023071001',
|
||||
contribution: false,
|
||||
// 绕x轴旋转角度
|
||||
rotateX: 0,
|
||||
// 绕y轴旋转角度
|
||||
rotateY: 0,
|
||||
// 绕z轴旋转角度
|
||||
rotateZ: 0,
|
||||
// 透视距离
|
||||
perspective: 0,
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
},
|
||||
customize: {
|
||||
// 边框主要颜色
|
||||
borderMainColor: '#83bff6',
|
||||
// 边框次要颜色
|
||||
borderSecondaryColor: '#00CED1',
|
||||
// 边框背景颜色
|
||||
backgroundColor: '',
|
||||
colorType: 'single',
|
||||
// 渐变色0值
|
||||
gradientColor0: '#83bff6',
|
||||
// 渐变色1值
|
||||
gradientColor1: '#188df0',
|
||||
// 渐变色色值改变方向
|
||||
gradientDirection: 'to right',
|
||||
// 透明度
|
||||
opacity: 100
|
||||
}
|
||||
}
|
||||
export const dataConfig = {
|
||||
...commonConfig(customConfig)
|
||||
}
|
||||
Reference in New Issue
Block a user