const mapDeviceStyle = { '01': 'chengdu_01', // '01': 'xian_02' '02': 'fuzhou_01', '03': 'bejing_01', '04': 'chengdu_03', '06': 'ningbo_01', '07': 'haerbin_01', '08': 'foshan_01' }; export function selectLineCode(code) { return Object.assign({}, require(`./skinCode/${mapDeviceStyle[code || '02']}`).default); }