<!--pages/deviceRoter0/deviceRoter0.wxml-->
<view class="deviceRoter deviceRoter0">
  <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="roterps">
    <view class="devicePic">
      <image mode="widthFix" src="./../../img/c.png"></image>
    </view>
    <text>开启设备并将开关打至WiFi模式，指示灯亮
起后，即可进入下一步</text>
      <view wx:if="{{!scopeBluetooth && userFuzzyLocation}}" class="qx">
        <text bindtap="setBluetooth">开启蓝牙权限</text>
        <image mode="heightFix" src="./../../img/a.png"></image>
      </view>
      <view wx:if="{{!userFuzzyLocation}}" class="qx">
        <text bindtap="setUserFuzzyLocation">开启定位权限</text>
        <image mode="heightFix" src="./../../img/a.png"></image>
      </view>
  </view>
  <view class="subBtn">
    <view class="btn" style="opacity: {{scopeBluetooth && userFuzzyLocation ? '1' : '0.6'}};" bindtap="next">
      {{scopeBluetooth && userFuzzyLocation ? '下一步' : (!userFuzzyLocation ? '请开启定位权限' : '请开启蓝牙权限') }}
    </view>
    <view class="notRoter" wx:if="{{isNotruter}}">
      <text bindtap="notRoter">暂不链接</text>
      <image mode="heightFix" src="./../../img/b.png"></image>
    </view>
  </view>
</view>
