Constant.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. import moment from 'moment-timezone';
  2. moment.tz.setDefault('Asia/Shanghai');
  3. export const PcUrl = __PcUrl__;
  4. export const WechatPcAppId = __WechatPcAppId__;
  5. export const H5Url = __H5Url__;
  6. export const WechatH5AppId = __WechatH5AppId__;
  7. export const QrCodeAssets = __AssetsQrCode__;
  8. export const QuestionDifficult = [{ label: 'Easy', value: 'easy', sort: 2 }, { label: 'Medium', value: 'medium', sort: 1 }, { label: 'Hard', value: 'hard', sort: 0 }];
  9. 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' }];
  10. export const SubjectType = [{ label: '语文', value: 'verbal', long: 'Verbal' }, { label: '数学', value: 'quant', long: 'Quantitative' }, { label: '综合推理IR', value: 'ir', long: 'Integrated Reasoning' }, { label: '作文AWA', value: 'awa', long: 'Analytical Writing Assessment' }];
  11. 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' }];
  12. 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' }];
  13. export const TextbookType = [{ label: '数学PS', value: 'ps' }, { label: '数学DS', value: 'ds' }];
  14. 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 }];
  15. 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' }];
  16. export const ServiceKey = [{ label: 'VIP', value: 'vip' }, { label: '机经', value: 'textbook', expireDays: 180, useExpireDays: 30 }, { label: '千行CAT', value: 'qx_cat', expireDays: 180, useExpireDays: 180 }];
  17. export const ServiceParamMap = {
  18. vip: [{ label: '30天', value: 'month1', expireDays: 0, useExpireDays: 30 }, { label: '90天', value: 'month3', expireDays: 0, useExpireDays: 90 }, { label: '180天', value: 'month6', expireDays: 0, useExpireDays: 180 }],
  19. };
  20. export const AskModule = [{ label: '练习', value: 'exercise' }, { label: '模考', value: 'examination' }];
  21. export const PaperModule = [{ label: '练习', value: 'exercise' }, { label: '模考', value: 'examination' }, { label: '长难句', value: 'sentence' }, { label: '机经', value: 'textbook' }];
  22. 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: 'gift_action' }, { label: '线下报名', value: 'backend' }];
  23. export const RecordBuySource = [{ label: '银行转账', value: 'bank' }, { label: '微信', value: 'wechat' }, { label: '支付宝', value: 'alipay' }];
  24. export const CourseSource = [{ label: '网上报名', value: 'bank' }, { label: '网上报名', value: 'wechat' }, { label: '网上报名', value: 'alipay' }, { label: '线下报名', value: 'backend' }];
  25. export const SwitchSelect = [{ value: 0, label: '否' }, { value: 1, label: '是' }];
  26. export const PassSelect = [{ value: 0, label: '未认证' }, { value: 1, label: '通过' }];
  27. export const InputSelect = [{ value: 0, label: '未填' }, { value: 1, label: '已填' }];
  28. export const SystemSelect = [{ value: 0, label: '用户' }, { value: 1, label: '系统' }];
  29. export const AnswerStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已回答' }, { value: 2, label: '忽略' }];
  30. export const FeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '已处理' }, { value: 2, label: '忽略' }, { value: 3, label: '无需修改' }];
  31. export const FeedbackModule = [{ value: 'question', label: '题目' }, { value: 'data', label: '资料' }];
  32. export const PrepareStatus = [
  33. { label: '学生-Domestic', value: 'student_domestic', short: '学生-D' },
  34. { label: '学生-Overseas', value: 'student_overseas', short: '学生-O' },
  35. { label: '在职-Domestic', value: 'worker_domestic', short: '在职-D' },
  36. { label: '在职-Overseas', value: 'worker_overseas', short: '在职-O' },
  37. { label: 'Gap Year', value: 'gap_year', short: 'Gap Year' },
  38. ];
  39. export const PrepareExaminationTime = [{ label: '近1个月', value: 'one_month' }, { label: '近2个月', value: 'two_month' }, { label: '近3个月', value: 'three_month' }, { label: '半年内', value: 'six_month' }];
  40. export const PrepareScoreTime = [{ label: '近1个月', value: 'one_month' }, { label: '近2个月', value: 'two_month' }, { label: '近3个月', value: 'three_month' }, { label: '半年内', value: 'six_month' }, { label: '1年内', value: 'one_year' }, { label: '不清楚', value: 'other' }];
  41. export const ProductType = [{ label: '服务', value: 'service' }, { label: '课程', value: 'course' }, { label: '资料', value: 'data' }, { label: '课程-套餐', value: 'course-package' }];
  42. export const ProductTypeMain = [{ label: '服务', value: 'service' }, { label: '课程', value: 'course' }, { label: '资料', value: 'data' }];
  43. export const QuestionStyleType = [{ label: '单选', value: 'single' }, { label: '横纵向单选', value: 'double' }, { label: '题目内选择', value: 'inline' }];
  44. export const QuestionRadioDirection = [{ label: '横向', value: 'landscape' }, { label: '纵向', value: 'portrait' }];
  45. export const SentenceOption = [{ label: '平行', value: 'parallel' }, { label: '修饰', value: 'embellish' }, { label: '转折', value: 'transition' }, { label: '比较', value: 'compare' }, { label: '因果', value: 'cause' }, { label: '递进', value: 'progressively' }];
  46. 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' }];
  47. export const ExaminationOrder = [
  48. { 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' }] },
  49. { 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' }] },
  50. { 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' }] },
  51. ];
  52. export const DataType = [{ label: '电子', value: 'electron' }, { label: '纸质', value: 'paper' }];
  53. export const ExperienceScore = [{ label: '680+', value: '_680' }, { label: '700+', value: '_700' }, { label: '730+', value: '_730' }, { label: '750+', value: '_750' }];
  54. export const ExperienceScoreRange = [680, 800, 10];
  55. export const ExperienceDay = [{ label: '<=1个月', value: 'lt1month' }, { label: '1-3个月', value: 'b13month' }, { label: '>=3个月', value: 'gt3month' }];
  56. export const ExperiencePercent = [{ label: '50+', value: '_50' }, { label: '100+', value: '_100' }, { label: '150+', value: '_150' }, { label: '200+', value: '_200' }];
  57. export const CourseModule = [{ label: '视频课程', value: 'video', hasPreview: true }, { label: '小班课程', value: 'online', hasPreview: false }, { label: '1v1课程', value: 'vs', hasPreview: true }];
  58. export const CourseModuleShow = [{ label: '在线课程', value: 'online', courseModules: ['video', 'online'] }, { label: '1V1私教', value: 'vs', courseModules: ['vs'] }];
  59. export const CourseVsType = [{ label: '新手辅导', value: 'novice', tips: '适合未参加过实战的考生', icon: 'xinshoufudao' }, { label: '诊断辅导', value: 'coach', tips: '适合参加过实战的考生', icon: 'zhenduanfudao' }, { label: '系统授课', value: 'system', icon: 'xitongshouke' }, { label: '答疑课', value: 'answer', icon: 'dayi' }];
  60. export const CourseVideoType = [{ label: '基础刷题', value: 'base' }, { label: '系统授课', value: 'system' }, { label: '思维提升', value: 'thinking' }];
  61. export const CrowdList = [{ label: '新手', value: 'novice' }, { label: '非新手', value: 'veteran' }];
  62. export const CourseStatus = [{ label: '未开通', value: 0 }, { label: '学习中', value: 1 }, { label: '已到期', value: 2 }];
  63. export const InvoiceType = [{ label: '个人', value: 'personal' }, { label: '公司', value: 'enterprise' }];
  64. export const TextbookQuality = [{ label: '残缺', value: 'incomplete' }, { label: '较完整', value: 'morecomplete' }, { label: '完整', value: 'complete' }];
  65. export const TextbookSubject = [{ label: '数学', value: 'quant' }, { label: '阅读', value: 'rc' }, { label: '逻辑', value: 'ir' }];
  66. export const TextbookFeedbackStatus = [{ value: 0, label: '新增' }, { value: 1, label: '采纳' }, { value: 2, label: '忽略' }, { value: 3, label: '无需修改' }];
  67. export const TextbookFeedbackTarget = [{ label: '纠正解析', value: 'correct', tip: '正确的解析和答案是' }, { label: '完善已有机经', value: 'perfect', tip: '补充内容是' }, { label: '提供全新机经', value: 'new', tip: '新机经是' }];
  68. export const ContractKey = [{ label: '注册', value: 'register' }, { label: '课程购买', value: 'course' }, { label: '隐私协议', value: 'privacy' }, { label: '法律申明', value: 'legal' }];
  69. export const RoomPosition = [{ label: '北部', value: 'north' }, { label: '东部', value: 'east' }, { label: '中南', value: 'south_central' }, { label: '西部', value: 'west' }, { label: '海外', value: 'overseas' }];
  70. export const MessageCategory = [
  71. { label: '注册消息', value: 'register', params: ['mobile'] },
  72. { label: '登录异常', value: 'login_abnormal', params: ['nickname', 'ip', 'city'] },
  73. { label: '机经更新', value: 'textbook_update', params: [''] },
  74. { label: '预习作业提醒', value: 'preview_notice', params: ['courseTitle', 'title'] },
  75. { label: '支付成功提醒', value: 'payed', params: ['money'] },
  76. { label: '资料更新', value: 'data_update', params: ['title', 'time'] },
  77. { label: '题目提问回复', value: 'ask_question', params: ['content', 'time', 'status'] },
  78. { label: '课程提问回复', value: 'ask_course', params: ['content', 'time', 'status'] },
  79. { label: '咨询回复', value: 'faq_callback', params: ['content', 'answer', 'channel'] },
  80. { label: '纠错回复', value: 'feedback_callback', params: ['content', 'object', 'correct', 'status'] },
  81. { label: '邀请好友注册', value: 'invited', params: ['code', 'nickname', 'url'] },
  82. { label: '邮箱变更', value: 'email_change', params: ['nickname', 'email'] },
  83. { label: '自定义消息', value: 'custom', params: ['nickname'] },
  84. ];
  85. export const MessageEmailStatus = [
  86. { label: '已停止', value: 0 },
  87. { label: '运行中', value: 1 },
  88. ];
  89. export const MessageCustomStatus = [
  90. { label: '未发送', value: 0 },
  91. { label: '发送中', value: 1 },
  92. { label: '发送完', value: 2 },
  93. ];
  94. export const MessageType = [
  95. { label: '系统消息', value: 'system' },
  96. { label: '动态消息', value: 'feed' },
  97. ];
  98. export const FaqChannel = [
  99. { label: 'GetReady', value: 'getready' },
  100. { label: '练习', value: 'exercise' },
  101. { label: '预习作业', value: 'preview', parent: 'exercise' },
  102. { label: '长难句', value: 'sentence', parent: 'exercise' },
  103. { label: '模考', value: 'examination' },
  104. { label: 'CAT难度适应性', value: 'cat', parent: 'examination' },
  105. { label: '非CAT', value: 'base', parent: 'examination' },
  106. { label: '数学机经', value: 'textbook' },
  107. { label: '换库', value: 'library' },
  108. { label: '换库知识', value: 'baselibrary', parent: 'library' },
  109. { label: '机经知识', value: 'basetextbook', parent: 'library' },
  110. { label: '千行机经', value: 'qxtextbook', parent: 'library' },
  111. { label: '课堂-课程', value: 'course' },
  112. { label: '首页', value: 'index', parent: 'course' },
  113. { label: '视频首页', value: 'video_index', parent: 'course' },
  114. { label: '单项', value: 'video', parent: 'course' },
  115. { label: '套餐首页', value: 'package_index', parent: 'course' },
  116. { label: '1对1首页', value: 'vs_index', parent: 'course' },
  117. { label: '课堂-资料', value: 'course_data' },
  118. ];
  119. export const CommentChannel = [
  120. // { label: '网站首页', value: 'main', type: 'manual' },
  121. { label: '换库机经', value: 'library' },
  122. { label: '课堂-课程', value: 'course' },
  123. { label: '首页', value: 'index', parent: 'course', type: 'manual' },
  124. { label: '视频首页', value: 'video_index', parent: 'course', type: 'manual' },
  125. { label: '单项', value: 'video', parent: 'course' },
  126. { label: '套餐首页', value: 'package_index', parent: 'course' },
  127. { label: '1对1首页', value: 'vs_index', parent: 'course', type: 'manual' },
  128. { label: '1对1', value: 'vs', parent: 'course' },
  129. { label: '课堂-资料', value: 'course_data' },
  130. ];
  131. export const AdChannel = [
  132. { label: '个人中心', value: 'my' },
  133. { label: '我的', value: 'self', parent: 'my' },
  134. // { label: '课程', value: 'course' },
  135. // { label: '首页', value: 'index', parent: 'course' },
  136. ];
  137. export const AdPlace = [
  138. { label: '右1', value: '1', parent: 'my-self' },
  139. { label: '右2', value: '2', parent: 'my-self' },
  140. { label: '右3', value: '3', parent: 'my-self' },
  141. // { label: '顶部', value: 'top', parent: 'course-index' },
  142. ];
  143. export const OrderInfoMap = {
  144. service: {
  145. qx_cat: {
  146. label: '千行-CAT模考(6套)',
  147. description: '共包含6套CAT模考,在有效期内可重置一次,每套模考可做两次。',
  148. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  149. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  150. result: '您已成功购买“千行-CAT模考”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。',
  151. tips: '您可至“个人中心- 工具”开通。',
  152. },
  153. vip: {
  154. label: 'VIP',
  155. description: '自由组卷、加强版报告、导出笔记、专享解析、换库提醒等权益。',
  156. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  157. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  158. result: '您已成功购买“VIP({useExpireDays}天)”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。\nVIP有效期至:{endTime}',
  159. tips: '您可至“个人中心- 工具”开通。',
  160. },
  161. textbook: {
  162. label: '千行机经',
  163. description: '数学机经+阅读机经+逻辑机经,可在线查阅、在线练习或下载至本地,同时自动更新至预留邮箱。',
  164. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  165. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  166. result: '您已成功购买“机经”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。',
  167. tips: '您可至“个人中心-工具”开通。',
  168. },
  169. },
  170. data: {
  171. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  172. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  173. result: '您已成功购买“{title}”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。',
  174. tips: '您可至“个人中心-工具”开通。',
  175. },
  176. course: {
  177. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  178. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  179. result: '您已成功购买“{title}”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。',
  180. tips: '您可至“个人中心-课程”进行开通。',
  181. },
  182. course_package: {
  183. refund_policy: '本商品为虚拟产品,购买成功后不支持退款。',
  184. copyright_notes: '本商品仅限购买者本人使用,不可商用和传播。',
  185. result: '您已成功购买“{title}”服务,\n确认邮件已发送至您的邮箱:{email},请注意查收。',
  186. tips: '您可至“个人中心-课程”进行开通。',
  187. },
  188. };
  189. export const TimeRange = [{ title: '今天', key: 'today' }, { title: '近一周', key: 'week' }, { title: '近一个月', key: 'month' }, { title: '近三个月', key: 'month3' }, { title: '全部', key: 'all' }];
  190. export const TextbookMinYear = 2018;
  191. export const MobileArea = ['+86', '+1'].map(row => {
  192. return { label: row, value: row };
  193. });
  194. // const content = {
  195. // steps: [{
  196. // title: '',
  197. // stem: '',
  198. // }],
  199. // questions: [{
  200. // description: '', // type!=inline
  201. // select: [],
  202. // direction: '', // type=double
  203. // first: '', // type=double
  204. // second: '', // type=double
  205. // }],
  206. // table: {
  207. // row: 3,
  208. // col: 3,
  209. // header: [],
  210. // data: [[], []],
  211. // },
  212. // type: '',
  213. // number: '',
  214. // typeset: 'one|two',
  215. // };
  216. // const answer = {
  217. // questions: [{
  218. // single: [true, false],
  219. // double: [[true, false], [false, true]],
  220. // }],
  221. // // aws作文内容
  222. // aws: '',
  223. // // sentence
  224. // subject: [[{ text: '', uuid: '' }, { text: '', uuid: '' }], [{ text: '', uuid: '' }]],
  225. // predicate: [],
  226. // object: [],
  227. // options: [],
  228. // };
  229. // 答案分布
  230. // const answerDistributed = {
  231. // questions: [{
  232. // single: [0, 1],
  233. // double: [[0, 1], [11, 22]],
  234. // }],
  235. // };
  236. // 备考统计字段格式
  237. // const PrepareStat = {
  238. // status: [{ key: '', value: '' }],
  239. // goal: [{ key: '', value: '' }],
  240. // examinationTime: [{ key: '', value: '' }],
  241. // scoreTime: [{ key: '', value: '' }],
  242. // };
  243. // 练习报告
  244. // const exerciseReportDetail = {
  245. // pace: [{ no: '', time: '', userTime: '' }],
  246. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  247. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  248. // limit: { userNumber: '', userCorrect: '' },
  249. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  250. // };
  251. // 长难句做题结果
  252. // const sentenceQuestionDetail = {
  253. // subject: true,
  254. // predicate: true,
  255. // object: true,
  256. // options: true,
  257. // };
  258. // 长难句报告
  259. // const sentenceReportDetail = {
  260. // ability: { score: '', struct: '', logic: '', speed: '' },
  261. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '', totalTime: '', correctTime: '', incorrectTime: '' },
  262. // };
  263. // 模考题目数:/base/examination/number返回
  264. // const examinationNumber = { verbal: { number: '36', time: '65' }, ir: { number: '12', time: '30' }, awa: { number: '1', time: '30' }, quant: { number: '31', time: '62' } };
  265. // 模考设置
  266. // const examinationSetting = {
  267. // order: [],
  268. // disorder: true,
  269. // stage: '', // 当前阶段
  270. // time: { verbal: 0 }, // 每个阶段时间
  271. // number: { verbal: 0 }, // 每个阶段做题数
  272. // verbal: { steps: [{ ids: [], level: 0 }] }, // 语文出题逻辑
  273. // quant: { steps: [{ ids: [], level: 0 }] }, // 数学出题逻辑
  274. // rc: { 5: 8 }, // 随机出题时,rc题的对应序号
  275. // };
  276. // 模考卷子分数
  277. // const examinationScore = {
  278. // totalScore: 123, totalRank:12, quantScore: 123, quantRank: 123, verbalScore: 123, verbalRank: 123, irScore: 123, irRank: 123,
  279. // };
  280. // 模考卷子报告
  281. // const examinationReportDetail = {
  282. // subject: {
  283. // [key]: {
  284. // key: '',
  285. // pace: [{ no: '', time: '', userTime: '' }],
  286. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  287. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  288. // info: { questionNumber: '', time: '', userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '', avgDiffCorrect: '', avgDiffIncorrect: '' },
  289. // },
  290. // },
  291. // type: {
  292. // [key]: {
  293. // key: '',
  294. // pace: [{ no: '', time: '', userTime: '' }],
  295. // place: [{ key: '', userNumber: '', userCorrect: '', userTime: '' }],
  296. // difficult: [{ key: '', userNumber: '', userCorrect: '', totalNumber: '', totalCorrect: '' }],
  297. // info: { questionNumber, '', time: '', userNumber: '', userTime: '', userCorrect: '', correctTime: '', incorrectTime: '', avgDiffCorrect: '', avgDiffIncorrect: '' },
  298. // },
  299. // },
  300. // info: { times: '', finishTime: '', userTime: '', time: '', questionNumber: '', userNumber: '', userCorrect: '' },
  301. // };
  302. // 每日统计
  303. // 首页设置:
  304. // const index = {
  305. // class: [{
  306. // title: '',
  307. // image: '',
  308. // link: '',
  309. // }],
  310. // activity: [{
  311. // image: '',
  312. // link: '',
  313. // }],
  314. // evaluation: [{
  315. // nickname: '',
  316. // avatar: '',
  317. // content: '',
  318. // }],
  319. // prepare: {
  320. // first: '',
  321. // continue: '',
  322. // classJunior: '',
  323. // classMiddle: '',
  324. // classSenior: '',
  325. // },
  326. // user: {
  327. // numberOffline: 0,
  328. // number700: 0,
  329. // numberScore: 0,
  330. // },
  331. // contact: {
  332. // phone: '',
  333. // email: '',
  334. // wechat: '',
  335. // wechatImage: '',
  336. // weiboImage: '',
  337. // },
  338. // };
  339. // service信息
  340. // const service = {
  341. // price: 0,
  342. // title: '',
  343. // description: '',
  344. // expire_info: '',
  345. // refund_policy: '',
  346. // copyright_notes: '',
  347. // }
  348. // 心经配置
  349. // const exerienceInfo = {
  350. // score: [],
  351. // percent: [],
  352. // period: 0,
  353. // };