<view class="market_pages">
<!-- 卡片 -->
<view class="items">
<navigator
class="card"
v-for="item in fenceList"
:key="item.id"
:url="getNavigationUrl(item)"
hover-class="none"
:open-type="
item && item.devices !== undefined && item.devices !== null
? 'navigate'
: 'none'
"
>
<!-- 需要添加设备 -->
<view
class="scan_card flexs"
v-if="!item.devices || (item.devices && !item.devices.length)"
>
<view
class="add_equipment flexs"
@tap="addEquipment(item)"
>添加设备</view>
</view>
</navigator>
看文档不叫大佬,就这几种类型,从哪搞得none类型