3328350766
6 天以前 761eb03d6b3bebd0b197179564c84d89d3d12a0d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
 
const type = 'GcBorder16'
 
const name = '边框16'
 
const isTitle = false
 
const padding =[0,0,0,0]
// 右侧配置项
const setting = [
 
  // 背景色
  // {
  //   label:'背景色二',
  //   // 设置组件类型, select / input / colorPicker
  //   type: 'colorPicker',
  //   // 字段
  //   field: 'gradientColor1',
  //   optionField: 'gradientColor1', // 对应options中的字段
  //   // 是否多选
  //   multiple: false,
  //   // 绑定的值
  //   value: '',
  // },
  {
    label:'选择背景图',
    // 设置组件类型, select / input / colorPicker
    type: 'background',
    // 字段
    field: 'imgUrl',
    optionField: 'imgUrl', // 对应options中的字段
    // 是否多选
    multiple: false,
    // 绑定的值
    value: '',
  },
  {
    label: '不透明度',
    // 设置组件类型
    type: 'slider',
    // 字段
    field: 'opacity',
    // 对应options中的字段
    optionField: 'opacity.fillOpacity',
    value: 1,
  },
  {
    label:'点九图背景切割',
    // 设置组件类型, select / input / colorPicker
    type: 'move',
    // 字段
    field: 'borderArray',
    optionField: 'borderArray', // 对应options中的字段
    // 是否多选
    multiple: false,
    // 绑定的值
    value: [10, 10, 10, 10]
  }
]
 
 
 
 
export default {
  setting,
  type,
  name,
  isTitle,
  padding
}