taskreminder.axml 4.2 KB

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