设备列表,设备绑定,删除,修改设备名

This commit is contained in:
fengerli
2025-07-09 13:41:42 +08:00
parent e69ff064d5
commit 82fd1574c8
23 changed files with 6892 additions and 2974 deletions

View File

@ -23,7 +23,8 @@
{{ rightText }}
</text>
<!-- 或显示图标 -->
<image v-if="rightIcon" @click="handleRightClick" src="/static/images/path.png" mode="" class="pathIMG">
<image v-if="rightIcon" :src="rightIcon" @click="handleRightClick" mode=""
class="pathIMG">
</image>
</slot>
</view>
@ -49,8 +50,8 @@
},
rightText: String, // 右侧文字
rightIcon: {
type: Boolean,
default: false
type: String, // 改为 String 类型,接收图片路径
default: '' // 默认空字符串
},
rightColor: { // 右侧内容颜色
type: String,