|
@@ -3,134 +3,14 @@ const type = 'GcBorder16'
|
|
|
|
|
|
const name = '边框16'
|
|
|
|
|
|
-const isTitle = true
|
|
|
+const isTitle = false
|
|
|
|
|
|
const padding =[0,0,0,0]
|
|
|
|
|
|
const setting = [
|
|
|
|
|
|
- {
|
|
|
- label:'标题区域背景色',
|
|
|
-
|
|
|
- type: 'gradual',
|
|
|
-
|
|
|
- field: 'fontGradientColor',
|
|
|
- optionField: 'fontGradientColor',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: [],
|
|
|
- },
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- {
|
|
|
- label:'标题左侧颜色',
|
|
|
-
|
|
|
- type: 'colorPicker',
|
|
|
-
|
|
|
- field: 'fontLeftColor',
|
|
|
- optionField: 'fontLeftColor',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: '#007aff',
|
|
|
- },
|
|
|
- {
|
|
|
- label:'标题左侧宽度',
|
|
|
-
|
|
|
- type: 'inputNumber',
|
|
|
-
|
|
|
- field: 'fontLeftWidth',
|
|
|
- optionField: 'fontLeftWidth',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: 4,
|
|
|
- },
|
|
|
- {
|
|
|
- label:'标题底部分割线颜色',
|
|
|
-
|
|
|
- type: 'colorPicker',
|
|
|
-
|
|
|
- field: 'fontBottomColor',
|
|
|
- optionField: 'fontBottomColor',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: '',
|
|
|
- },
|
|
|
- {
|
|
|
- label:'外边框线颜色',
|
|
|
-
|
|
|
- type: 'colorPicker',
|
|
|
-
|
|
|
- field: 'borderColor',
|
|
|
- optionField: 'borderColor',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: '',
|
|
|
- },
|
|
|
- {
|
|
|
- label:'外边框线宽度',
|
|
|
-
|
|
|
- type: 'inputNumber',
|
|
|
-
|
|
|
- field: 'borderWidth',
|
|
|
- optionField: 'borderWidth',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: 0,
|
|
|
- },
|
|
|
- {
|
|
|
- label:'背景色',
|
|
|
-
|
|
|
- type: 'gradual',
|
|
|
-
|
|
|
- field: 'gradientColor',
|
|
|
- optionField: 'gradientColor',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: [],
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -143,104 +23,29 @@ const setting = [
|
|
|
|
|
|
|
|
|
{
|
|
|
- label: '渐变色方向',
|
|
|
-
|
|
|
- type: 'select',
|
|
|
-
|
|
|
- field: 'gradientDirection',
|
|
|
-
|
|
|
- optionField: 'gradientDirection',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
- value: 'to right',
|
|
|
- options: [
|
|
|
- {
|
|
|
- label: '从左到右',
|
|
|
- value: 'to right'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从右到左',
|
|
|
- value: 'to left'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从上到下',
|
|
|
- value: 'to bottom'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从下到上',
|
|
|
- value: 'to top'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从左上到右下',
|
|
|
- value: 'to bottom right'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从右上到左下',
|
|
|
- value: 'to bottom left'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从左下到右上',
|
|
|
- value: 'to top right'
|
|
|
- },
|
|
|
- {
|
|
|
- label: '从右下到左上',
|
|
|
- value: 'to top left'
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- label:'左上圆角值',
|
|
|
+ label:'选择背景图',
|
|
|
|
|
|
- type: 'inputNumber',
|
|
|
+ type: 'background',
|
|
|
|
|
|
- field: 'radiusLeftTop',
|
|
|
- optionField: 'radiusLeftTop',
|
|
|
+ field: 'imgUrl',
|
|
|
+ optionField: 'imgUrl',
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
- value: 2,
|
|
|
- },
|
|
|
- {
|
|
|
- label:'左下圆角值',
|
|
|
-
|
|
|
- type: 'inputNumber',
|
|
|
-
|
|
|
- field: 'radiusLeftBottom',
|
|
|
- optionField: 'radiusLeftBottom',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: 2,
|
|
|
- },
|
|
|
- {
|
|
|
- label:'右上圆角值',
|
|
|
-
|
|
|
- type: 'inputNumber',
|
|
|
-
|
|
|
- field: 'radiusRightTop',
|
|
|
- optionField: 'radiusRightTop',
|
|
|
-
|
|
|
- multiple: false,
|
|
|
-
|
|
|
- value: 2,
|
|
|
+ value: '',
|
|
|
},
|
|
|
{
|
|
|
- label:'右下圆角值',
|
|
|
+ label:'点九图背景切割',
|
|
|
|
|
|
- type: 'inputNumber',
|
|
|
+ type: 'move',
|
|
|
|
|
|
- field: 'radiusRightBottom',
|
|
|
- optionField: 'radiusRightBottom',
|
|
|
+ field: 'borderArray',
|
|
|
+ optionField: 'borderArray',
|
|
|
|
|
|
multiple: false,
|
|
|
|
|
|
- value: 2,
|
|
|
+ value: [100,100,100,100],
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
]
|
|
|
|
|
|
|