From 186c3c2807790be0724a7bf7346db6a60ed7725e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=E5=96=B5=7E?= <117198625+S-t-e-v-e-e@users.noreply.github.com> Date: Sat, 24 May 2025 13:40:50 +0800 Subject: [PATCH] =?UTF-8?q?Update=20guoba.support.js=20&=20=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=20(#116)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update guoba.support.js * Update help.js * Update gachalog.js * Update help.js * Update help.js --- apps/gachalog.js | 4 ++-- apps/help.js | 6 +++--- guoba.support.js | 22 +++++++++++++++------- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/apps/gachalog.js b/apps/gachalog.js index 8fa796e..4c6566e 100644 --- a/apps/gachalog.js +++ b/apps/gachalog.js @@ -26,11 +26,11 @@ export class GachaLog extends ZZZPlugin { fnc: 'startGachaLog', }, { - reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)$`, + reg: `${rulePrefix}(刷新|更新)抽卡(链接|记录)?$`, fnc: 'refreshGachaLog', }, { - reg: `^${rulePrefix}抽卡(分析|记录)$`, + reg: `^${rulePrefix}抽卡(分析|记录|统计)$`, fnc: 'gachaLogAnalysis', }, { diff --git a/apps/help.js b/apps/help.js index a7ee45a..4b138b1 100644 --- a/apps/help.js +++ b/apps/help.js @@ -31,7 +31,7 @@ const helpData = [ desc: '查看玩家的角色和邦布列表', needCK: true, needSK: false, - commands: ['card', '卡片', '角色','个人信息'], + commands: ['card', '卡片', '角色', '个人信息'], }, { title: '便签', @@ -77,7 +77,7 @@ const helpData = [ desc: '刷新抽卡记录,如果数据过多,可能需要等待很长一段时间,请等待回复后再%查看抽卡记录', needCK: true, needSK: true, - commands: ['刷新/更新抽卡链接', '刷新/更新抽卡记录'], + commands: ['刷新/更新抽卡', '刷新/更新抽卡链接', '刷新/更新抽卡记录'], }, { title: '获取抽卡记录链接', @@ -91,7 +91,7 @@ const helpData = [ desc: '查看抽卡记录,需要手动%刷新抽卡记录,否则读取的是缓存数据', needCK: false, needSK: false, - commands: ['抽卡分析', '抽卡记录'], + commands: ['抽卡分析', '抽卡记录', '抽卡统计'], }, ], }, diff --git a/guoba.support.js b/guoba.support.js index ebac2a4..82d7ef7 100644 --- a/guoba.support.js +++ b/guoba.support.js @@ -28,7 +28,7 @@ export function supportGuoba() { // 配置项 schemas schemas: [ { - component: 'Divider', + component: 'SOFT_GROUP_BEGIN', label: '通用设置', }, { @@ -69,9 +69,9 @@ export function supportGuoba() { field: 'config.update.cron', label: '推送时间', bottomHelpMessage: '设置自动检查更新推送的时间,cron表达式', - component: 'Input', + component: 'EasyCron', componentProps: { - placeholder: '请输入cron表达式', + placeholder: '请输入或选择cron表达式', }, }, { @@ -92,7 +92,7 @@ export function supportGuoba() { }, }, { - component: 'Divider', + component: 'SOFT_GROUP_BEGIN', label: '抽卡分析设置', }, { @@ -106,6 +106,7 @@ export function supportGuoba() { min: 0, max: 1000, placeholder: '请输入数字', + addonAfter: "s", }, }, { @@ -135,7 +136,7 @@ export function supportGuoba() { }, }, // { - // component: 'Divider', + // component: 'SOFT_GROUP_BEGIN', // label: '深渊设置', // }, // { @@ -149,10 +150,11 @@ export function supportGuoba() { // min: 0, // max: 1000, // placeholder: '请输入数字', + // addonAfter: "s", // }, // }, { - component: 'Divider', + component: 'SOFT_GROUP_BEGIN', label: '面板设置', }, { @@ -166,6 +168,7 @@ export function supportGuoba() { min: 0, max: 1000, placeholder: '请输入数字', + addonAfter: "s", }, }, { @@ -179,10 +182,11 @@ export function supportGuoba() { min: 0, max: 1000, placeholder: '请输入数字', + addonAfter: "s", }, }, { - component: 'Divider', + component: 'SOFT_GROUP_BEGIN', label: '攻略设置', }, { @@ -240,6 +244,10 @@ export function supportGuoba() { placeholder: '请输入数字1~7', }, }, + { + label: '其他设置', + component: 'SOFT_GROUP_BEGIN' + }, { component: 'Divider', label: