taskreminder.axml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <view class="tasks-page">
  2. <!---客户信息-->
  3. <view class="tasks-head">
  4. <view class="cell-title">
  5. <label>王阿姨</label>
  6. <view class="cell-right">
  7. <image mode="scaleToFill" src="/image/switch-grey.png"/>
  8. <label>切换到其他家庭</label>
  9. </view>
  10. </view>
  11. <view class="cell-list">
  12. <label>周一▪</label>
  13. <label>周二▪</label>
  14. <label>周三▪</label>
  15. <label>周四▪</label>
  16. <label>周五▪</label>
  17. <label>周六▪</label>
  18. <label>周日</label>
  19. </view>
  20. <view class="cell-type">
  21. 保密工种:<label>钟点工</label>
  22. </view>
  23. </view>
  24. <!---一周任务查看器-->
  25. <view class="tasks-line">
  26. <view class="common-page-padding tasks-tik">
  27. <view class="tik-title">
  28. <label>今天</label>
  29. <view class="tik-right" onTap="showtime">
  30. <image mode="scaleToFill" src="/image/icon-calendar.png"/>
  31. <label>查看其它日期</label>
  32. </view>
  33. </view>
  34. <view class="tik-week" a:for="{{datelist}}" key="{{index}}">
  35. <view class="tik-week-item {{item.cssName}}" onTap="changeWeekTime" data-id="{{id}}">
  36. <view>{{item.title}}</view>
  37. <view>{{item.day}}
  38. <text a:if={{item.cssName}}>\n▪</text>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. <!--任务列表-->
  44. <view class="common-page-padding tasks-list">
  45. <view class="cell-title">
  46. <label>任务提醒</label>
  47. <view class="tik-right">
  48. <image mode="scaleToFill" src="/image/icon-edit.png"/>
  49. <label>编辑每日任务</label>
  50. </view>
  51. </view>
  52. <!--有提醒任务-->
  53. <view a:if="{{isreminds}}">
  54. <view class="tasks-list-item">
  55. <text>洗衣服</text>
  56. <view class="tasks-item-yes">
  57. <image mode="scaleToFill" src="/image/icon-yes.png"/>
  58. </view>
  59. <view class="tasks-item-no" onTap="showcancel">
  60. <image mode="scaleToFill" src="/image/icon-no.png"/>
  61. </view>
  62. </view>
  63. <view class="tasks-list-item">
  64. <text>做完饭</text>
  65. <view class="tasks-item-yes">
  66. <image mode="scaleToFill" src="/image/icon-yes.png"/>
  67. </view>
  68. <view class="tasks-item-no" onTap="showcancel">
  69. <image mode="scaleToFill" src="/image/icon-no.png"/>
  70. </view>
  71. </view>
  72. <view class="tasks-list-item">
  73. 打扫卧室
  74. </view>
  75. <view class="tasks-list-item">
  76. <text>打扫房间</text>
  77. <label class="nogood">任务不详细</label>
  78. <view class="tasks-item-yes">
  79. <image mode="scaleToFill" src="/image/icon-no.png"/>
  80. </view>
  81. </view>
  82. </view>
  83. <!--没有任务-->
  84. <view a:if="{{!isreminds}}">
  85. <view class="notasks">
  86. <text>还没有任务</text>
  87. </view>
  88. </view>
  89. </view>
  90. <!---没有任务花销计算不显示-->
  91. <view a:if="{{isreminds}}" class="tast-moneybox">
  92. <view class="tasks-list-money">
  93. <view class="tasks-list-pay">今日花销合计</view>
  94. <view class="tasks-list-pay-right"><input placeholder="请输入"/><text>元</text></view>
  95. </view>
  96. <view class="tasks-set">
  97. <button type="primary" hover-class="active-button" onTap="createServant">提交</button>
  98. </view>
  99. </view>
  100. </view>
  101. <!---弹出日历--->
  102. <modal show="{{showchangetime}}">
  103. <calendar
  104. type="single"
  105. onSelect="handleSelect" />
  106. </modal>
  107. <!--弹出取消原因-->
  108. <modal show="{{showcancelbox}}">
  109. <view class="cancel-box">
  110. <text>取消原因</text>
  111. <radio-group class="radio-group weui-input">
  112. <label a:for="{{cancellist}}" a:key={{value}}>
  113. <radio value="{{item.value}}" class="radio" checked="{{item.checked}}"/>{{item.label}}
  114. </label>
  115. </radio-group>
  116. </view>
  117. <view class="am-modal-buttons--vertical" onTap="hidecnacelbox" >
  118. 取消
  119. </view>
  120. <view class="am-modal-buttons--vertical">
  121. 确认选择
  122. </view>
  123. </modal>
  124. </view>