feat(equipment): 接入运维模式开关与编辑用户 mode 字段
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
2e07a7fcee
commit
f6d6591c69
@@ -1,12 +1,14 @@
|
||||
<view class="equipment">
|
||||
<!-- 运维模式提示行 -->
|
||||
<view class="ops-bar">
|
||||
<view class="ops-mode">当前为:运维模式</view>
|
||||
<view class="ops-btn ops-btn--blue" bind:tap="onCloseOps">关闭运维模式</view>
|
||||
</view>
|
||||
<block wx:if="{{ operationsEngineer }}">
|
||||
<view class="ops-bar">
|
||||
<view class="ops-mode">当前为:运维模式</view>
|
||||
<view class="ops-btn ops-btn--blue" bind:tap="onCloseOps">关闭运维模式</view>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
<!-- 顶部卡片(渐变背景 + 设备图片占位) -->
|
||||
<view class="top-banner">
|
||||
<view class="top-banner" bind:longpress="onLongPressBanner">
|
||||
<image src="/images/equipment/bg.png"/>
|
||||
</view>
|
||||
|
||||
@@ -18,7 +20,9 @@
|
||||
</view>
|
||||
<view class="section-title">已配对设备</view>
|
||||
</view>
|
||||
<view class="ops-btn ops-btn--red" bind:tap="onUnpairAll">取消全部配对</view>
|
||||
<block wx:if="{{ operationsEngineer }}">
|
||||
<view class="ops-btn ops-btn--red" bind:tap="onUnpairAll">取消全部配对</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<!-- 设备列表 -->
|
||||
|
||||
Reference in New Issue
Block a user