修改发布问题

This commit is contained in:
guanj
2026-07-13 10:22:03 +08:00
parent 40899e6d55
commit fcf702ca3c
9 changed files with 151 additions and 57 deletions

View File

@@ -46,9 +46,18 @@
<Cn-device-card :device="item" :key="index">
<template v-slot:title>
<!-- 卡片标题 -->
<switch v-if="transfer || share" :checked="checkList.indexOf(item.equipmentId) > -1"
style="transform: scale(0.8); position: relative; left: 20rpx"
@change="switchChange(item)" />
<view
v-if="transfer || share"
class="switch-wrap"
@click.stop
@tap.stop
>
<switch
:checked="checkList.indexOf(item.equipmentId) > -1"
style="transform: scale(0.8); position: relative; left: 20rpx"
@change.stop="switchChange(item)"
/>
</view>
<view class="star-icon" v-else>
<uni-icons type="search" size="25" color="#376cf3"></uni-icons>
</view>