<nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'></nav-bar>
<view class="container grid-container">
  <block wx:for="{{deviceList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
    <view class="cell" bind:tap="deviceTap" data-device="{{item}}">
      <image class="device_img" src="{{item.img}}" mode="aspectFill" />
      <text class="device_text main_black">{{item.name}}</text>
    </view>
  </block>
</view>