From 81b1e15e3175d639222d7f7e2a8bf62ffb9ef583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 9 Dec 2024 10:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20UIGF4=E5=AF=BC=E5=85=A5/=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=B5=AE=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userGacha/ugo-uid.vue | 340 +++++++++++++++++++++++++++ src/data/schema/uigf4-schema.json | 10 +- src/pages/User/Gacha.vue | 108 ++------- src/utils/UIGF.ts | 42 +--- 4 files changed, 381 insertions(+), 119 deletions(-) create mode 100644 src/components/userGacha/ugo-uid.vue diff --git a/src/components/userGacha/ugo-uid.vue b/src/components/userGacha/ugo-uid.vue new file mode 100644 index 00000000..f958f426 --- /dev/null +++ b/src/components/userGacha/ugo-uid.vue @@ -0,0 +1,340 @@ + + + diff --git a/src/data/schema/uigf4-schema.json b/src/data/schema/uigf4-schema.json index be6c35b7..85c8788b 100644 --- a/src/data/schema/uigf4-schema.json +++ b/src/data/schema/uigf4-schema.json @@ -113,11 +113,11 @@ }, "id": { "type": "string", - "description": "记录内部 ID,米哈游 API 返回" - }, - "maxLength": 19, - "minLength": 1, - "pattern": "^[0-9]+$" + "description": "记录内部 ID,米哈游 API 返回", + "maxLength": 19, + "minLength": 1, + "pattern": "^[0-9]+$" + } }, "required": ["uigf_gacha_type", "gacha_type", "item_id", "time", "id"] } diff --git a/src/pages/User/Gacha.vue b/src/pages/User/Gacha.vue index 8f4d8338..73184336 100644 --- a/src/pages/User/Gacha.vue +++ b/src/pages/User/Gacha.vue @@ -12,10 +12,8 @@ 全量刷新 - - 导入 - - + 导入 + 导入(v4) 导出 @@ -47,6 +45,7 @@ +