koishi-plugin-ggcevo 1.3.5 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -2850,7 +2850,6 @@ ${rewardLines.join("\n")}` : "";
2850
2850
  key: "daily",
2851
2851
  label: "每日玩法",
2852
2852
  emoji: "📅",
2853
- desc: "签到 / 挖矿 / 探索 / 补签",
2854
2853
  items: [
2855
2854
  { key: "sign", icon: "签", label: "签到", desc: "每日签到, 获取金币与咕咕币" },
2856
2855
  { key: "mine", icon: "挖", label: "挖矿", desc: "领取挂机挖矿收益(每半小时4金币)" },
@@ -2862,7 +2861,6 @@ ${rewardLines.join("\n")}` : "";
2862
2861
  key: "bag",
2863
2862
  label: "物品背包",
2864
2863
  emoji: "🎒",
2865
- desc: "背包 / 个人信息 / 使用",
2866
2864
  items: [
2867
2865
  { key: "inv", icon: "包", label: "背包", desc: "查看自己的物品背包" },
2868
2866
  { key: "profile", icon: "信", label: "个人信息", desc: "查看签到统计与个人信息" },
@@ -2873,7 +2871,6 @@ ${rewardLines.join("\n")}` : "";
2873
2871
  key: "lottery",
2874
2872
  label: "抽奖兑换",
2875
2873
  emoji: "🎲",
2876
- desc: "抽奖 / 抽奖概率 / 兑换 / 兑换列表",
2877
2874
  items: [
2878
2875
  { key: "lottery", icon: "抽", label: "抽奖", desc: "抽奖, 可加选项 -p 奖池ID -c 次数" },
2879
2876
  { key: "odds", icon: "率", label: "抽奖概率", desc: "查看各奖池抽奖概率与保底说明" },
@@ -2885,7 +2882,6 @@ ${rewardLines.join("\n")}` : "";
2885
2882
  key: "activity",
2886
2883
  label: "活动",
2887
2884
  emoji: "🎉",
2888
- desc: "活动列表 / 领取活动",
2889
2885
  items: [
2890
2886
  { key: "actList", icon: "活", label: "活动列表", desc: '查看进行中的活动(参数"全部"查看全部)' },
2891
2887
  { key: "actClaim", icon: "领", label: "领取活动", desc: "领取指定(或最新)活动奖励" }
@@ -2895,7 +2891,6 @@ ${rewardLines.join("\n")}` : "";
2895
2891
  key: "handle",
2896
2892
  label: "句柄绑定",
2897
2893
  emoji: "🔗",
2898
- desc: "绑定 / 句柄 / 切换 / 查询 / 解绑 / 迁移",
2899
2894
  items: [
2900
2895
  { key: "bind", icon: "绑", label: "绑定 <句柄>", desc: "绑定星际争霸2游戏句柄" },
2901
2896
  { key: "list", icon: "句", label: "句柄", desc: "查询已绑定的游戏句柄" },
@@ -2909,7 +2904,6 @@ ${rewardLines.join("\n")}` : "";
2909
2904
  key: "query",
2910
2905
  label: "查询信息",
2911
2906
  emoji: "📊",
2912
- desc: "地图检测 / 封禁记录 / 签到奖励",
2913
2907
  items: [
2914
2908
  { key: "map", icon: "图", label: "地图检测", desc: "查询已配置地图的检测状态" },
2915
2909
  { key: "ban", icon: "封", label: "封禁记录", desc: "查询句柄的封禁记录" },
@@ -2920,7 +2914,7 @@ ${rewardLines.join("\n")}` : "";
2920
2914
  const buildTextMenu = /* @__PURE__ */ __name(() => [
2921
2915
  "🐤 咕咕之战菜单",
2922
2916
  "",
2923
- ...menuCategories.map((cat) => `${cat.emoji} ${cat.label}(${cat.desc})
2917
+ ...menuCategories.map((cat) => `${cat.emoji} ${cat.label}
2924
2918
  ${cat.items.map((item) => item.label).join(" / ")}`),
2925
2919
  "",
2926
2920
  "提示: 直接输入上方指令名即可使用对应功能。"
@@ -2957,8 +2951,9 @@ ${rewardLines.join("\n")}` : "";
2957
2951
  .header { text-align: center; padding-bottom: 18px; border-bottom: 2px solid rgba(120,160,255,0.35); }
2958
2952
  .title { font-size: 32px; font-weight: bold; letter-spacing: 6px; color: #8fc0ff; text-shadow: 0 0 18px rgba(90,140,255,0.45); }
2959
2953
  .subtitle { margin-top: 8px; font-size: 14px; color: #93a6c8; }
2960
- .group { margin-top: 22px; }
2954
+ .group { margin-top: 22px; break-inside: avoid; }
2961
2955
  .group-title { font-size: 15px; font-weight: bold; color: #ffd98a; letter-spacing: 3px; margin-bottom: 10px; padding-left: 10px; border-left: 3px solid #ffd98a; }
2956
+ .groups { column-count: 2; column-gap: 24px; }
2962
2957
  .list { display: flex; flex-direction: column; gap: 12px; }
2963
2958
  .item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.07); border: 1px solid rgba(140,170,255,0.22); border-radius: 12px; padding: 12px 16px; }
2964
2959
  .icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: bold; color: #fff; flex-shrink: 0; }
@@ -2973,7 +2968,7 @@ ${rewardLines.join("\n")}` : "";
2973
2968
  <div class="title">${title}</div>
2974
2969
  <div class="subtitle">${subtitle}</div>
2975
2970
  </div>
2976
- ${groupHtml}
2971
+ <div class="groups">${groupHtml}</div>
2977
2972
  <div class="footer">输入上方指令名即可使用对应功能</div>
2978
2973
  </body>
2979
2974
  </html>`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo",
3
3
  "description": "GGCEVO 综合插件:星际争霸2游戏句柄绑定 + 签到/抽奖/兑换/背包/活动系统等虚拟物品玩法",
4
- "version": "1.3.5",
4
+ "version": "1.3.7",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
package/readme.md CHANGED
@@ -179,6 +179,18 @@ npm install koishi-plugin-ggcevo
179
179
 
180
180
  ## 更新日志
181
181
 
182
+ ### v1.3.7
183
+
184
+ 图片菜单改为双列均衡排版。
185
+
186
+ - **双列布局**:`咕咕之战` 图片菜单由单列长图改为双列均衡排版(`column-count: 2`),指令变多时图片高度大幅缩短,更便于观看;分类保持原有顺序,单个分类不会被拆散跨列
187
+
188
+ ### v1.3.6
189
+
190
+ 优化文字版菜单输出。
191
+
192
+ - **文字菜单去重**:分类行不再重复显示指令列表,仅显示分类名,指令只在分类下方展示;移除与指令列表重复的 `MenuCategory.desc` 冗余字段
193
+
182
194
  ### v1.3.5
183
195
 
184
196
  引用回复与菜单指令调整。