| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377 |
- export type TaskMenuDefGroup = {
- banner: string;
- list: TaskMenuDefItem[];
- }
- export type TaskMenuDefGoForm = [string, number, string|undefined, string|undefined, string|undefined, number|undefined];
- export type TaskMenuDefItem = {
- title: string;
- desc: string;
- icon: string;
- enable: string|boolean;
- name?: string;
- extra?: string;
- goForm?: {
- title: string;
- name: string;
- }|TaskMenuDefGoForm;
- onClick?: () => void;
- }
- export const TaskRootDef : TaskMenuDefItem[] = [
- {
- title: '村落概况',
- desc: '探索村落的历史渊源与发生轨迹',
- icon: 'icon-task-summary',
- enable: 'overview',
- name: 'overview',
- goForm: {
- title: '村落概况',
- name: 'overview',
- }
- },
- {
- title: '历史文化',
- desc: '传承百年文化遗产和精神财富',
- icon: 'icon-task-history',
- enable: true,
- name: 'history',
- goForm: {
- title: '历史文化',
- name: 'history',
- }
- },
- {
- title: '非物质文化遗产项目',
- desc: '维护文化多样性',
- icon: 'icon-task-custom-1',
- enable: 'ich',
- name: 'ich',
- goForm: [ 'ich', 0, undefined, undefined, '非物质文化遗产项目', undefined ],
- },
- {
- title: '环境格局',
- desc: '感受自然人文环境之美',
- icon: 'icon-task-environment',
- enable: 'environment',
- name: 'environment',
- goForm: {
- title: '环境格局',
- name: 'environment',
- }
- },
- {
- title: '传统建筑',
- desc: '领略古建筑的独特魅力',
- icon: 'icon-task-building',
- enable: true,
- name: 'building',
- goForm: {
- title: '传统建筑',
- name: 'building',
- }
- },
- {
- title: '民俗文化',
- desc: '体验民间传统习俗与节庆',
- icon: 'icon-task-custom',
- enable: 'folk_culture',
- name: 'folk_culture',
- goForm: {
- title: '民俗文化',
- name: 'custom',
- }
- },
- {
- title: '地道美食',
- desc: '正宗、传统地方特色美食',
- icon: 'icon-task-food',
- enable: 'food_product',
- name: 'food',
- goForm: {
- title: '地道美食',
- name: 'food',
- }
- },
- {
- title: '物产资源',
- desc: '特定地域的植物、矿物或工艺品',
- icon: 'icon-task-mine',
- enable: 'food_product',
- name: 'product',
- goForm: {
- title: '物产资源',
- name: 'product',
- }
- },
- {
- title: '旅游路线',
- desc: '体验独特的文化魅力',
- icon: 'icon-task-trip',
- enable: true,
- name: 'trip',
- goForm: {
- title: '旅游路线',
- name: 'trip',
- }
- }
- ]
- export const TaskMenuDef : Record<string, TaskMenuDefGroup> = {
- 'building': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_building.jpg',
- list: [
- {
- title: '建筑分布',
- desc: '村落内传统建筑分布情况',
- icon: 'icon-task-building-1',
- enable: 'distribution',
- goForm: [ 'distribution', 0, undefined, undefined, '建筑分布', undefined ],
- },
- {
- title: '文物建筑',
- desc: '历史、艺术、科学价值',
- icon: 'icon-task-building-2',
- enable: 'building',
- goForm: [ 'building', 1, 'nature', undefined, '文物建筑', undefined ],
- },
- {
- title: '历史建筑',
- desc: '重大历史事件记录',
- icon: 'icon-task-building-3',
- enable: 'building',
- goForm: [ 'building', 2, 'nature', undefined, '历史建筑', undefined ],
- },
- {
- title: '重要传统建筑',
- desc: '重要传统建筑的信息',
- icon: 'icon-task-building-4',
- enable: 'building',
- goForm: [ 'building', 3, 'nature', undefined, '重要传统建筑', undefined ],
- },
- ],
- },
- 'custom': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_custom.jpg',
- list: [
- {
- title: '节庆活动',
- desc: '欢庆与传承并重的文化盛宴',
- icon: 'icon-task-custom-2',
- enable: 'folk_culture',
- goForm: [ 'folk_culture', 1, 'folkCultureType', undefined, '节庆活动', undefined ],
- },
- {
- title: '祭祀崇礼',
- desc: '对先贤与自然的崇高致敬',
- icon: 'icon-task-custom-3',
- enable: 'folk_culture',
- goForm: [ 'folk_culture', 2, 'folkCultureType', undefined, '祭祀崇礼', undefined ],
- },
- {
- title: '婚丧嫁娶',
- desc: '生命礼赞与文化传承的双重奏鸣',
- icon: 'icon-task-custom-4',
- enable: 'folk_culture',
- goForm: [ 'folk_culture', 3, 'folkCultureType', undefined, '婚丧嫁娶', undefined ],
- },
- {
- title: '地方方言',
- desc: '历史沉淀的语言瑰宝',
- icon: 'icon-task-custom-5',
- enable: 'folk_culture',
- goForm: [ 'folk_culture', 4, 'folkCultureType', undefined, '地方方言', undefined ],
- },
- {
- title: '特色文化',
- desc: '民族精神的鲜明烙印',
- icon: 'icon-task-custom-6',
- enable: 'folk_culture',
- goForm: [ 'folk_culture', 5, 'folkCultureType', undefined, '特色文化', undefined ],
- },
- ],
- },
- 'environment': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_environment.jpg',
- list: [
- {
- title: '自然环境',
- desc: '村落建立与发展历程',
- icon: 'icon-task-environment-1',
- enable: 'environment',
- goForm: [ 'environment', 0, undefined, undefined, '自然环境', undefined ],
- },
- {
- title: '文物古迹',
- desc: '重要历史文献资料',
- icon: 'icon-task-environment-5',
- enable: 'relic',
- goForm: [ 'relic', 0, undefined, undefined, '文物古迹', undefined ],
- },
- {
- title: '历史环境要素',
- desc: '村民口述历史记录',
- icon: 'icon-task-environment-6',
- enable: 'element',
- goForm: [ 'element', 0, undefined, undefined, '历史环境要素', undefined ],
- },
- ],
- },
- 'food': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_food.jpg',
- list: [
- {
- title: '农副产品',
- desc: '乡村繁荣的多元支柱',
- icon: 'icon-task-food-1',
- enable: 'food_product',
- goForm: [ 'food_product', 1, 'productType', undefined, '农副产品', undefined ],
- },
- {
- title: '特色美食',
- desc: '给味蕾探索带来无限惊喜',
- icon: 'icon-task-food-2',
- enable: 'food_product',
- goForm: [ 'food_product', 3, 'productType', undefined, '特色美食', undefined ],
- },
- ],
- },
- 'history': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_history.jpg',
- list: [
- {
- title: '建村历史',
- desc: '村落建立与发展历程',
- icon: 'icon-task-history-1',
- enable: 'cultural',
- goForm: [ 'cultural', 1, 'culturalType', undefined, '建村历史', undefined ],
- },
- {
- title: '历史人物',
- desc: '重要历史人物事迹',
- icon: 'icon-task-history-2',
- enable: 'cultural',
- goForm: [ 'figure', 0, undefined, undefined, '历史人物', undefined ],
- },
- {
- title: '历史事件',
- desc: '重大历史事件记录',
- icon: 'icon-task-history-3',
- enable: 'cultural',
- goForm: [ 'cultural', 2, 'culturalType', undefined, '历史事件', undefined ],
- },
- {
- title: '掌故轶事',
- desc: '民间传说与历史故事',
- icon: 'icon-task-history-4',
- enable: 'story',
- goForm: [ 'story', 0, undefined, undefined, '掌故轶事', undefined ],
- },
- {
- title: '历史文献',
- desc: '重要历史文献资料',
- icon: 'icon-task-history-5',
- enable: 'cultural',
- goForm: [ 'cultural', 3, 'culturalType', undefined, '历史文献', undefined ],
- },
- {
- title: '口述历史',
- desc: '村民口述历史记录',
- icon: 'icon-task-history-6',
- enable: 'cultural',
- goForm: [ 'cultural', 4, 'culturalType', undefined, '口述历史', undefined ],
- },
- {
- title: '口述人管理',
- desc: '口述人管理登记',
- icon: 'icon-task-history-1',
- enable: 'cultural',
- goForm: [ 'speaker', 1, undefined, undefined, '口述人管理', undefined ],
- },
- ],
- },
- 'product': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_mine.jpg',
- list: [
- {
- title: '商业集市',
- desc: '文化交流的开放窗口',
- icon: 'icon-task-mine-1',
- enable: 'food_product',
- goForm: [ 'food_product', 4, 'productType', undefined, '商业集市', undefined ],
- },
- {
- title: '服装服饰',
- desc: '艺术与功能交织的时尚篇章',
- icon: 'icon-task-mine-2',
- enable: 'food_product',
- goForm: [ 'food_product', 5, 'productType', undefined, '服装服饰', undefined ],
- },
- {
- title: '运输工具',
- desc: '历史的运输工具',
- icon: 'icon-task-mine-2',
- enable: 'food_product',
- goForm: [ 'food_product', 6, 'productType', undefined, '运输工具', undefined ],
- },
- ],
- },
- 'overview': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_summary.jpg',
- list: [
- {
- title: '行政区划',
- desc: '村落行政区域划分及变迁',
- icon: 'icon-task-summary-1',
- enable: 'overview',
- goForm: [ 'overview', 1, undefined, 'common', '行政区划', undefined ],
- },
- {
- title: '村落综述',
- desc: '村落整体概况介绍',
- icon: 'icon-task-summary-5',
- enable: 'overview',
- goForm: [ 'overview', 5, undefined, 'common', '村落综述', undefined ],
- },
- {
- title: '地理信息',
- desc: '地理位置和自然环境特征',
- icon: 'icon-task-summary-2',
- enable: 'overview',
- goForm: [ 'overview', 2, undefined, 'common', '地理信息', undefined ],
- },
- {
- title: '建设与保护',
- desc: '村落发展与文化遗产保护',
- icon: 'icon-task-summary-3',
- enable: 'overview',
- goForm: [ 'overview', 3, undefined, 'common', '建设与保护', undefined ],
- },
- {
- title: '人口与经济',
- desc: '人口与经济情况',
- icon: 'icon-task-summary-4',
- enable: 'overview',
- goForm: [ 'overview', 4, undefined, 'common', '人口与经济', undefined ],
- },
- ],
- },
- 'trip': {
- banner: 'https://mn.wenlvti.net/app_static/xiangan/banner_dig_trip.jpg',
- list: [
- {
- title: '旅游导览',
- desc: '',
- icon: 'icon-task-trip-3',
- enable: 'travel_guide',
- goForm: [ 'travel_guide', 0, undefined, undefined, '旅游导览', undefined ],
- },
- {
- title: '旅游路线',
- desc: '',
- icon: 'icon-task-trip-1',
- enable: 'route',
- goForm: [ 'route', 0, undefined, undefined, '旅游路线', undefined ],
- },
- ],
- },
- }
|