<view class="content flex-column flex-align-center">
  <image class="device-img" src="{{detail.cover_url}}"></image>
  <view class="device-box flex-column" wx:if="{{detail.device_name}}">
    <text>设备名称：{{detail.device_name}}</text>
    <text>设备型号：{{detail.category_name || ''}}</text>
    <text>设备状态：{{detail.status == 1 ? '可用' : '不可用' }}</text>
    <text>所属店铺：{{detail.store_name || ''}}</text>
  </view>
  <view class="btn flex flex-center" bindtap="deviceLogin" wx:if="{{detail.status == 1}}">登录</view>
</view>