servantdetail.axml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <import-sjs from="../../../util/formateFuc.sjs" name="formate"></import-sjs>
  2. <!--未设置保姆偏好-->
  3. <view a:if="{{!isservantsettinged}}">
  4. <view class="nosettingservaent">
  5. <image mode="scaleToFill" src="/image/no-content.png"/>
  6. <text>保姆还未设置偏好</text>
  7. </view>
  8. </view>
  9. <!--已经设置过保姆偏好-->
  10. <view a:if="{{isservantsettinged}}">
  11. <view class="common-page-padding servantdetail-servant-page">
  12. <!---阿姨类型--->
  13. <view class="common-card servantdetailitem">
  14. <view class="cell-title">
  15. <label>{{servantName}}</label>
  16. <image mode="scaleToFill" src="/image/icon-edit.png"/>
  17. </view>
  18. <view class="cell-list">
  19. <view class="work-day">{{weekday}}</view>
  20. </view>
  21. <view class="cell-type">
  22. <view class="service-model">保姆工种:{{formate.serviceType(servantTypeValue)}}</view>
  23. </view>
  24. </view>
  25. <view >
  26. <!-- 保姆列表 -->
  27. <view a:if="{{!noServantList}}">
  28. <view class="common-card servantdetailitem">
  29. <view a:for="{{servantDescribleList}}" key="{{index}}">
  30. <view class="servant-list">
  31. <view class="good-list">
  32. <view class="good-item-list">{{item}}</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 暂无保姆 -->
  39. <view a:if="{{noServantList}}">
  40. <view class="no-content-wrapper">
  41. <image mode="aspectFill" src="/image/no-content.png"/>
  42. </view>
  43. </view>
  44. </view>
  45. </view>