servantdetail.axml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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">保姆工种:{{formate.serviceType(servantTypeValue)}}</view>
  22. </view>
  23. <view >
  24. <!-- 保姆列表 -->
  25. <view a:if="{{noServantList}}">
  26. <view class="common-card servantdetailitem">
  27. <view a:for="{{servantDescribleList}}" key="{{index}}">
  28. <view class="servant-list">
  29. <view class="good-list">
  30. <view class="good-item-list">{{item}}</view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 暂无保姆 -->
  37. <view a:if="{{noServantPic}}">
  38. <view class="no-content-wrapper">
  39. <image mode="widthFix" src="/image/no-content.png"/>
  40. </view>
  41. </view>
  42. </view>
  43. </view>