dropfoot.wxml 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <view class="body">
  2. <view class="body_txt" style="text-align:center">
  3. <view class="weui-cells weui-cells_after-title">
  4. </view>
  5. <view style="width: 450rpx;margin: 0 auto">
  6. <view class="status-text">
  7. 连接状态:{{connected ? "已连接" : "已断开"}}
  8. </view>
  9. <view style="display: flex;">
  10. <view class="status-text" style="flex: 1">
  11. 模式:{{Rmode}}
  12. </view >
  13. <view class="status-text" style="flex: 1">
  14. 状态:{{Rworkstate === 0 ? "暂停" : "运行中"}}
  15. </view>
  16. <view class="status-text" style="flex: 1">
  17. 挡位:{{Rtarget}}
  18. </view>
  19. </view>
  20. <view class="status-text">
  21. 计时:{{Rcurrent1}}分钟{{Rcurrent2}}秒
  22. </view>
  23. <view class="status-text">
  24. 电量:{{RBattery}}/5
  25. </view>
  26. </view>
  27. </view>
  28. <view class="waringimg">
  29. <image src="/subpagesTwo/images/zmdevice/wake.png"
  30. style="height: 520rpx; display: block; box-sizing: border-box; width: 595rpx"></image>
  31. </view>
  32. <view class="blocks" style="width: 677rpx; display: block; box-sizing: border-box">
  33. <text style="font-size: x-small; color: gray; position: relative; left: 269rpx; top: 14rpx">
  34. 当前设置模式为:{{mode}}
  35. </text>
  36. <button type="primary"
  37. style="position: relative; left: -212rpx; top: 139rpx; width: 125rpx; display: block; box-sizing: border-box; height: 87rpx"
  38. data-value="1"
  39. bindtap="handleClick">一
  40. </button>
  41. <button type="primary"
  42. style="width: 125rpx; height: 87rpx; display: block; box-sizing: border-box; left: 29rpx; top: 52rpx; position: relative"
  43. data-value="2"
  44. bindtap="handleClick">二
  45. </button>
  46. <button type="primary"
  47. style="position: relative; left: 272rpx; top: -35rpx; width: 125rpx; display: block; box-sizing: border-box; height: 87rpx"
  48. data-value="3"
  49. bindtap="handleClick">三
  50. </button>
  51. </view>
  52. <view class="progset" style="height: 653rpx; display: flex; box-sizing: border-box">
  53. <view class="clock">
  54. <checkbox-group bindchange="VoltagecheckboxChange">
  55. <checkbox value="targetset" checked="{{tcisc}}"/>
  56. </checkbox-group>
  57. <text decode="{{true}}">&nbsp;&nbsp;\n&nbsp;&nbsp;</text>
  58. <image class="Voltage-image" src="{{tisrc}}" style="width: {{48}}px; height: {{48}}px;"></image>
  59. <text decode="{{true}}">&nbsp;&nbsp;\n&nbsp;&nbsp;</text>
  60. <view class="tainfor">
  61. <text style="color: {{tcisc? '#0667f8':'#5f5f5fd7'}};">强度{{target}}\n</text>
  62. <text style="color: {{ccisc? '#0667f8':'#5f5f5fd7'}};">{{current}}分钟</text>
  63. </view>
  64. <text decode="{{true}}">&nbsp;&nbsp;\n&nbsp;&nbsp;</text>
  65. <image class="Voltage-image" src="{{cisrc}}" style="width: {{48}}px; height: {{48}}px;"></image>
  66. <text decode="{{true}}">&nbsp;&nbsp;\n&nbsp;&nbsp;</text>
  67. <checkbox-group bindchange="currentcheckboxChange">
  68. <checkbox value="currentset" checked="{{ccisc}}"/>
  69. </checkbox-group>
  70. </view>
  71. <view class="button">
  72. <view class="circle-btn" bindtouchstart="leftTouchStart" bindtouchend="leftTouchEnd"
  73. disabled="{{leftDisabled}}">
  74. <image src="/subpagesTwo/images/zmdevice/minus.png" style="width: 32px;height: 32px;"></image>
  75. </view>
  76. <view class="circle-work" bindtap="Send" disabled="{{stateDisabled}}">
  77. <!-- <view class="{{workstate? 'workstart':'workstop'}}"> </view> -->
  78. <image wx:if="{{workstate}}" src="/subpagesTwo/images/zmdevice/start.png"
  79. style="width: 48px;height: 48px;"></image>
  80. <image wx:else src="/subpagesTwo/images/zmdevice/stop.png" style="width: 32px;height: 32px;"></image>
  81. </view>
  82. <view class="circle-btn" bindtouchstart="rightTouchStart" bindtouchend="rightTouchEnd"
  83. disabled="{{rightDisabled}}">
  84. <image src="/subpagesTwo/images/zmdevice/plus.png" style="width: 32px;height: 32px;"></image>
  85. </view>
  86. </view>
  87. </view>
  88. </view>