deviceConnect3.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view class="deviceRoter deviceRoter3">
  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}}'></nav-bar>
  3. <view class="roterps">
  4. <view class="devicePic">
  5. <image mode="widthFix" src="{{imageUrl}}"></image>
  6. </view>
  7. <view class="lodRuter" wx:if="{{ruterStatus === 0}}">
  8. <text>正在连接中,请保持设备开机状态…</text>
  9. <progress color="#6547A3" percent="{{percent}}" show-info stroke-width="3" />
  10. </view>
  11. <view class="suRuter" wx:elif="{{ruterStatus === 1}}">
  12. <image style="height:48rpx; width:48rpx;" mode="aspectFit" src="./../../../img/h.png"></image>
  13. <text>连接成功</text>
  14. </view>
  15. <view class="suAIRuter" wx:elif="{{ruterStatus === 1}}">
  16. <text>请呼叫“小猫小猫”,让AI小猫给您播放音乐吧!</text>
  17. </view>
  18. <view class="suRuter" wx:elif="{{ruterStatus === 2}}">
  19. <image style="height:48rpx; width:48rpx;" mode="aspectFit" 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>
  27. · 连接设备WiFi可能为5GHz WiFi,设备无法连接,请切换至
  28. <text style="color: #6547A3">2.4GHz WiFi</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="subBtn">
  33. <view wx:if="{{ruterStatus === 0}}" class="btn" style="opacity: 0.6">连接中...</view>
  34. <view wx:elif="{{ruterStatus === 1}}" class="btn" bindtap="goIndex">完成</view>
  35. <view wx:else style="background-color: #353535;" class="btn" bindtap="egen">重新连接</view>
  36. </view>
  37. </view>