Add fan group entry on live room; update planet matching with 4 type buttons. Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
541 lines
13 KiB
TypeScript
541 lines
13 KiB
TypeScript
export type CascadeLevel = {
|
||
value: string
|
||
label: string
|
||
children?: CascadeLevel[]
|
||
}
|
||
|
||
export type GameCascadeConfig = {
|
||
productType: string // 商品类型
|
||
regions: CascadeLevel[] // 游戏区
|
||
attributes: {
|
||
label: string
|
||
type: "select" | "multiselect" | "input" | "slider"
|
||
options?: string[]
|
||
required?: boolean
|
||
}[]
|
||
}
|
||
|
||
export const GAME_CASCADE_DATA: Record<string, GameCascadeConfig> = {
|
||
三角洲行动: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "苹果",
|
||
label: "苹果",
|
||
children: [
|
||
{
|
||
value: "全区全服",
|
||
label: "全区全服",
|
||
children: [
|
||
{ value: "可二次", label: "可二次实名" },
|
||
{ value: "不可二次", label: "不可二次实名" },
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
value: "安卓",
|
||
label: "安卓",
|
||
children: [
|
||
{
|
||
value: "全区全服",
|
||
label: "全区全服",
|
||
children: [
|
||
{ value: "可二次", label: "可二次实名" },
|
||
{ value: "不可二次", label: "不可二次实名" },
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
value: "steam",
|
||
label: "steam",
|
||
children: [{ value: "全区全服", label: "全区全服" }],
|
||
},
|
||
],
|
||
attributes: [],
|
||
},
|
||
|
||
梦幻西游畅玩服: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "畅玩服",
|
||
label: "畅玩服",
|
||
children: [
|
||
{ value: "建邺城", label: "建邺城" },
|
||
{ value: "龙拳", label: "龙拳" },
|
||
{ value: "横扫千军", label: "横扫千军" },
|
||
{ value: "龙卷雨击", label: "龙卷雨击" },
|
||
{ value: "纵横天下", label: "纵横天下" },
|
||
{ value: "紫气东来", label: "紫气东来" },
|
||
{ value: "无与伦比", label: "无与伦比" },
|
||
{ value: "紫禁之巅", label: "紫禁之巅" },
|
||
],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "门派",
|
||
type: "select",
|
||
options: [
|
||
"大唐官府",
|
||
"龙宫",
|
||
"化生寺",
|
||
"盘丝洞",
|
||
"普陀山",
|
||
"天宫",
|
||
"女儿村",
|
||
"五庄观",
|
||
"方寸山",
|
||
"魔王寨",
|
||
"阴曹地府",
|
||
"狮驼岭",
|
||
"无",
|
||
],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "角色性别",
|
||
type: "select",
|
||
options: ["男", "女"],
|
||
},
|
||
{
|
||
label: "尊享权益",
|
||
type: "select",
|
||
options: ["超级绿通(2000元)", "高级绿通(540元)", "中级绿通(90元)", "无"],
|
||
},
|
||
{
|
||
label: "整组号",
|
||
type: "select",
|
||
options: ["是", "否"],
|
||
},
|
||
],
|
||
},
|
||
|
||
坦克世界: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "360国服",
|
||
label: "360国服",
|
||
},
|
||
{
|
||
value: "其他服",
|
||
label: "其他服",
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "有无违规插件",
|
||
type: "select",
|
||
options: ["无", "有", "未查询未知"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "十级高级车辆",
|
||
type: "multiselect",
|
||
options: [
|
||
"无",
|
||
"VK7201",
|
||
"07P(E)主战方案",
|
||
"WT12",
|
||
"777工程机动型",
|
||
"260工程",
|
||
"780工程",
|
||
"T-22",
|
||
"907工程",
|
||
"268工程V型",
|
||
"T95E6",
|
||
"M60",
|
||
"113BO",
|
||
"WZ111QL",
|
||
"齐天大圣",
|
||
"121B",
|
||
"T95酋长",
|
||
"酋长MK.VI",
|
||
],
|
||
},
|
||
{
|
||
label: "九级高级车辆",
|
||
type: "multiselect",
|
||
options: [
|
||
"无",
|
||
"50吨主战方案",
|
||
"昆泽试验车",
|
||
"T-55A",
|
||
"07HK主战方案3型",
|
||
"777工程II型",
|
||
"283工程",
|
||
"K-91II型",
|
||
"AE一期",
|
||
"1B概念车",
|
||
"WZ114",
|
||
],
|
||
},
|
||
{
|
||
label: "八级高级车辆",
|
||
type: "multiselect",
|
||
options: [
|
||
"无",
|
||
"59式",
|
||
"黄金59式",
|
||
"BZ-176",
|
||
"703工程II型",
|
||
"E-75TS",
|
||
"IS-3A",
|
||
"SU-130PM",
|
||
"T-44-100",
|
||
"超级潘兴",
|
||
"天蝎",
|
||
"克莱斯勒K",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
|
||
穿越火线: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "电信",
|
||
label: "电信",
|
||
children: [
|
||
{ value: "安徽一区", label: "安徽一区" },
|
||
{ value: "福建一区", label: "福建一区" },
|
||
{ value: "广东一区", label: "广东一区" },
|
||
{ value: "广东二区", label: "广东二区" },
|
||
{ value: "湖北一区", label: "湖北一区" },
|
||
{ value: "江苏一区", label: "江苏一区" },
|
||
{ value: "上海一区", label: "上海一区" },
|
||
{ value: "四川一区", label: "四川一区" },
|
||
{ value: "浙江一区", label: "浙江一区" },
|
||
],
|
||
},
|
||
{
|
||
value: "网通",
|
||
label: "网通",
|
||
children: [
|
||
{ value: "北京一区", label: "北京一区" },
|
||
{ value: "北京二区", label: "北京二区" },
|
||
{ value: "河南一区", label: "河南一区" },
|
||
{ value: "辽宁一区", label: "辽宁一区" },
|
||
{ value: "山东一区", label: "山东一区" },
|
||
],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "英雄武器",
|
||
type: "select",
|
||
options: ["无英雄武器", "1-5V", "6-10V", "11-20V", "20-30V", "30V以上"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "所属战区",
|
||
type: "select",
|
||
options: [
|
||
"华北战区",
|
||
"河南战区",
|
||
"山东战区",
|
||
"东北战区",
|
||
"华中战区",
|
||
"华南战区",
|
||
"西部战区",
|
||
"东部战区",
|
||
"江苏战区",
|
||
],
|
||
},
|
||
{
|
||
label: "排位级别",
|
||
type: "select",
|
||
options: ["无排位", "新锐", "精英", "专家", "大师", "宗师", "枪王", "枪王之王"],
|
||
},
|
||
{
|
||
label: "实名修改",
|
||
type: "select",
|
||
options: ["可修改实名", "不可修改实名"],
|
||
},
|
||
],
|
||
},
|
||
|
||
王者荣耀: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "苹果",
|
||
label: "苹果",
|
||
children: [
|
||
{ value: "苹果QQ", label: "苹果QQ" },
|
||
{ value: "苹果微信", label: "苹果微信" },
|
||
],
|
||
},
|
||
{
|
||
value: "安卓",
|
||
label: "安卓",
|
||
children: [
|
||
{ value: "安卓QQ", label: "安卓QQ" },
|
||
{ value: "安卓微信", label: "安卓微信" },
|
||
],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "防沉迷",
|
||
type: "select",
|
||
options: ["无防沉迷", "有防沉迷"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "实名修改",
|
||
type: "select",
|
||
options: ["可修改", "不可修改"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "荣耀水晶皮肤",
|
||
type: "multiselect",
|
||
options: [
|
||
"倪克斯神谕-武则天",
|
||
"九霄神辉-花木兰",
|
||
"大秦宣太后-芈月",
|
||
"鸣剑曳影-李白",
|
||
"幻阙歌-貂蝉",
|
||
"星空梦想-鲁班七号",
|
||
"赤影疾锋-关羽",
|
||
"天鹅之梦-小乔",
|
||
"全息碎影-孙悟空",
|
||
"银白咏叹调-铠",
|
||
],
|
||
},
|
||
{
|
||
label: "传说皮肤",
|
||
type: "multiselect",
|
||
options: [
|
||
"音你心动-小乔",
|
||
"淬星耀世-赵云",
|
||
"末日机甲-孙尚香",
|
||
"天魔缭乱-吕布",
|
||
"凤求凰-李白",
|
||
"武圣-关羽",
|
||
"仲夏夜之梦-貂蝉",
|
||
"地狱火-孙悟空",
|
||
"齐天大圣-孙悟空",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
|
||
和平精英: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "安卓",
|
||
label: "安卓",
|
||
children: [{ value: "QQ", label: "QQ" }],
|
||
},
|
||
{
|
||
value: "苹果",
|
||
label: "苹果",
|
||
children: [{ value: "微信", label: "微信" }],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "热门载具",
|
||
type: "multiselect",
|
||
options: [
|
||
"阿斯顿·马丁DBS(红)",
|
||
"阿斯顿·马丁DBX(橙)",
|
||
"鬼马风驰",
|
||
"海龙奔腾",
|
||
"金龙耀世",
|
||
"兰博基尼URUS(炫光金)",
|
||
"玛莎拉蒂MC20(幻星粉)",
|
||
"迈凯伦570S(炫冰蓝)",
|
||
"特斯拉Cybertruck(镭光铂)",
|
||
"焰龙咆哮",
|
||
],
|
||
},
|
||
{
|
||
label: "热门枪械",
|
||
type: "multiselect",
|
||
options: [
|
||
"AKM百合蜜语",
|
||
"AKM-盖世英雄",
|
||
"AWM花间之火",
|
||
"AWM焰龙焚天",
|
||
"GROZA焦糖拿铁",
|
||
"Kar98K圣光天使",
|
||
"M416风花雪月",
|
||
"M416五爪金龙",
|
||
"SCAR-L-纯梦嫁纱",
|
||
"UMP45相思残雪",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
|
||
原神: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "mihoyo服",
|
||
label: "mihoyo服",
|
||
children: [{ value: "天空服", label: "天空服" }],
|
||
},
|
||
{
|
||
value: "B服",
|
||
label: "B服",
|
||
children: [{ value: "B服", label: "B服" }],
|
||
},
|
||
{
|
||
value: "国际服",
|
||
label: "国际服",
|
||
children: [{ value: "国际服", label: "国际服" }],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "邮箱",
|
||
type: "select",
|
||
options: ["未绑定邮箱", "网易邮箱出售", "QQ邮箱", "字母Q邮箱", "其他邮箱", "邮箱不出售"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "邮箱实名",
|
||
type: "select",
|
||
options: ["已实名", "未实名"],
|
||
required: true,
|
||
},
|
||
{
|
||
label: "五星角色",
|
||
type: "multiselect",
|
||
options: [
|
||
"林尼",
|
||
"艾尔海森",
|
||
"赛诺",
|
||
"妮露",
|
||
"纳西妲",
|
||
"流浪者",
|
||
"琴",
|
||
"迪卢克",
|
||
"七七",
|
||
"莫娜",
|
||
"刻晴",
|
||
"钟离",
|
||
"甘雨",
|
||
"胡桃",
|
||
"雷电将军",
|
||
"枫原万叶",
|
||
"神里绫华",
|
||
"那维莱特",
|
||
"芙宁娜",
|
||
],
|
||
},
|
||
{
|
||
label: "五星武器",
|
||
type: "multiselect",
|
||
options: [
|
||
"磐岩结绿",
|
||
"猎人之径",
|
||
"圣显之匙",
|
||
"千夜浮梦",
|
||
"风鹰剑",
|
||
"天空之刃",
|
||
"狼的末路",
|
||
"护摩之杖",
|
||
"雾切之回光",
|
||
"薙草之稻光",
|
||
"苍古自由之誓",
|
||
"阿莫斯之弓",
|
||
],
|
||
},
|
||
],
|
||
},
|
||
|
||
穿越火线手游: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "安卓",
|
||
label: "安卓",
|
||
children: [
|
||
{ value: "安卓QQ", label: "安卓QQ" },
|
||
{ value: "安卓微信", label: "安卓微信" },
|
||
],
|
||
},
|
||
{
|
||
value: "苹果",
|
||
label: "苹果",
|
||
children: [
|
||
{ value: "苹果QQ", label: "苹果QQ" },
|
||
{ value: "苹果微信", label: "苹果微信" },
|
||
],
|
||
},
|
||
],
|
||
attributes: [
|
||
{
|
||
label: "客户端",
|
||
type: "select",
|
||
options: ["全部", "苹果微信", "苹果QQ", "安卓微信", "安卓QQ", "全服通用"],
|
||
},
|
||
{
|
||
label: "实名修改",
|
||
type: "select",
|
||
options: ["可修改", "不可修改"],
|
||
required: true,
|
||
},
|
||
],
|
||
},
|
||
|
||
魔兽世界: {
|
||
productType: "账号",
|
||
regions: [
|
||
{
|
||
value: "亚服",
|
||
label: "亚服",
|
||
children: [
|
||
{
|
||
value: "大地的裂变",
|
||
label: "大地的裂变",
|
||
children: [
|
||
{ value: "伊弗斯", label: "伊弗斯" },
|
||
{ value: "瑪拉頓", label: "瑪拉頓" },
|
||
{ value: "阿拉希盆地", label: "阿拉希盆地" },
|
||
{ value: "鱼人", label: "鱼人" },
|
||
],
|
||
},
|
||
{
|
||
value: "正式服",
|
||
label: "正式服",
|
||
children: [
|
||
{ value: "暗影之月", label: "暗影之月" },
|
||
{ value: "众星之子", label: "众星之子" },
|
||
{ value: "地狱吼", label: "地狱吼" },
|
||
{ value: "世界之树", label: "世界之树" },
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
value: "国服",
|
||
label: "国服",
|
||
children: [
|
||
{
|
||
value: "正式服",
|
||
label: "正式服",
|
||
children: [
|
||
{ value: "回音山", label: "回音山" },
|
||
{ value: "巨龙之吼", label: "巨龙之吼" },
|
||
{ value: "索瑞森", label: "索瑞森" },
|
||
{ value: "罗宁", label: "罗宁" },
|
||
],
|
||
},
|
||
],
|
||
},
|
||
],
|
||
attributes: [],
|
||
},
|
||
}
|