refactor: 统一术语「成员」→「用户」,代码格式化

- 页面文案、注释、Toast 提示统一改为"用户"
- lefu 模块缩进格式化(空格→Tab)
- selectMemberDrawer 组件注释统一

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-06-10 15:18:58 +08:00
co-authored by Claude Opus 4.7
parent 97c135786c
commit 485725a486
15 changed files with 443 additions and 445 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ Page({
})
},
/* 点击「成员管理」→ 跳转成员管理页,sn 由目标页从缓存读取 */
/* 点击「用户管理」→ 跳转用户管理页,sn 由目标页从缓存读取 */
onTapMember() {
wx.navigateTo({ url: '/pages/equipmentMember/equipmentMember' })
},
+2 -4
View File
@@ -37,15 +37,13 @@
<block wx:if="{{ item.connected }}">
<!-- 已连接:单按钮居中 -->
<view class="card-actions card-actions-single">
<view class="btn-ghost-full" bind:tap="onTapMember">成员管理</view>
<view class="btn-ghost-full" bind:tap="onTapMember">用户管理</view>
</view>
</block>
<block wx:else>
<!-- 未连接:双按钮 连接 / 成员管理 -->
<!-- 未连接:双按钮 连接 / 用户管理 -->
<view class="card-actions card-actions-single">
<view class="btn-ghost-full" data-connect-device-info="{{ item.connectDeviceInfo }}" data-user-info="{{ item }}" bind:tap="onTapConnect">连接</view>
<!-- <view class="btn-ghost-half" data-connect-device-info="{{ item.connectDeviceInfo }}" data-user-info="{{ item }}" bind:tap="onTapConnect">连接</view>-->
<!-- <view class="btn-ghost-half" bind:tap="onTapMember">成员管理</view>-->
</view>
</block>
</view>