import { BasicProps, EditSetting } from '../type' export class Props extends BasicProps { public editSetting: EditSetting = { key: 'gaea-share', name: '分享配置', isContainer: false, editors: [ { field: 'docTitle', type: 'string', text: '页面标题', placeholder: '不设置会取分享标题' }, { field: 'notSetTitle', type: 'boolean', text: '不设置标题' }, { field: 'notSetShare', type: 'boolean', text: '只设置标题不分享' }, { field: 'title', type: 'string', text: '分享标题', placeholder: '默认为页面标题' }, { field: 'description', type: 'string', text: '分享摘要' }, { field: 'picurl', type: 'image', text: '分享图片' }, { field: 'lofterPic', type: 'image', text: 'LOFTER站内分享' }, { field: 'link', type: 'string', text: '分享链接', placeholder: '不设置会取页面当前链接' }, { field: 'text', type: 'string', text: '微博文案', placeholder: '分享链接会被自动拼接在最后' } ] }; docTitle: string title: string description: string activityId: string picurl?: { url: string } lofterPic?: { url: string } text: string link: string notSetTitle = false notSetShare = false } export class State { }