export const UserUrl = 'http://www.baidu.com';

export const WechatUserAppId = 'wx324965bb6800f9b9';

export const H5Url = 'http://127.0.0.1:3000';

export const WechatH5AppId = 'wxbee75af2ece94ed7';

export const QuestionDifficult = [{ label: 'Easy', value: 'easy' }, { label: 'Medium', value: 'medium' }, { label: 'Hard', value: 'hard' }];

export const QuestionType = [{ label: 'SC/语法', value: 'sc', long: 'Sentence Correnction' }, { label: 'RC/阅读', value: 'rc', long: 'Reading Comprehension' }, { label: 'CR/逻辑', value: 'cr', long: 'Critical Reasoning' }, { label: 'PS/数学', value: 'ps', long: 'Problem solving' }, { label: 'DS/数学', value: 'ds', long: 'Data Sufficiency' }, { label: 'IR/综合推理', value: 'ir', long: 'Integrated Reasoning' }, { label: 'AWA/作文', value: 'awa', long: 'Analytical Writing Assessment' }];

export const ExaminationQuestionType = [{ label: 'SC/语法', value: 'sc', long: 'Sentence Correnction' }, { label: 'RC/阅读', value: 'rc', long: 'Reading Comprehension' }, { label: 'CR/逻辑', value: 'cr', long: 'Critical Reasoning' }, { label: 'PS/数学', value: 'ps', long: 'Problem solving' }, { label: 'DS/数学', value: 'ds', long: 'Data Sufficiency' }];

export const FeedbackQuestionType = [{ label: 'SC/语法', value: 'sc' }, { label: 'RC/阅读', value: 'rc' }, { label: 'CR/逻辑', value: 'cr' }, { label: 'PS/数学', value: 'ps' }, { label: 'DS/数学', value: 'ds' }, { label: 'IR/综合推理', value: 'ir' }, { label: '长难句', value: 'sentence' }];

export const TextbookType = [{ label: 'PS/数学', value: 'ps' }, { label: 'DS/数学', value: 'ds' }];

export const MoneyRange = [{ label: '0', value: 0 }, { label: '1-1000', value: 1 }, { label: '1000-5000', value: 2 }, { label: '5000-10000', value: 3 }, { label: '10000以上', value: 4 }];

export const AskTarget = [{ label: '题目', value: 'question', title: '题目', key: 'question' }, { label: '官方解析', value: 'official', title: '官方解析', key: 'official' }, { label: '千行解析', value: 'qx', title: '千行解析', key: 'qx' }, { label: '题源联想', value: 'association', title: '题源联想', key: 'association' }, { label: '相关问答', value: 'qa', title: '相关问答', key: 'qa' }];

export const ServiceKey = [{ label: 'VIP', value: 'vip' }, { label: '机经', value: 'textbook' }, { label: '千行CAT', value: 'qx_cat' }];

export const ServiceParamMap = {
  vip: [{ label: '1个月', value: 'month1' }, { label: '3个月', value: 'month3' }, { label: '6个月', value: 'month6' }],
};

export const AskModule = [{ label: '练习', value: 'exercise' }, { label: '模考', value: 'examination' }];

export const PaperModule = [{ label: '练习', value: 'exercise' }, { label: '模考', value: 'examination' }, { label: '长难句', value: 'sentence' }, { label: '机经', value: 'textbook' }];

export const RecordSource = [{ label: '银行转账', value: 'bank' }, { label: '微信', value: 'wechat' }, { label: '支付宝', value: 'alipay' }, { label: '实名认证', value: 'real' }, { label: '邀请好友', value: 'invite' }, { label: '备考设置', value: 'prepare' }, { label: '课程赠送', value: 'gift_course' }, { label: '活动赠送', value: 'gift_activity' }, { label: '线下报名', value: 'backend' }];

export const RecordBuySource = [{ label: '银行转账', value: 'bank' }, { label: '微信', value: 'wechat' }, { label: '支付宝', value: 'alipay' }];

export const CourseSource = [{ label: '网上报名', value: 'bank' }, { label: '网上报名', value: 'wechat' }, { label: '网上报名', value: 'alipay' }, { label: '线下报名', value: 'backend' }];

export const SwitchSelect = [{ value: 0, label: '否' }, { value: 1, label: '是' }];

export const PassSelect = [{ value: 0, label: '未认证' }, { value: 1, label: '通过' }];

export const InputSelect = [{ value: 0, label: '未填' }, { value: 1, label: '已填' }];

export const SystemSelect = [{ value: 0, label: '用户' }, { value: 1, label: '系统' }];

export const AskStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已回答' }, { value: 2, label: '忽略' }];

export const FeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已处理' }, { value: 2, label: '忽略' }, { value: 3, label: '无需修改' }];

export const FeedbackModule = [{ value: 'question', label: '题目' }, { value: 'data', label: '资料' }];

export const PrepareStatus = [{ label: '学生-Domestic', value: 'student_domestic' }, { label: '学生-Overseas', value: 'student_overseas' }, { label: '在职-Domestic', value: 'worker_domestic' }, { label: '在职-Overseas', value: 'worker_overseas' }, { label: 'Gap Year', value: 'gap_year' }];

export const PrepareExaminationTime = [{ label: '近1个月', value: 'one_month' }, { label: '近2个月', value: 'two_month' }, { label: '近3个月', value: 'three_month' }, { label: '半年内', value: 'six_month' }];

export const ProductType = [{ label: '服务', value: 'service' }, { label: '课程', value: 'course' }, { label: '资料', value: 'data' }, { label: '课程-套餐', value: 'course-package' }];

export const ProductTypeMain = [{ label: '服务', value: 'service' }, { label: '课程', value: 'course' }, { label: '资料', value: 'data' }];

export const QuestionStyleType = [{ label: '单选', value: 'single' }, { label: '横纵向单选', value: 'double' }, { label: '题目内选择', value: 'inline' }];

export const QuestionRadioDirection = [{ label: '横向', value: 'landscape' }, { label: '纵向', value: 'portrait' }];

export const SentenceOption = [{ label: '平行', value: 'parallel' }, { label: '修饰', value: 'embellish' }, { label: '转折', value: 'transition' }, { label: '比较', value: 'compare' }, { label: '因果', value: 'cause' }, { label: '递进', value: 'progressively' }];

export const ExaminationSubject = [{ long: 'Analytical Writing Analysis', value: 'awa', label: '作文', english: 'AWA', ignore: true }, { long: 'Integrated Reasoning', value: 'ir', label: '综合推理', english: 'IR' }, { long: 'Quantitative', value: 'quant', label: '数学', english: 'Quant' }, { long: 'Verbal', value: 'verbal', label: '语文', english: 'Verbal' }];

export const ExaminationOrder = [
  { label: 'ARQV', value: ['awa', 'ir', 'quant', 'verbal'], list: [{ label: 'Analytical Writing Analysis', value: 'awa' }, { label: 'Integrated Reasoning', value: 'ir' }, { label: 'Quantitative', value: 'quant' }, { label: 'Verbal', value: 'verbal' }] },
  { label: 'VQRA', value: ['verbal', 'quant', 'ir', 'awa'], list: [{ label: 'Verbal', value: 'verbal' }, { label: 'Quantitative', value: 'quant' }, { label: 'Integrated Reasoning', value: 'ir' }, { label: 'Analytical Writing Analysis', value: 'awa' }] },
  { label: 'QVRA', value: ['quant', 'verbal', 'ir', 'awa'], list: [{ label: 'Quantitative', value: 'quant' }, { label: 'Verbal', value: 'verbal' }, { label: 'Integrated Reasoning', value: 'ir' }, { label: 'Analytical Writing Analysis', value: 'awa' }] },
];

export const DataType = [{ label: '电子', value: 'electron' }, { label: '纸质', value: 'paper' }];

export const ExperienceScore = [{ label: '680+', value: '_680' }, { label: '700+', value: '_700' }, { label: '730+', value: '_730' }, { label: '750+', value: '_750' }];

export const ExperienceScoreRange = [680, 800, 10];

export const ExperienceDay = [{ label: '<=1个月', value: 'lt1month' }, { label: '1-3个月', value: 'b13month' }, { label: '>=3个月', value: 'gt3month' }];

export const ExperiencePercent = [{ label: '50+', value: '_50' }, { label: '100+', value: '_100' }, { label: '150+', value: '_150' }, { label: '200+', value: '_200' }];

export const CourseModule = [{ label: '视频课程', value: 'video' }, { label: '小班课程', value: 'online' }, { label: '1v1课程', value: 'vs' }];

export const CourseModuleShow = [{ label: '在线课程', value: 'online', courseModules: ['video', 'online'] }, { label: '1V1私教', value: 'vs', courseModules: ['vs'] }];

export const CourseVsType = [{ label: '新手辅导', value: 'novice' }, { label: '诊断辅导', value: 'coach' }, { label: '系统授课', value: 'system' }, { label: '答疑课', value: 'answer' }];

export const CourseVideoType = [{ label: '基础刷题', value: 'base' }, { label: '系统授课', value: 'system' }, { label: '思维提升', value: 'thinking' }];

export const CrowdList = [{ label: '新手', value: 'novice' }, { label: '非新手', value: 'veteran' }];

export const CourseStatus = [{ label: '未开通', value: 0 }, { label: '学习中', value: 1 }, { label: '已到期', value: 2 }];

export const InvoiceType = [{ label: '个人', value: 'personal' }, { label: '企业', value: 'enterprise' }];

export const TextbookQuality = [{ label: '残缺', value: 'incomplete' }, { label: '较完整', value: 'morecomplete' }, { label: '完整', value: 'complete' }];

export const TextbookSubject = [{ label: '数学', value: 'quant' }, { label: '阅读', value: 'rc' }, { label: '逻辑', value: 'ir' }];

export const TextbookFeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '采纳' }, { value: 2, label: '忽略' }, { value: 3, label: '无需修改' }];

export const TextbookFeedbackTarget = [{ label: '纠正', value: 'correct' }, { label: '完善', value: 'perfect' }, { label: '反馈全新', value: 'new' }];

export const ArticleChannel = [{}];

export const FaqChannel = [
  { label: 'GetReady', value: 'getready' },
  { label: '模考', value: 'examination' },
  { label: 'CAT难度适应性', value: 'cat', parent: 'examination' },
  { label: '非CAT', value: 'nocat', parent: 'examination' },
  { label: '数学机经', value: 'textbook', parent: 'textbook' },
  { label: '换库', value: 'library' },
  { label: '课堂-课程', value: 'course' },
  { label: '首页', value: 'index', parent: 'course' },
  { label: '视频首页', value: 'video_index', parent: 'course' },
  { label: '单项', value: 'video', parent: 'course' },
  { label: '套餐首页', value: 'package_index', parent: 'course' },
  { label: '1对1首页', value: 'vs_index', parent: 'course' },
  { label: '课堂-资料', value: 'course_data' },
];

export const CommentChannel = [
  { label: '网站首页', value: 'main', type: 'manual' },
  { label: '换库机经', value: 'library' },
  { label: '课堂-课程', value: 'course' },
  { label: '首页', value: 'index', parent: 'course', type: 'manual' },
  { label: '视频首页', value: 'video_index', parent: 'course', type: 'manual' },
  { label: '单项', value: 'video', parent: 'course' },
  { label: '套餐首页', value: 'package_index', parent: 'course' },
  { label: '1对1首页', value: 'vs_index', parent: 'course', type: 'manual' },
  { label: '1对1', value: 'vs', parent: 'course' },
  { label: '课堂-资料', value: 'course_data' },
];

export const MobileArea = ['+86', '+1'].map(row => {
  return { label: row, value: row };
});
// const content = {
//   steps: [{
//     title: '',
//     stem: '',
//   }],
//   questions: [{
//     description: '', // type!=inline
//     select: [],
//     direction: '', // type=double
//     first: '', // type=double
//     second: '', // type=double
//   }],
//   table: {
//     row: 3,
//     col: 3,
//     header: [],
//     data: [[], []],
//   },
//   type: '',
//   number: '',
//   typeset: 'one|two',
// };

// const answer = {
//   questions: [{
//     single: [true, false],
//     double: [[true, false], [false, true]],
//   }],
//   // aws作文内容
//   aws: '',
//   // sentence
//   subject: [[{ text: '', uuid: '' }, { text: '', uuid: '' }], [{ text: '', uuid: '' }]],
//   predicate: [],
//   object: [],
//   options: [],
// };

// 答案分布
// const answerDistributed = {
//   questions: [{
//     single: [0, 1],
//     double: [[0, 1], [11, 22]],
//   }],
// };

// 备考统计字段格式
// const PrepareStat = {
//   status: [{ key: '', value: '' }],
//   goal: [{ key: '', value: '' }],
//   examinationTime: [{ key: '', value: '' }],
//   scoreTime: [{ key: '', value: '' }],
// };

// 练习报告
// const exerciseReportDetail = {
//   pace: [{ no: '', time: '', userTime: '' }],
//   difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
//   place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
//   limit: { userNumber: '', userCorrect: '' },
//   info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
// };

// 长难句做题结果
// const sentenceQuestionDetail = {
//   subject: true,
//   predicate: true,
//   object: true,
//   options: true,
// };

// 长难句报告
// const sentenceReportDetail = {
//   ability: { score: '', struct: '', logic: '', speed: '' },
//   info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
// };

// 模考题目数:/base/examination/number返回
// const examinationNumber = { verbal: { number: '36', time: '65' }, ir: { number: '12', time: '30' }, awa: { number: '1', time: '30' }, quant: { number: '31', time: '62' } };

// 模考设置
// const examinationSetting = {
//   order: [],
//   disorder: true,
//   stage: '', // 当前阶段
//   time: { verbal: 0 }, // 每个阶段时间
//   number: { verbal: 0 }, // 每个阶段做题数
//   verbal: { steps: [{ ids: [], level: 0 }] }, // 语文出题逻辑
//   quant: { steps: [{ ids: [], level: 0 }] }, // 数学出题逻辑
//   rc: { 5: 8 }, // 随机出题时,rc题的对应序号
// };

// 模考卷子分数
// const examinationScore = {
//   totalScore: 123, totalRank:12, quantScore: 123, quantRank: 123, verbalScore: 123, verbalRank: 123, irScore: 123, irRank: 123,
// };

// 模考卷子报告
// const examinationReportDetail = {
//   subject: {
//     [key]: {
//       key: '',
//       pace: [{ no: '', time: '', userTime: '' }],
//       place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
//       difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
//       info: { questionNumber: '', time: '', userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '', avgDiffCorrect: '', avgDiffIncorrect: '' },
//     },
//   },
//   type: {
//     [key]: {
//       key: '',
//       pace: [{ no: '', time: '', userTime: '' }],
//       place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
//       difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
//       info: { questionNumber, '', time: '', userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '', avgDiffCorrect: '', avgDiffIncorrect: '' },
//     },
//   },
//   info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '' },
// };

// 每日统计

// 首页设置:
// const index = {
//   class: [{
//     title: '',
//     image: '',
//     link: '',
//   }],
//   activity: [{
//     image: '',
//     link: '',
//   }],
//   evaluation: [{
//     nickname: '',
//     avatar: '',
//     content: '',
//   }],
//   prepare: {
//     first: '',
//     continue: '',
//     classJunior: '',
//     classMiddle: '',
//     classSenior: '',
//   },
//   user: {
//     numberOffline: 0,
//     number700: 0,
//     numberScore: 0,
//   },
//   contact: {
//     phone: '',
//     email: '',
//     wechat: '',
//     wechatImage: '',
//     weiboImage: '',
//   },
// };

// service信息
// const service = {
//   price: 0,
//   title: '',
//   description: '',
//   expire_info: '',
//   refund_policy: '',
//   copyright_notes: '',
// }

// 心经配置
// const exerienceInfo = {
//   score: [],
//   percent: [],
//   period: 0,
// };