chore: 杂项修复(蓝牙调试代码风格、用户页、字典枚举、gitignore)

- 修复蓝牙调试页 ESLint style/max-statements-per-line 错误
- 用户页布局调整
- 字典枚举新增 OPS 模块注释
- gitignore 新增 *.pen 忽略规则

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
lzh
2026-03-21 22:07:11 +08:00
parent 4d5ca8decf
commit ee8e8732cc
4 changed files with 1489 additions and 2 deletions

1
.gitignore vendored
View File

@@ -22,6 +22,7 @@ dist
.hbuilderx
.trae
.claude/settings.local.json
*.pen
nul
*.timestamp-*

File diff suppressed because it is too large Load Diff

View File

@@ -93,9 +93,12 @@
</view>
</view>
<!-- 底部留白 tabbar 腾出空间 -->
<view class="pb-safe" style="height: 140rpx;" />
<!-- 底部留白 -->
<view style="height: 32rpx;" />
</scroll-view>
<!-- tabbar 占位作为 flex 兄弟撑开空间避免内容被 fixed tabbar 遮挡 -->
<view class="tabbar-placeholder" />
</view>
</template>
@@ -200,6 +203,14 @@ page {
overflow: hidden;
}
.tabbar-placeholder {
flex-shrink: 0;
height: 140rpx;
// iOS 安全区
padding-bottom: constant(safe-area-inset-bottom, 0px);
padding-bottom: env(safe-area-inset-bottom, 0px);
}
.avatar-wrapper {
border: 4rpx solid rgba(255, 255, 255, 0.3);
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.15);

View File

@@ -40,6 +40,11 @@ const INFRA_DICT = {
INFRA_OPERATE_TYPE: 'infra_operate_type',
} as const
/** ========== OPS - 运维模块 ========== */
const OPS_DICT = {
OPS_ORDER_PRIORITY: 'ops_order_priority',
} as const
/** ========== BPM - 工作流模块 ========== */
const BPM_DICT = {
BPM_MODEL_FORM_TYPE: 'bpm_model_form_type', // BPM 模型表单类型
@@ -55,6 +60,7 @@ const BPM_DICT = {
/** 字典类型枚举 - 统一导出 */
export const DICT_TYPE = {
...BPM_DICT,
...OPS_DICT,
...INFRA_DICT,
...SYSTEM_DICT,
...COMMON_DICT,