deviceConnect0.wxml 1.3 KB

12345678910111213141516171819202122232425262728
  1. <view class="deviceRoter deviceRoter0">
  2. <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}}'>
  3. </nav-bar>
  4. <view class="roterps">
  5. <view class="devicePic">
  6. <image mode="widthFix" src="{{imageUrl}}"></image>
  7. </view>
  8. <text>开启设备并将开关打至WiFi模式,指示灯亮
  9. 起后,即可进入下一步</text>
  10. <view wx:if="{{!scopeBluetooth && userFuzzyLocation}}" class="qx">
  11. <text bindtap="setBluetooth">开启蓝牙权限</text>
  12. <image src="./../../../img/a.png" style="width: 16rpx;height: 28rpx;"></image>
  13. </view>
  14. <view wx:if="{{!userFuzzyLocation}}" class="qx">
  15. <text bindtap="setUserFuzzyLocation">开启定位权限</text>
  16. <image src="./../../../img/a.png" style="width: 16rpx;height: 28rpx;"></image>
  17. </view>
  18. </view>
  19. <view class="subBtn">
  20. <view class="btn" style="opacity: {{scopeBluetooth && userFuzzyLocation ? '1' : '0.6'}};" bindtap="next">
  21. {{scopeBluetooth && userFuzzyLocation ? '下一步' : (!userFuzzyLocation ? '请开启定位权限' : '请开启蓝牙权限') }}
  22. </view>
  23. <view class="notRoter" wx:if="{{isNotruter}}">
  24. <text bindtap="notRoter">暂不链接</text>
  25. <image mode="heightFix" src="./../../../img/b.png"></image>
  26. </view>
  27. </view>
  28. </view>