|
@@ -3313,112 +3313,112 @@ context.meta2d.translate(
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- name: '快速选项卡',
|
|
|
- icon: 'l-shandianxuanxiangka',
|
|
|
- data: {
|
|
|
- name: 'quickTab',
|
|
|
- width: 440,
|
|
|
- height: 500,
|
|
|
- direction: 'horizontal',
|
|
|
- selectedKey: '1',
|
|
|
- btnHeight: 32,
|
|
|
- btnWidth: 100,
|
|
|
- gap:8,
|
|
|
- disableInput: true,
|
|
|
- container: true,
|
|
|
- followers: [],
|
|
|
- dragRange:true,
|
|
|
- disableRotate:true,
|
|
|
- data: [
|
|
|
- { text: '场景一', key: '0' },
|
|
|
- { text: '场景二', key: '1' },
|
|
|
- { text: '场景三', key: '2' },
|
|
|
- { text: '场景四', key: '3' },
|
|
|
- ],
|
|
|
- props: {
|
|
|
- custom: [
|
|
|
- {
|
|
|
- key: 'data',
|
|
|
- label: '数据',
|
|
|
- type: 'code',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'direction',
|
|
|
- label: '方向',
|
|
|
- type: 'select',
|
|
|
- options: [
|
|
|
- { label: '水平', value: 'horizontal' },
|
|
|
- { label: '垂直', value: 'vertical' },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'gap',
|
|
|
- label: '间隔',
|
|
|
- type: 'number',
|
|
|
- min:1
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'btnWidth',
|
|
|
- label: '按钮宽度',
|
|
|
- type: 'number',
|
|
|
- min:1
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'btnHeight',
|
|
|
- label: '按钮高度',
|
|
|
- type: 'number',
|
|
|
- min:1
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'activeBackground',
|
|
|
- label: '选中背景',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'activeColor',
|
|
|
- label: '选中边框',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'activeTextColor',
|
|
|
- label: '选中文字',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'activeBgImage',
|
|
|
- label: '选中背景图片',
|
|
|
- type: 'string',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'background',
|
|
|
- label: '(未选中)背景',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'color',
|
|
|
- label: '(未选中)边框',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'textColor',
|
|
|
- label: '(未选中)文字',
|
|
|
- type: 'color',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'bgImage',
|
|
|
- label: '(未选中)背景图片',
|
|
|
- type: 'string',
|
|
|
- },
|
|
|
- {
|
|
|
- key: 'dragRange',
|
|
|
- label: '显示拖拽范围',
|
|
|
- type: 'bool',
|
|
|
- }
|
|
|
- ],
|
|
|
- },
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // name: '快速选项卡',
|
|
|
+ // icon: 'l-shandianxuanxiangka',
|
|
|
+ // data: {
|
|
|
+ // name: 'quickTab',
|
|
|
+ // width: 440,
|
|
|
+ // height: 500,
|
|
|
+ // direction: 'horizontal',
|
|
|
+ // selectedKey: '1',
|
|
|
+ // btnHeight: 32,
|
|
|
+ // btnWidth: 100,
|
|
|
+ // gap:8,
|
|
|
+ // disableInput: true,
|
|
|
+ // container: true,
|
|
|
+ // followers: [],
|
|
|
+ // dragRange:true,
|
|
|
+ // disableRotate:true,
|
|
|
+ // data: [
|
|
|
+ // { text: '场景一', key: '0' },
|
|
|
+ // { text: '场景二', key: '1' },
|
|
|
+ // { text: '场景三', key: '2' },
|
|
|
+ // { text: '场景四', key: '3' },
|
|
|
+ // ],
|
|
|
+ // props: {
|
|
|
+ // custom: [
|
|
|
+ // {
|
|
|
+ // key: 'data',
|
|
|
+ // label: '数据',
|
|
|
+ // type: 'code',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'direction',
|
|
|
+ // label: '方向',
|
|
|
+ // type: 'select',
|
|
|
+ // options: [
|
|
|
+ // { label: '水平', value: 'horizontal' },
|
|
|
+ // { label: '垂直', value: 'vertical' },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'gap',
|
|
|
+ // label: '间隔',
|
|
|
+ // type: 'number',
|
|
|
+ // min:1
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'btnWidth',
|
|
|
+ // label: '按钮宽度',
|
|
|
+ // type: 'number',
|
|
|
+ // min:1
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'btnHeight',
|
|
|
+ // label: '按钮高度',
|
|
|
+ // type: 'number',
|
|
|
+ // min:1
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'activeBackground',
|
|
|
+ // label: '选中背景',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'activeColor',
|
|
|
+ // label: '选中边框',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'activeTextColor',
|
|
|
+ // label: '选中文字',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'activeBgImage',
|
|
|
+ // label: '选中背景图片',
|
|
|
+ // type: 'string',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'background',
|
|
|
+ // label: '(未选中)背景',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'color',
|
|
|
+ // label: '(未选中)边框',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'textColor',
|
|
|
+ // label: '(未选中)文字',
|
|
|
+ // type: 'color',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'bgImage',
|
|
|
+ // label: '(未选中)背景图片',
|
|
|
+ // type: 'string',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // key: 'dragRange',
|
|
|
+ // label: '显示拖拽范围',
|
|
|
+ // type: 'bool',
|
|
|
+ // }
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
name: '基本选项卡',
|
|
|
icon: 'l-xuanxiangka',
|