index.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--pages/efficient/index.wxml-->
  2. <view class="work_off">
  3. <view class="allselect">
  4. <text>这里仅展示您关注的房间哟</text>
  5. <text bindtap="allSelect">全选</text>
  6. </view>
  7. <!-- {{imgShow?'':'del_box'}} -->
  8. <view class="checkitems">
  9. <van-checkbox-group bind:change="checkChange" value="{{ checkedList }}">
  10. <!-- disabled="{{true}}" -->
  11. <block wx:for="{{listContent}}">
  12. <van-checkbox name="{{item.id}}" shape="square" wx:key="{{index}}" disabled="{{item.isClose}}">
  13. <spacecard isCheckbox="true" cardDate="{{item}}" canvashidden="{{!poptimeValue&&!secondpopValue}}"></spacecard>
  14. </van-checkbox>
  15. <van-divider custom-style="padding-left: 8.5%" />
  16. </block>
  17. </van-checkbox-group>
  18. <!-- <time-picker /> -->
  19. </view>
  20. <view class="checkfooter"></view>
  21. <!-- popValue -->
  22. <cover-view wx:if="{{ popValue }}" class="lifan">
  23. <cover-view class="spacedetail">
  24. <cover-view class="detailtxt">
  25. <cover-view>{{monthDay}} 恢复正常,</cover-view>
  26. <cover-view bindtap="changeTime" class="detailtxtclick">点击修改</cover-view>
  27. </cover-view>
  28. <cover-view bindtap="openClose" class="custom_button">确定关机</cover-view>
  29. </cover-view>
  30. </cover-view>
  31. <van-popup show="{{ poptimeValue }}" round closeable bind:close="popClose" position="bottom" custom-style="height:624rpx" wx:if="{{poptimeValue}}">
  32. <view class="spacedetail">
  33. <view class="space_title">修改时间</view>
  34. <view class="space_title space_smalltitle">(系统判断是否会生效)</view>
  35. <time-picker2 wx:if="{{poptimeValue}}" InitTime="{{InitTime}}" bind:timeChange="getTimevalue" nextOpenTime="{{monthDaystring}}" />
  36. <view class="custom_button" bindtap="commitBtn">确定</view>
  37. </view>
  38. </van-popup>
  39. <!-- 关机二次确认弹窗 -->
  40. <van-popup show="{{ secondpopValue }}" round bind:close="commitClose" position="bottom" custom-style="height:400rpx;border-top:1px solid #ededee">
  41. <view class="spacedetail seconddetail">
  42. <view class="secondtxt secondtxt_title">
  43. <view class="lottie" wx:if="{{!popShow}}">
  44. <lottie id="lottie" animationData="{{canvasDate}}" width="25" height="25" />
  45. </view>
  46. 空调将关闭
  47. </view>
  48. <view class="secondtxt">为您的节能意识点赞</view>
  49. <view class="secondtxt">今日不会自动开启环境调节,如您需要可手动开启</view>
  50. <view class="custom_button" bindtap="commitClose">关闭</view>
  51. </view>
  52. </van-popup>
  53. </view>