index.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!--pages/index/index.wxml-->
  2. <view class="baseindex">
  3. <!-- 搜索框 -->
  4. <l-search-bar bindtap="search" class="l-container-class" placeholder="大家都在搜:在家兼职"
  5. bg-color="#f6f6f6"
  6. shape="circle"
  7. disabled="{{true}}"
  8. show-cancel="{{false}}"/>
  9. <!-- 轮播图 -->
  10. <swiper class="card-swiper {{DotStyle?'square-dot':'round-dot'}}" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500" bindchange="cardSwiper" indicator-color="#8799a3" indicator-active-color="#f37b1d">
  11. <swiper-item wx:for="{{swiperList}}" wx:key="id" class="{{cardCur==index?'cur':''}}">
  12. <view class="swiper-item">
  13. <image src="{{item.url}}" mode="aspectFill" wx:if="{{item.type=='image'}}"></image>
  14. <video src="{{item.url}}" autoplay loop muted show-play-btn="{{false}}" controls="{{false}}" objectFit="cover" wx:if="{{item.type=='video'}}"></video>
  15. </view>
  16. </swiper-item>
  17. </swiper>
  18. <!-- 火爆兼职标题 -->
  19. <view class="joblist-tittle" style="color:#333">
  20. 火爆兼职
  21. </view>
  22. <!-- 分割线 -->
  23. <view class="line"></view>
  24. <!-- 兼职信息列表 -->
  25. <block wx:for="{{jobList}}" wx:key="id">
  26. <view class="joblist" hover-class='wsui-btn__hover_list' hover-stay-time="100" hover-start-time="200" bindtap="job" data-id='{{item.id}}'>
  27. <view class="job-content-first">
  28. <view class="job-name" style="color:#333">{{item.tittle}}</view>
  29. <view class="job-price" style="color:#f37b1d">{{item.reward}}</view>
  30. </view>
  31. <view class="job-content-second">
  32. <view class="job-place">{{item.place}} </view>
  33. <view class="job-settlement" wx:if="{{item.settlement==1}}">日结</view>
  34. <view class="job-settlement" wx:if="{{item.settlement==2}}">周结</view>
  35. <view class="job-settlement" wx:if="{{item.settlement==3}}">完工结</view>
  36. </view>
  37. <view class="job-content-third">
  38. <view class="cu-tag bg-orange.light" wx:if="{{item.isBagEating==1}}">包吃</view>
  39. <view class="cu-tag bg-orange.light" wx:if="{{item.encase==1}}">包住</view>
  40. <view class="cu-tag bg-orange.light" wx:if="{{item.isTrafficSubsidy==1}}">交通补贴</view>
  41. <view class="cu-tag bg-orange.light" wx:if="{{item.royalty==1}}">有提成</view>
  42. </view>
  43. </view>
  44. <!-- 分割线 -->
  45. <view class="line"></view>
  46. </block>
  47. <view class="bottom-tips" wx:if="{{isover==1}}">
  48. —— 已经到底啦~ ——
  49. </view>
  50. </view>