deviceAdd.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <template>
  2. <view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='开机' bgColor='transparent' :backUrl="'/pages/home'"></cus-header>
  4. <image class="topbg" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/57d11386-a720-4e76-ac9b-69826e56d83a.png" mode="widthFix"></image>
  5. <div class="icons adfacjb">
  6. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/76406f0b-dba6-4797-a42d-0254e9f06ee6.png"></image>
  7. <image class="next" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/b4acf520-1d30-4f67-8fa8-fb03de1768cf.png"></image>
  8. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/c32524e5-e4f4-4ee9-886c-ec7156c7d019.png"></image>
  9. <image class="next" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/b4acf520-1d30-4f67-8fa8-fb03de1768cf.png"></image>
  10. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/b47cb0c5-7df7-49a1-8d2f-e6362de17a89.png"></image>
  11. </div>
  12. <div class="tip">请确认玩具已开机</div>
  13. <div class="memo adfacjb" @tap="showSetMemo">
  14. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/03/d218058d-3720-461a-8a25-87b5657c1957.png"></image>
  15. <text>配置网络说明</text>
  16. </div>
  17. <div class="steps">
  18. <div class="s_item">
  19. <div class="si_top adfac">
  20. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/04/7942575f-4288-4109-9a55-2a48c526530c.png"></image>
  21. <div class="sit_title">确认蓝牙权限</div>
  22. </div>
  23. <div class="si_tip">请确认手机蓝牙功能打开,并且小程序拥有蓝牙权限</div>
  24. </div>
  25. <div class="s_item">
  26. <div class="si_top adfac">
  27. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/04/b6716138-07a5-42f9-86b3-b9517e64ffe8.png"></image>
  28. <div class="sit_title">靠近设备</div>
  29. </div>
  30. <div class="si_tip">请将手机靠近设备并保持2米以内</div>
  31. </div>
  32. <div class="s_item">
  33. <div class="si_top adfac">
  34. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/04/01707d1d-6a11-4001-9db2-6680f5f2b9c9.png"></image>
  35. <div class="sit_title">首次开机</div>
  36. </div>
  37. <div class="si_tip">首次开机设备将会自动进入配网模式</div>
  38. </div>
  39. <div class="s_item">
  40. <div class="si_top adfac">
  41. <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/06/04/42cb08bf-b7a9-4d54-a1b0-eff9e1afca9d.png"></image>
  42. <div class="sit_title">重新配网</div>
  43. </div>
  44. <div class="si_tip">重新配网请长按M键3秒钟,听到提示音之后进入配网模式</div>
  45. </div>
  46. </div>
  47. <div class="zt_btn" @tap="startWiFi">我已开机</div>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data(){
  53. return {
  54. }
  55. },
  56. methods:{
  57. startWiFi(){
  58. uni.navigateTo({
  59. url:'/pagesMy/wifiSearch'
  60. })
  61. },
  62. showSetMemo(){
  63. uni.navigateTo({
  64. url:'/pagesHome/wifiSetMemo1'
  65. })
  66. }
  67. }
  68. }
  69. </script>
  70. <style scoped lang="less">
  71. .page{
  72. background: #FFFFFF;
  73. padding: 0 80rpx 160rpx;
  74. box-sizing: border-box;
  75. display: flex;
  76. flex-direction: column;
  77. align-items: center;
  78. .topbg{
  79. width: 100%;
  80. position: fixed;
  81. left: 0;
  82. top: 0;
  83. }
  84. .icons{
  85. width: 100%;
  86. position: relative;
  87. margin-top: 57rpx;
  88. image{
  89. width: 56rpx;
  90. height: 56rpx;
  91. &.next{
  92. width: 80rpx;
  93. height: 14rpx;
  94. }
  95. }
  96. }
  97. .tip{
  98. position: relative;
  99. margin-top: 124rpx;
  100. font-family: PingFang-SC, PingFang-SC;
  101. font-weight: bold;
  102. font-size: 32rpx;
  103. color: #111111;
  104. line-height: 45rpx;
  105. text-align: center;
  106. }
  107. .memo{
  108. width: 250rpx;
  109. position: relative;
  110. margin-top: 34rpx;
  111. background: rgba(27,80,255,0.06);
  112. border-radius: 28rpx;
  113. padding: 10rpx 29rpx;
  114. box-sizing: border-box;
  115. image{
  116. width: 26rpx;
  117. height: 26rpx;
  118. }
  119. text{
  120. font-family: PingFangSC, PingFang SC;
  121. font-weight: 400;
  122. font-size: 26rpx;
  123. color: #1B50FF;
  124. line-height: 37rpx;
  125. margin-left: 10rpx;
  126. }
  127. }
  128. .steps{
  129. position: relative;
  130. margin-top: 53rpx;
  131. .s_item{
  132. margin-top: 56rpx;
  133. .si_top{
  134. image{
  135. width: 36rpx;
  136. height: 36rpx;
  137. border-radius: 50%;
  138. }
  139. .sit_title{
  140. font-family: PingFang-SC, PingFang-SC;
  141. font-weight: bold;
  142. font-size: 28rpx;
  143. color: #111111;
  144. line-height: 40rpx;
  145. margin-left: 18rpx;
  146. }
  147. }
  148. .si_tip{
  149. font-family: PingFangSC, PingFang SC;
  150. font-weight: 400;
  151. font-size: 24rpx;
  152. color: #7C8592;
  153. line-height: 33rpx;
  154. text-align: left;
  155. margin: 23rpx 0 0 54rpx;
  156. }
  157. }
  158. }
  159. .zt_btn{
  160. margin-top: 149rpx;
  161. }
  162. }
  163. </style>