mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-03-07 08:17:12 +00:00
54 lines
909 B
TypeScript
54 lines
909 B
TypeScript
const Header = {
|
|
editData: [
|
|
{
|
|
key: 'bgColor',
|
|
name: '背景色',
|
|
type: 'Color',
|
|
},
|
|
{
|
|
key: 'height',
|
|
name: '高度',
|
|
type: 'Number',
|
|
},
|
|
{
|
|
key: 'logo',
|
|
name: 'logo',
|
|
type: 'Upload',
|
|
isCrop: true,
|
|
cropRate: 1000 / 618,
|
|
},
|
|
{
|
|
key: 'logoText',
|
|
name: 'logo文字',
|
|
type: 'Text',
|
|
},
|
|
{
|
|
key: 'color',
|
|
name: '文字颜色',
|
|
type: 'Color',
|
|
},
|
|
{
|
|
key: 'fontSize',
|
|
name: '文字大小',
|
|
type: 'Number',
|
|
},
|
|
],
|
|
config: {
|
|
bgColor: 'rgba(0,0,0,1)',
|
|
logo: [
|
|
{
|
|
uid: '001',
|
|
name: 'image.png',
|
|
status: 'done',
|
|
url: 'http://io.nainor.com/uploads/3_1740be8a482.png',
|
|
},
|
|
],
|
|
logoText: '页头Header',
|
|
fontSize: 20,
|
|
color: 'rgba(255,255,255,1)',
|
|
height: 50,
|
|
},
|
|
};
|
|
|
|
export default Header;
|