taskreminder.axml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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" a:if="{{item.incompleteReason == 1}}">任务太多</label>
  67. <label class="nogood" a:if="{{item.incompleteReason == 2}}">我不会</label>
  68. <label class="nogood" a:if="{{item.incompleteReason == 3}}">任务不详细</label>
  69. <view class="tasks-item-yes">
  70. <image mode="scaleToFill" src="/image/icon-no.png"/>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. <!--没有任务-->
  76. <view a:if="{{!isreminds}}">
  77. <view class="notasks">
  78. <text>还没有任务</text>
  79. </view>
  80. </view>
  81. <!---没有任务花销计算不显示-->
  82. <view a:if="{{isreminds}}" class="tast-moneybox">
  83. <view class="tasks-list-money">
  84. <view class="tasks-list-pay">今日花销合计</view>
  85. <view class="tasks-list-pay-right">
  86. <input placeholder="请输入"/>
  87. <text>元</text></view>
  88. </view>
  89. <view class="tasks-set">
  90. <button type="primary" hover-class="active-button" onTap="createServant">提交</button>
  91. </view>
  92. </view>
  93. </view>
  94. <!---弹出日历--->
  95. <modal show="{{showchangetime}}">
  96. <calendar type="single" onSelect="handleSelect" />
  97. </modal>
  98. <!--弹出取消原因-->
  99. <modal show="{{showcancelbox}}">
  100. <view class="cancel-box">
  101. <text>取消原因</text>
  102. <radio-group class="radio-group weui-input">
  103. <label a:for="{{cancellist}}" a:key={{value}}>
  104. <radio value="{{item.value}}" class="radio" checked="{{item.checked}}"/>{{item.label}}
  105. </label>
  106. </radio-group>
  107. </view>
  108. <view class="am-modal-buttons--vertical" onTap="hidecnacelbox">
  109. 取消
  110. </view>
  111. <view class="am-modal-buttons--vertical">
  112. 确认选择
  113. </view>
  114. </modal>
  115. </view>