Commit Graph

46 Commits

Author SHA1 Message Date
febfa132c8 feat: 重构 LiveRequestOBS 组件,支持样式切换和滚动速度设置
- 修复了原有OBS组件样式背景不透明的问题
- 移除了不必要的导入和逻辑,简化了组件结构。
- 添加了样式选择功能,支持经典和清新两种风格。
- 增加了滚动速度倍率设置,提升用户体验。
- 更新了 LiveRequest 组件以支持新功能,确保样式和速度参数在 OBS 中生效。
2025-04-20 04:45:07 +08:00
2e5e0afd30 refactor: 优化多个视图组件并添加功能
本次提交对多个视图组件进行了重构和功能增强:

    PointGoodsView.vue:
    - 清理了未使用的导入(`useAccount`)和变量(`accountInfo`, `biliInfo` prop)。
    - 通过重组计算属性和方法提高了代码可读性。
    - 增强了商品列表的筛选和排序逻辑。
    - 为购买商品功能添加了错误处理和加载状态。

    PointUserHistoryView.vue:
    - 为获取积分历史记录实现了加载状态。
    - 改进了 PointHistoryCard 组件的渲染。

    QuestionBoxView.vue:
    - 优化了可读性和性能(整合状态变量,改进命名)。
    - 增强了文件上传处理和验证逻辑。
    - 改进了标签选择逻辑和数据获取方法。
    - 添加了代码注释以提高可理解性。

    UserIndexView.vue:
    - 简化了确定要显示的模板组件的逻辑。
    - 确保无论用户信息是否存在,都一致返回默认模板。
2025-04-17 02:15:22 +08:00
1ea4404307 feat: 重构弹幕组件和工具以改进结构和性能
- 更新 `useWebFetcher.ts`:将事件监听器从 `onEvent` 更改为 `on`,并修改了断开连接处理逻辑,增加了 30 秒后自动重连的功能。
- 增强 `MessageRender.vue`:为 `paidMessages` 使用 v-model,并将生命周期钩子更新为 `beforeUnmount`。
- 引入新组件 `ClientDanmakuItem.vue`:用于渲染具有卡片和文本样式的弹幕条目。
- 创建 `BaseDanmakuItem.vue`:封装弹幕条目的通用逻辑,包括表情符号解析和显示逻辑。
- 添加 `CardStyleDanmakuItem.vue` 和 `TextStyleDanmakuItem.vue`:用于实现不同显示样式的弹幕消息。
- 开发 `danmakuUtils.ts`:提供用于弹幕条目属性和样式的工具函数。
- 改进弹幕组件的 CSS 样式:确保外观统一和响应式布局。
2025-04-15 22:18:47 +08:00
c13fcb90c8 feat: 修复图片url, 开始弹幕机编写 2025-04-13 21:59:47 +08:00
d5c9e663da 添加客户端 2025-04-06 13:50:16 +08:00
24f1c413c4 重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由 2025-03-27 18:37:01 +08:00
e00447497b fix webfetcher iframe detect 2025-03-18 21:00:06 +08:00
1b6ec67ba8 update build action 2025-03-18 20:42:25 +08:00
eb43d88e44 fix obs components display 2025-03-18 19:58:54 +08:00
02e24a5783 allow all gifts rebuy 2025-01-10 02:40:42 +08:00
7d35fe286d progessing on client 2024-12-19 10:18:05 +08:00
47ade4a965 fix: no voice in speech page; custom personal page redirect notworking. feat: sync sroll bar between question display page an obs component 2024-11-23 18:46:37 +08:00
a59a6f54e5 fix hub load 2024-11-21 02:21:28 +08:00
537ea7bbe6 fix wrong langue value when adding songs 2024-11-21 00:53:15 +08:00
45bc8485b3 add rtc feature, set payment page to wip state 2024-11-14 15:37:25 +08:00
6ab0c6dba5 queue add danmaku content 2024-07-30 20:25:05 +08:00
06b55b0b22 fix queue sort 2024-05-28 22:23:05 +08:00
589698b717 try fix avater display 2024-05-11 02:22:10 +08:00
b63d3f36ce improve setting save 2024-04-18 15:22:26 +08:00
3e192eaaae fix liverequest sort 2024-04-15 23:02:58 +08:00
cbd2748c71 update function(queue, liverequest) 2024-04-14 14:48:18 +08:00
cbbf308224 danmaku support openId 2024-03-29 11:59:05 +08:00
af112da9a8 update song-request to live-request, add questionbox tag support 2024-03-12 14:36:01 +08:00
f6befeeca7 rebuild 2024-02-28 18:55:41 +08:00
da23cdf3e3 fix event get 2024-02-28 17:54:43 +08:00
f1c06deffd add web-fetcher 2024-02-28 16:28:21 +08:00
6317699f6c add obs checker 2024-02-21 12:35:24 +08:00
aa7fbd47a0 add switch 2024-02-21 12:04:41 +08:00
6bf003d18b add question display page 2024-02-20 22:03:49 +08:00
b8c6b52d6c update music obs component avatar 2024-01-31 17:20:23 +08:00
8de805de9c add options in obs queue component 2024-01-27 20:53:08 +08:00
6f4f602488 update alert 2024-01-15 21:30:05 +08:00
6e2b08c0d7 song request add setting options 2024-01-12 23:00:27 +08:00
e615154149 add music request 2023-12-24 17:57:23 +08:00
4a85eaaa07 fix sort 2023-12-18 10:06:01 +08:00
db17cffa30 fix reverse in obs 2023-12-16 22:27:10 +08:00
c530c3b126 update url, improve queue and songrequest 2023-12-15 16:29:08 +08:00
82a0e72122 update url 2023-12-14 12:56:28 +08:00
69dbd31259 add queue 2023-11-25 19:09:34 +08:00
7dcbc87436 add song request from web 2023-11-20 14:18:43 +08:00
4b8fcaa775 add to manage page 2023-11-19 19:12:38 +08:00
a8630e3f56 add song request 2023-11-19 18:36:21 +08:00
1dbbc45ee5 Revert "add song request"
This reverts commit cb03299a99.
2023-11-19 18:31:32 +08:00
cb03299a99 add song request 2023-11-19 18:17:31 +08:00
f117f11407 update open live page 2023-11-15 14:38:58 +08:00
0b36224691 add livelottery obs compoent 2023-11-11 19:00:01 +08:00