|
|
@@ -13,6 +13,7 @@ export type IconItem = {
|
|
|
stroke?: string;
|
|
|
type?: LineIconData["type"];
|
|
|
height?: number;
|
|
|
+ fixedScale?: boolean
|
|
|
width?: number;
|
|
|
};
|
|
|
};
|
|
|
@@ -24,318 +25,515 @@ export type IconGroup = {
|
|
|
}[];
|
|
|
};
|
|
|
|
|
|
-// 辅助函数:快速获取项的国际化名称
|
|
|
-const getIT = (icon: string) => ui18n.t(`icons.items.${icon}`);
|
|
|
-// 辅助函数:快速获取组的国际化名称
|
|
|
-const getGT = (key: string) => ui18n.t(`icons.groups.${key}`);
|
|
|
-
|
|
|
const traceIcons: IconItem[] = [
|
|
|
- { icon: "zhiwen_o", name: getIT("zhiwen_o") },
|
|
|
- { icon: "zuozuji_o", name: getIT("zuozuji_o") },
|
|
|
- { icon: "youzuji_o", name: getIT("youzuji_o") },
|
|
|
- { icon: "xieyin_o", name: getIT("xieyin_o") },
|
|
|
- { icon: "chelunhenji_o", name: getIT("chelunhenji_o") },
|
|
|
- { icon: "dantou_o", name: getIT("dantou_o") },
|
|
|
- { icon: "danke_o", name: getIT("danke_o") },
|
|
|
- { icon: "shouqiang_o", name: getIT("shouqiang_o") },
|
|
|
- { icon: "buqiang_o", name: getIT("buqiang_o") },
|
|
|
+ { icon: "zhiwen_o", name: ui18n.t("icons.items.zhiwen_o") },
|
|
|
+ { icon: "zuozuji_o", name: ui18n.t("icons.items.zuozuji_o") },
|
|
|
+ { icon: "youzuji_o", name: ui18n.t("icons.items.youzuji_o") },
|
|
|
+ { icon: "xieyin_o", name: ui18n.t("icons.items.xieyin_o") },
|
|
|
+ { icon: "chelunhenji_o", name: ui18n.t("icons.items.chelunhenji_o") },
|
|
|
+ { icon: "dantou_o", name: ui18n.t("icons.items.dantou_o") },
|
|
|
+ { icon: "danke_o", name: ui18n.t("icons.items.danke_o") },
|
|
|
+ { icon: "shouqiang_o", name: ui18n.t("icons.items.shouqiang_o") },
|
|
|
+ { icon: "buqiang_o", name: ui18n.t("icons.items.buqiang_o") },
|
|
|
{
|
|
|
icon: "xuepo_o",
|
|
|
- name: getIT("xuepo_o"),
|
|
|
+ name: ui18n.t("icons.items.xuepo_o"),
|
|
|
color: "#DD2C2C",
|
|
|
parse: { fill: "#DD2C2C", stroke: undefined },
|
|
|
},
|
|
|
{
|
|
|
icon: "xueji_o",
|
|
|
- name: getIT("xueji_o"),
|
|
|
+ name: ui18n.t("icons.items.xueji_o"),
|
|
|
color: "#DD2C2C",
|
|
|
parse: { fill: "#DD2C2C", stroke: undefined },
|
|
|
},
|
|
|
- { parse: { key: "trace" }, icon: "shitiz_o", name: getIT("shitiz_o") },
|
|
|
- { parse: { key: "trace" }, icon: "shitib_o", name: getIT("shitib_o") },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "shitiz_o",
|
|
|
+ name: ui18n.t("icons.items.shitiz_o"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "shitib_o",
|
|
|
+ name: ui18n.t("icons.items.shitib_o"),
|
|
|
+ },
|
|
|
{
|
|
|
parse: { key: "trace" },
|
|
|
icon: "shitifuhao_o",
|
|
|
- name: getIT("shitifuhao_o"),
|
|
|
+ name: ui18n.t("icons.items.shitifuhao_o"),
|
|
|
},
|
|
|
|
|
|
- { parse: { key: "trace" }, icon: "handprint", name: getIT("handprint") },
|
|
|
- { parse: { key: "trace" }, icon: "footprint", name: getIT("footprint") },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "handprint",
|
|
|
+ name: ui18n.t("icons.items.handprint"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "footprint",
|
|
|
+ name: ui18n.t("icons.items.footprint"),
|
|
|
+ },
|
|
|
{
|
|
|
parse: { key: "trace" },
|
|
|
icon: "wrenchAndScrewdriver",
|
|
|
- name: getIT("wrenchAndScrewdriver"),
|
|
|
+ name: ui18n.t("icons.items.wrenchAndScrewdriver"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "video",
|
|
|
+ name: ui18n.t("icons.items.video"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "virus",
|
|
|
+ name: ui18n.t("icons.items.virus"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "cartridge",
|
|
|
+ name: ui18n.t("icons.items.cartridge"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "poison",
|
|
|
+ name: ui18n.t("icons.items.poison"),
|
|
|
},
|
|
|
- { parse: { key: "trace" }, icon: "video", name: getIT("video") },
|
|
|
- { parse: { key: "trace" }, icon: "virus", name: getIT("virus") },
|
|
|
- { parse: { key: "trace" }, icon: "cartridge", name: getIT("cartridge") },
|
|
|
- { parse: { key: "trace" }, icon: "poison", name: getIT("poison") },
|
|
|
{
|
|
|
parse: { key: "trace" },
|
|
|
icon: "physics_and_chemistry",
|
|
|
- name: getIT("physics_and_chemistry"),
|
|
|
+ name: ui18n.t("icons.items.physics_and_chemistry"),
|
|
|
},
|
|
|
{
|
|
|
parse: { key: "trace" },
|
|
|
icon: "folder_close",
|
|
|
- name: getIT("folder_close"),
|
|
|
+ name: ui18n.t("icons.items.folder_close"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "check",
|
|
|
+ name: ui18n.t("icons.items.check"),
|
|
|
},
|
|
|
- { parse: { key: "trace" }, icon: "check", name: getIT("check") },
|
|
|
{
|
|
|
parse: { key: "trace" },
|
|
|
icon: "case_other",
|
|
|
- name: getIT("case_other"),
|
|
|
+ name: ui18n.t("icons.items.case_other"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "electronic",
|
|
|
+ name: ui18n.t("icons.items.electronic"),
|
|
|
+ },
|
|
|
+ { parse: { key: "trace" }, icon: "cube", name: ui18n.t("icons.items.cube") },
|
|
|
+ {
|
|
|
+ parse: { key: "trace" },
|
|
|
+ icon: "corpse",
|
|
|
+ name: ui18n.t("icons.items.corpse"),
|
|
|
},
|
|
|
- { parse: { key: "trace" }, icon: "electronic", name: getIT("electronic") },
|
|
|
- { parse: { key: "trace" }, icon: "cube", name: getIT("cube") },
|
|
|
- { parse: { key: "trace" }, icon: "corpse", name: getIT("corpse") },
|
|
|
];
|
|
|
|
|
|
+traceIcons.forEach(item => item.parse = {...item.parse, width: 40, height: 40, fixedScale: false, key: "trace"})
|
|
|
+
|
|
|
export const iconGroups: IconGroup[] = [
|
|
|
{
|
|
|
- name: getGT("huxing"),
|
|
|
+ name: ui18n.t("icons.groups.huxing"),
|
|
|
children: [
|
|
|
{
|
|
|
- name: getGT("men"),
|
|
|
+ name: ui18n.t("icons.groups.men"),
|
|
|
children: [
|
|
|
+
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "MotherDoor",
|
|
|
- name: getIT("MotherDoor"),
|
|
|
+ icon: "men_l",
|
|
|
+ name: ui18n.t("icons.items.men_l"),
|
|
|
parse: { type: "align-bottom" },
|
|
|
},
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "PullGate",
|
|
|
- name: getIT("PullGate"),
|
|
|
- parse: { type: "full" },
|
|
|
+ icon: "shuangkaimen",
|
|
|
+ name: ui18n.t("icons.items.shuangkaimen"),
|
|
|
+ parse: { type: "align-bottom" },
|
|
|
},
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "RollerShutter",
|
|
|
- name: getIT("RollerShutter"),
|
|
|
+ icon: "yimen",
|
|
|
+ name: ui18n.t("icons.items.yimen"),
|
|
|
parse: { type: "full" },
|
|
|
},
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "RevolutionDoor",
|
|
|
- name: getIT("RevolutionDoor"),
|
|
|
- parse: { type: "align-bottom" },
|
|
|
+ icon: "yakou",
|
|
|
+ name: ui18n.t("icons.items.yakou"),
|
|
|
+ parse: { type: "full" },
|
|
|
},
|
|
|
{
|
|
|
+ type: "realScale",
|
|
|
wall: true,
|
|
|
- icon: "DoorWindow",
|
|
|
- name: getIT("DoorWindow"),
|
|
|
+ icon: "MotherDoor",
|
|
|
+ name: ui18n.t("icons.items.MotherDoor"),
|
|
|
parse: { type: "align-bottom" },
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
+ type: "realScale",
|
|
|
wall: true,
|
|
|
- icon: "men_l",
|
|
|
- name: getIT("men_l"),
|
|
|
- parse: { type: "align-bottom" },
|
|
|
+ icon: "PullGate",
|
|
|
+ name: ui18n.t("icons.items.PullGate"),
|
|
|
+ parse: { type: "full" },
|
|
|
},
|
|
|
{
|
|
|
+ type: "realScale",
|
|
|
wall: true,
|
|
|
- icon: "shuangkaimen",
|
|
|
- name: getIT("shuangkaimen"),
|
|
|
- parse: { type: "align-bottom" },
|
|
|
+ icon: "RollerShutter",
|
|
|
+ name: ui18n.t("icons.items.RollerShutter"),
|
|
|
+ parse: { type: "full" },
|
|
|
},
|
|
|
{
|
|
|
+ type: "realScale",
|
|
|
wall: true,
|
|
|
- icon: "yimen",
|
|
|
- name: getIT("yimen"),
|
|
|
- parse: { type: "full" },
|
|
|
+ icon: "RevolutionDoor",
|
|
|
+ name: ui18n.t("icons.items.RevolutionDoor"),
|
|
|
+ parse: { type: "align-bottom" },
|
|
|
},
|
|
|
{
|
|
|
+ type: "realScale",
|
|
|
wall: true,
|
|
|
- icon: "yakou",
|
|
|
- name: getIT("yakou"),
|
|
|
- parse: { type: "full" },
|
|
|
+ icon: "DoorWindow",
|
|
|
+ name: ui18n.t("icons.items.DoorWindow"),
|
|
|
+ parse: { type: "align-bottom" },
|
|
|
},
|
|
|
+
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("chuang"),
|
|
|
+ name: ui18n.t("icons.groups.chuang"),
|
|
|
children: [
|
|
|
+
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "SlidingWindow",
|
|
|
- name: getIT("SlidingWindow"),
|
|
|
+ icon: "chuang",
|
|
|
+ name: ui18n.t("icons.items.chuang"),
|
|
|
parse: { type: "full" },
|
|
|
},
|
|
|
-
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "SingleBayWindow",
|
|
|
- name: getIT("SingleBayWindow"),
|
|
|
+ icon: "piaochuang",
|
|
|
+ name: ui18n.t("icons.items.piaochuang"),
|
|
|
parse: { type: "align-bottom-fix", width: 180, height: 70 },
|
|
|
},
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "chuang",
|
|
|
- name: getIT("chuang"),
|
|
|
+ icon: "luodichuang",
|
|
|
+ name: ui18n.t("icons.items.luodichuang"),
|
|
|
parse: { type: "full" },
|
|
|
},
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "piaochuang",
|
|
|
- name: getIT("piaochuang"),
|
|
|
- parse: { type: "align-bottom-fix", width: 180, height: 70 },
|
|
|
+ icon: "SlidingWindow",
|
|
|
+ name: ui18n.t("icons.items.SlidingWindow"),
|
|
|
+ parse: { type: "full" },
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
wall: true,
|
|
|
- icon: "luodichuang",
|
|
|
- name: getIT("luodichuang"),
|
|
|
- parse: { type: "full" },
|
|
|
+ icon: "SingleBayWindow",
|
|
|
+ name: ui18n.t("icons.items.SingleBayWindow"),
|
|
|
+ parse: { type: "align-bottom-fix", width: 180, height: 70 },
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("goujian"),
|
|
|
+ name: ui18n.t("icons.groups.goujian"),
|
|
|
children: [
|
|
|
- { icon: "zhuzi", name: getIT("zhuzi") },
|
|
|
- { icon: "yandao", name: getIT("yandao") },
|
|
|
- { icon: "loudao", name: getIT("loudao") },
|
|
|
+ { icon: "zhuzi", name: ui18n.t("icons.items.zhuzi") },
|
|
|
+ { icon: "yandao", name: ui18n.t("icons.items.yandao") },
|
|
|
+ { icon: "loudao", name: ui18n.t("icons.items.loudao") },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("jiaju"),
|
|
|
-
|
|
|
+ name: ui18n.t("icons.groups.jiaju"),
|
|
|
children: [
|
|
|
{
|
|
|
- name: getGT("kecan"),
|
|
|
+ name: ui18n.t("icons.groups.kecan"),
|
|
|
children: [
|
|
|
- { type: "realScale", icon: "TV", name: getIT("TV") },
|
|
|
- { type: "realScale", icon: "HangingTV", name: getIT("HangingTV") },
|
|
|
- { type: "realScale", icon: "Cabinet", name: getIT("Cabinet") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "CombinationSofa",
|
|
|
- name: getIT("CombinationSofa"),
|
|
|
+ name: ui18n.t("icons.items.CombinationSofa"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "ThreeSofa",
|
|
|
+ name: ui18n.t("icons.items.ThreeSofa"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "SingleSofa",
|
|
|
+ name: ui18n.t("icons.items.SingleSofa"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "ThreeSofa", name: getIT("ThreeSofa") },
|
|
|
- { type: "realScale", icon: "SingleSofa", name: getIT("SingleSofa") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "SingleSofaR",
|
|
|
- name: getIT("SingleSofaR"),
|
|
|
+ name: ui18n.t("icons.items.SingleSofaR"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "CurvedSofa",
|
|
|
+ name: ui18n.t("icons.items.CurvedSofa"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "CornerSofa",
|
|
|
+ name: ui18n.t("icons.items.CornerSofa"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "TwoSofa",
|
|
|
+ name: ui18n.t("icons.items.TwoSofa"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "TeaTable",
|
|
|
+ name: ui18n.t("icons.items.TeaTable"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Carpet",
|
|
|
+ name: ui18n.t("icons.items.Carpet"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Plant",
|
|
|
+ name: ui18n.t("icons.items.Plant"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "TeaTableR",
|
|
|
+ name: ui18n.t("icons.items.TeaTableR"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "TeaTableO",
|
|
|
+ name: ui18n.t("icons.items.TeaTableO"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "SideTableR",
|
|
|
+ name: ui18n.t("icons.items.SideTableR"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "SideTableS",
|
|
|
+ name: ui18n.t("icons.items.SideTableS"),
|
|
|
+ },
|
|
|
+ { type: "realScale", icon: "TV", name: ui18n.t("icons.items.TV") },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "HangingTV",
|
|
|
+ name: ui18n.t("icons.items.HangingTV"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Cabinet",
|
|
|
+ name: ui18n.t("icons.items.Cabinet"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "CurvedSofa", name: getIT("CurvedSofa") },
|
|
|
- { type: "realScale", icon: "CornerSofa", name: getIT("CornerSofa") },
|
|
|
- { type: "realScale", icon: "TwoSofa", name: getIT("TwoSofa") },
|
|
|
- { type: "realScale", icon: "TeaTable", name: getIT("TeaTable") },
|
|
|
- { type: "realScale", icon: "Carpet", name: getIT("Carpet") },
|
|
|
- { type: "realScale", icon: "Plant", name: getIT("Plant") },
|
|
|
- { type: "realScale", icon: "TeaTableR", name: getIT("TeaTableR") },
|
|
|
- { type: "realScale", icon: "TeaTableO", name: getIT("TeaTableO") },
|
|
|
- { type: "realScale", icon: "SideTableR", name: getIT("SideTableR") },
|
|
|
- { type: "realScale", icon: "SideTableS", name: getIT("SideTableS") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "DiningTableC",
|
|
|
- name: getIT("DiningTableC"),
|
|
|
+ name: ui18n.t("icons.items.DiningTableC"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Chair",
|
|
|
+ name: ui18n.t("icons.items.Chair"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Chair", name: getIT("Chair") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "DiningTableRC",
|
|
|
- name: getIT("DiningTableRC"),
|
|
|
+ name: ui18n.t("icons.items.DiningTableRC"),
|
|
|
},
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "DiningTable",
|
|
|
- name: getIT("DiningTable"),
|
|
|
+ name: ui18n.t("icons.items.DiningTable"),
|
|
|
},
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "DiningTableR",
|
|
|
- name: getIT("DiningTableR"),
|
|
|
+ name: ui18n.t("icons.items.DiningTableR"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Stool",
|
|
|
+ name: ui18n.t("icons.items.Stool"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Stool", name: getIT("Stool") },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("woshi"),
|
|
|
+ name: ui18n.t("icons.groups.woshi"),
|
|
|
children: [
|
|
|
- { type: "realScale", icon: "DoubleBed", name: getIT("DoubleBed") },
|
|
|
- { type: "realScale", icon: "SingleBed", name: getIT("SingleBed") },
|
|
|
- { type: "realScale", icon: "Wardrobe", name: getIT("Wardrobe") },
|
|
|
- { type: "realScale", icon: "DoubleBedB", name: getIT("DoubleBedB") },
|
|
|
- { type: "realScale", icon: "Dresser", name: getIT("Dresser") },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "DoubleBed",
|
|
|
+ name: ui18n.t("icons.items.DoubleBed"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "SingleBed",
|
|
|
+ name: ui18n.t("icons.items.SingleBed"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Wardrobe",
|
|
|
+ name: ui18n.t("icons.items.Wardrobe"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "DoubleBedB",
|
|
|
+ name: ui18n.t("icons.items.DoubleBedB"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Dresser",
|
|
|
+ name: ui18n.t("icons.items.Dresser"),
|
|
|
+ },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "BedsideCupboard",
|
|
|
- name: getIT("BedsideCupboard"),
|
|
|
+ name: ui18n.t("icons.items.BedsideCupboard"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Pillow",
|
|
|
+ name: ui18n.t("icons.items.Pillow"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Pillow", name: getIT("Pillow") },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("chuwei"),
|
|
|
+ name: ui18n.t("icons.groups.chuwei"),
|
|
|
children: [
|
|
|
- { type: "realScale", icon: "GasStove", name: getIT("GasStove") },
|
|
|
- { type: "realScale", icon: "Cupboard", name: getIT("Cupboard") },
|
|
|
- { type: "realScale", icon: "Bathtub", name: getIT("Bathtub") },
|
|
|
- { type: "realScale", icon: "Closestool", name: getIT("Closestool") },
|
|
|
- { type: "realScale", icon: "Washstand", name: getIT("Washstand") },
|
|
|
- { type: "realScale", icon: "CupboardU", name: getIT("CupboardU") },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "GasStove",
|
|
|
+ name: ui18n.t("icons.items.GasStove"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Cupboard",
|
|
|
+ name: ui18n.t("icons.items.Cupboard"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Bathtub",
|
|
|
+ name: ui18n.t("icons.items.Bathtub"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "CupboardU",
|
|
|
+ name: ui18n.t("icons.items.CupboardU"),
|
|
|
+ },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "WaterChannel",
|
|
|
- name: getIT("WaterChannel"),
|
|
|
+ name: ui18n.t("icons.items.WaterChannel"),
|
|
|
},
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "WaterChannelD",
|
|
|
- name: getIT("WaterChannelD"),
|
|
|
+ name: ui18n.t("icons.items.WaterChannelD"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "FridgeS",
|
|
|
+ name: ui18n.t("icons.items.FridgeS"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "FridgeD",
|
|
|
+ name: ui18n.t("icons.items.FridgeD"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Closestool",
|
|
|
+ name: ui18n.t("icons.items.Closestool"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Washstand",
|
|
|
+ name: ui18n.t("icons.items.Washstand"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "CabinetB",
|
|
|
+ name: ui18n.t("icons.items.CabinetB"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "FridgeS", name: getIT("FridgeS") },
|
|
|
- { type: "realScale", icon: "FridgeD", name: getIT("FridgeD") },
|
|
|
- { type: "realScale", icon: "CabinetB", name: getIT("CabinetB") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "SquattingPan",
|
|
|
- name: getIT("SquattingPan"),
|
|
|
+ name: ui18n.t("icons.items.SquattingPan"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Shower",
|
|
|
+ name: ui18n.t("icons.items.Shower"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Shower", name: getIT("Shower") },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("qita"),
|
|
|
+ name: ui18n.t("icons.groups.yangtai"),
|
|
|
children: [
|
|
|
- { type: "realScale", icon: "Desk", name: getIT("Desk") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "BalconyChair",
|
|
|
- name: getIT("BalconyChair"),
|
|
|
+ name: ui18n.t("icons.items.BalconyChair"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "MopPool",
|
|
|
+ name: ui18n.t("icons.items.MopPool"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "MopPool", name: getIT("MopPool") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "WashingMachine",
|
|
|
- name: getIT("WashingMachine"),
|
|
|
+ name: ui18n.t("icons.items.WashingMachine"),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: ui18n.t("icons.groups.qita"),
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Desk",
|
|
|
+ name: ui18n.t("icons.items.Desk"),
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Elevator",
|
|
|
+ name: ui18n.t("icons.items.Elevator"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Elevator", name: getIT("Elevator") },
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "WaterFountain",
|
|
|
- name: getIT("WaterFountain"),
|
|
|
+ name: ui18n.t("icons.items.WaterFountain"),
|
|
|
},
|
|
|
{
|
|
|
type: "realScale",
|
|
|
icon: "AirConditioner",
|
|
|
- name: getIT("AirConditioner"),
|
|
|
+ name: ui18n.t("icons.items.AirConditioner"),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "realScale",
|
|
|
+ icon: "Tablelamp",
|
|
|
+ name: ui18n.t("icons.items.Tablelamp"),
|
|
|
},
|
|
|
- { type: "realScale", icon: "Tablelamp", name: getIT("Tablelamp") },
|
|
|
],
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
- name: getGT("henji"),
|
|
|
+ name: ui18n.t("icons.groups.henji"),
|
|
|
children: [
|
|
|
{
|
|
|
name: "",
|