|
|
|
@ -23,15 +23,15 @@
|
|
|
|
|
<iot-light v-bind:device="device"></iot-light>
|
|
|
|
|
</div>
|
|
|
|
|
<!--温湿度传感器-->
|
|
|
|
|
<div v-for="device in getDevices('温湿度传感器')" class="col" style="min-width:320px;">
|
|
|
|
|
<div v-for="device in getDevices('温湿度传感器')" class="col" style="min-width:320px;">
|
|
|
|
|
<iot-humiture v-bind:device="device"></iot-humiture>
|
|
|
|
|
</div>
|
|
|
|
|
<!--烟雾报警器-->
|
|
|
|
|
<div v-for="device in getDevices('烟雾报警器')" class="col" style="min-width:320px;">
|
|
|
|
|
<div v-for="device in getDevices('烟雾报警器')" class="col" style="min-width:320px;">
|
|
|
|
|
<iot-smoke v-bind:device="device"></iot-smoke>
|
|
|
|
|
</div>
|
|
|
|
|
<!--人体感应器-->
|
|
|
|
|
<div v-for="device in getDevices('人体感应器')" class="col" style="min-width:320px;">
|
|
|
|
|
<div v-for="device in getDevices('人体感应器')" class="col" style="min-width:320px;">
|
|
|
|
|
<iot-person v-bind:device="device"></iot-person>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -51,8 +51,15 @@
|
|
|
|
|
<iot-socket v-bind:device="device"></iot-socket>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col col-md-12 my-2 px-3">遥控器</div>
|
|
|
|
|
<!--红外转发器-->
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div v-for="device in getDevices('红外转发器')" class="col" style="min-width:320px;">
|
|
|
|
|
<iot-ir v-bind:device="device"></iot-ir>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--test-->
|
|
|
|
|
<hr />
|
|
|
|
|
<!--<hr />
|
|
|
|
|
<div class="row" v-if="node">
|
|
|
|
|
<div v-for="device in node.devices" class="col-lg-3 col col-md-4 col-sm-6">
|
|
|
|
|
<div class="weui-grid__icon">
|
|
|
|
@ -60,5 +67,5 @@
|
|
|
|
|
</div>
|
|
|
|
|
<p class="weui-grid__label">{{device.displayName}}</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>-->
|
|
|
|
|
</div>
|