deviceConnect3.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!--pages/deviceRoter1/deviceRoter1.wxml-->
  2. <!--pages/deviceRoter0/deviceRoter0.wxml-->
  3. <view class="deviceRoter deviceRoter3">
  4. <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}}'>
  5. </nav-bar>
  6. <view class="roterps">
  7. <view class="devicePic">
  8. <image mode="widthFix" src="{{imageUrl}}"></image>
  9. </view>
  10. <view class="lodRuter" wx:if="{{ruterStatus === 0}}">
  11. <text>正在连接中,请保持设备开机状态…</text>
  12. <progress color="#6547A3" percent="{{percent}}" show-info stroke-width="3" />
  13. </view>
  14. <view class="suRuter" wx:elif="{{ruterStatus === 1}}">
  15. <image mode="widthFix" src="./../../img/h.png"></image>
  16. <text>连接成功</text>
  17. </view>
  18. <view class="suRuter" wx:elif="{{ruterStatus === 2}}">
  19. <image mode="widthFix" src="./../../img/i.png"></image>
  20. <text>连接失败</text>
  21. </view>
  22. <view class="errorPs" wx:if="{{ruterStatus === 2}}">
  23. <text>请尝试:</text>
  24. <view>· 部分设备配网需开启GPS定位。</view>
  25. <view>· 尝试重启手机蓝牙,如蓝牙已连接其他设备,请先断开。</view>
  26. <view>· 连接设备WiFi可能为5GHz WiFi,设备无法连接,请切换至<text style="color: #6547A3">2.4GHz WiFi</text></view>
  27. </view>
  28. </view>
  29. <view class="subBtn">
  30. <view wx:if="{{ruterStatus === 0}}" class="btn" style="opacity: 0.6">
  31. 连接中...
  32. </view>
  33. <view wx:elif="{{ruterStatus === 1}}" class="btn" bindtap="goIndex">
  34. 完成
  35. </view>
  36. <view wx:else style="background-color: #353535;" class="btn" bindtap="egen">
  37. 重新连接
  38. </view>
  39. </view>
  40. </view>