taskreminder.axml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. 保姆工种:
  22. <label>钟点工</label>
  23. </view>
  24. </view>
  25. <!---一周任务查看器-->
  26. <view class="tasks-line">
  27. <view class="common-page-padding tasks-tik">
  28. <view class="tik-title">
  29. <label>今天</label>
  30. <view class="tik-right" onTap="showtime">
  31. <image mode="scaleToFill" src="/image/icon-calendar.png"/>
  32. <label>查看其它日期</label>
  33. </view>
  34. </view>
  35. <view class="tik-week" a:for="{{datelist}}" key="{{index}}">
  36. <view class="tik-week-item {{item.cssName}}" onTap="changeWeekTime" data-id="{{id}}">
  37. <view>{{item.title}}</view>
  38. <view>{{item.day}}
  39. <text a:if={{item.cssName}}>\n▪</text>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. <!--任务列表-->
  45. <view class="common-page-padding tasks-list">
  46. <view class="cell-title">
  47. <label>任务提醒</label>
  48. <!--<view class="tik-right"><image mode="scaleToFill" src="/image/icon-edit.png"/><label>编辑每日任务</label></view> -->
  49. </view>
  50. <!--有提醒任务-->
  51. <view a:if="{{isreminds}}">
  52. <view class="tasks-list-item" a:for="{{taskList}}" key="{{index}}">
  53. <text a:if="{{item.state == 0}}"> {{item.itemName}}</text>
  54. <view class="tasks-item-yes" a:if="{{item.state == 0}}">
  55. <image mode="scaleToFill" src="/image/icon-yes.png"/>
  56. </view>
  57. <view class="tasks-item-no" onTap="showcancel" a:if="{{item.state == 0}}">
  58. <image mode="scaleToFill" src="/image/icon-no.png"/>
  59. </view>
  60. <view class="tasks-list-item" a:if="{{item.state == 1}}">
  61. <text> {{item.itemName}}</text>
  62. <image src="/image/icon-yes.png"/>
  63. </view>
  64. <view class="tasks-list-item" a:if="{{item.state == 2}}">
  65. <text> {{item.itemName}}</text>
  66. <label class="nogood">{{item.incompleteReason}}</label>
  67. <view class="tasks-item-yes">
  68. <image mode="scaleToFill" src="/image/icon-no.png"/>
  69. </view>
  70. </view>
  71. </view>
  72. <!--没有任务-->
  73. <view a:if="{{!isreminds}}">
  74. <view class="notasks">
  75. <text>还没有任务</text>
  76. </view>
  77. </view>
  78. </view>
  79. <!---没有任务花销计算不显示-->
  80. <view a:if="{{isreminds}}" class="tast-moneybox">
  81. <view class="tasks-list-money">
  82. <view class="tasks-list-pay">今日花销合计</view>
  83. <view class="tasks-list-pay-right">
  84. <input placeholder="请输入"/>
  85. <text>元</text></view>
  86. </view>
  87. <view class="tasks-set">
  88. <button type="primary" hover-class="active-button" onTap="createServant">提交</button>
  89. </view>
  90. </view>
  91. </view>
  92. <!---弹出日历--->
  93. <modal show="{{showchangetime}}">
  94. <calendar type="single" onSelect="handleSelect" />
  95. </modal>
  96. <!--弹出取消原因-->
  97. <modal show="{{showcancelbox}}">
  98. <view class="cancel-box">
  99. <text>取消原因</text>
  100. <radio-group class="radio-group weui-input">
  101. <label a:for="{{cancellist}}" a:key={{value}}>
  102. <radio value="{{item.value}}" class="radio" checked="{{item.checked}}"/>{{item.label}}
  103. </label>
  104. </radio-group>
  105. </view>
  106. <view class="am-modal-buttons--vertical" onTap="hidecnacelbox">
  107. 取消
  108. </view>
  109. <view class="am-modal-buttons--vertical">
  110. 确认选择
  111. </view>
  112. </modal>
  113. </view>