servantdetail.axml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 class="common-card servantdetailitem">
  26. <view a:for="{{servantDescribleList}}" key="{{index}}">
  27. <view class="servant-list">
  28. <view class="good-list">
  29. <view class="good-item-list">{{item}}</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <!-- 暂无保姆 -->
  35. <view a:if="{{noServantList}}">
  36. <view class="no-content-wrapper">
  37. <image mode="aspectFill" src="/image/no-content.png"/>
  38. </view>
  39. </view>
  40. </view>
  41. </view>