import { FormSchema } from '@/types/form'
import { reactive } from 'vue'

export const schema = reactive<FormSchema[]>([
  {
    field: 'wx_server_app_id',
    label: 'AppID',
    colProps: {
      span: 24
    },
    component: 'Input',
    componentProps: {
      style: {
        width: '500px'
      }
    }
  },
  {
    field: 'wx_server_app_secret',
    label: 'AppSecret',
    colProps: {
      span: 24
    },
    component: 'Input',
    componentProps: {
      style: {
        width: '500px'
      }
    }
  },
  {
    field: 'wx_server_email',
    label: '官方邮件',
    colProps: {
      span: 24
    },
    component: 'Input',
    componentProps: {
      style: {
        width: '500px'
      }
    }
  },
  {
    field: 'wx_server_phone',
    label: '服务热线',
    colProps: {
      span: 24
    },
    component: 'Input',
    componentProps: {
      style: {
        width: '500px'
      }
    }
  },
  {
    field: 'wx_server_site',
    label: '官方邮箱',
    colProps: {
      span: 24
    },
    component: 'Input',
    componentProps: {
      style: {
        width: '500px'
      }
    }
  },
  {
    field: 'active',
    label: '',
    colProps: {
      span: 24
    }
  }
])
