Skip to content
dsh.fish
Bundle

dsh-manutd-fixtures

Manchester United 2026/27 fixtures in the dsh web sidebar, kickoff times in your local timezone, finished matches with W/L/D results.

Source
Lzz2133
License
MIT
Updated
Updated 16 hours ago

Readme

# dsh-manutd-fixtures

曼联 2026/27 赛季赛程 + 战绩侧边栏插件(DeepSeek Harness Web)。

## 功能

- **侧边栏按钮**:左侧边栏底部「⚽ 曼联赛程」,折叠时显示下一场比赛的日期与本地时间
- **本地时区**:开球时间存 UTC,按**用户电脑时区**自动渲染(北京 21:00 / 伦敦 14:00 / 纽约 09:00 同一场比赛各自正确),面板脚注显示当前时区
- **下一场卡片**:对阵(曼联红色高亮)、赛事徽章、主客徽章、本地时间 + 倒计时
- **本赛季战绩**:面板顶部显示曼联 2026/27 当前战绩(胜平负、进失球、英超排名、积分)
- **已结束比赛**:赛程列表含本赛季全部比赛,已踢完的显示比分与结果徽章(**W 红 / L 绿 / D 棕**),「全部 / 已结束 / 未开始」筛选切换
- **联赛徽章**:英超🦁 / 欧冠⭐ / 联赛杯🏆 / 足总杯👑 / 社区盾🛡️,品牌配色区分
- **主客突出**:🏠 主场(红)/ ✈️ 客场(灰)徽章 + 曼联红色加粗

## 数据

- 赛程:曼联官网、英超官方公告、UEFA 官方赛程(交叉核实,`lib/client.js` 的 `FIXTURES`)
- 积分榜:维基百科(更新至 2026-08-31,`STANDINGS`)
- TBC 场次开球时间由转播商提前 2~4 周公布,随数据更新补充

## 结构

- `lib/index.js` — 最小 Cordis 服务端插件(让 client bundle 被发现)
- `lib/client.js` — 手写 `__ModuleLoader__` bundle:侧边栏 footer action(`sidebar.footer.action` slot),含全部数据
- `cordis.patch.yml` — profile bundle 注册
- `package.json` — `dsh.client` 声明 + `exports["./client"]`

数据模型预留多球队扩展位(`TEAMS` / `FIXTURES[].team`),后续可加其他球队。

## 安装

```bash
dsh plugin --profile web add dsh-manutd-fixtures
# 或从源码:dsh plugin --profile web add file:E:/DeepseekHarness/dsh-manutd-fixtures
# 重启 dsh web 后生效
```

## 开发

```bash
npm run check   # 语法检查
```

Install

dsh plugin --profile web add github:Lzz2133/dsh-manutd-fixtures

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source