servantList.wxml 1.1 KB

1234567891011121314151617181920212223242526
  1. <view class="servant-list-page">
  2. <!-- <scroll-view scroll-y="true" style="height:100vh;"> -->
  3. <view class="servant-list" style="height:100vh;">
  4. <view class="servant-item" wx:for="{{servantList}}" wx:key="index" data-workerno="{{item.workerNo}}" bindtap="viewMore">
  5. <view class="servant-item-left">
  6. <image src="{{item.headImage}}" mode="aspectFill" class="servant-img"></image>
  7. </view>
  8. <view class="servant-item-right">
  9. <view class="servant-top">
  10. <view class="servant-name">{{item.serverName}}</view>
  11. <view class="more-info" >
  12. <text>点击查看更多</text><van-icon name="arrow" size="12px"/>
  13. </view>
  14. </view>
  15. <view class="servant-main">
  16. <text class="servant-age">{{item.age}}岁</text>
  17. <text>{{item.nativePlace}}</text>
  18. </view>
  19. <view class="skill-certificate sub-color">技能证书:{{item.certificateName}}</view>
  20. <view class="servant-skill sub-color">擅长技能:{{item.skillNames}}</view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- </scroll-view> -->
  25. </view>