index.wxml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <nav type="title" background-color="#ffffff" frontColor="#000000" title="望仙谷" wx:if="{{showNav}}" />
  2. <scroll-view class="all" scroll-y="true" bindscroll="onScroll" style="padding-bottom: {{50+bottomNavHeight}}px;">
  3. <!-- 轮播图 -->
  4. <view class="picturebox">
  5. <swiper autoplay="{{true}}" interval="{{3000}}" duration="{{500}}" class="img" bindchange="onSwiperChange">
  6. <block wx:for="{{imageUrls}}" wx:key="index" wx:for-item="img">
  7. <swiper-item class="img">
  8. <image src="{{img}}" mode="aspectFill"></image>
  9. </swiper-item>
  10. </block>
  11. </swiper>
  12. <view class="numberbox">{{index}}/{{imageUrls.length}}</view>
  13. </view>
  14. <!-- 滑动条bug -->
  15. <!-- 民宿信息 -->
  16. <view class="Legendary-Information">
  17. <view class="text">
  18. <view class="namebox">
  19. <view class="name">望·三清艺术部落 ></view>
  20. <view class="adress">地点地点地点地点地点地点地点地点地点地点地点地点地点地点地点地点地点地点</view>
  21. </view>
  22. <view class="markerbox">
  23. <view>
  24. <van-icon name="location-o" size='25px' />
  25. |
  26. <van-icon name="phone-o" size='25px' />
  27. </view>
  28. </view>
  29. </view>
  30. <!-- 日期 -->
  31. <view class="datebox" bindtap="onDisplay">
  32. <view class="start">{{date_start}}</view>
  33. <view class="day">共4晚</view>
  34. <view class="end">{{date_end}}</view>
  35. </view>
  36. <van-calendar show="{{ show }}" show-confirm="{{ true }}" confirm-text="完成" confirm-disabled-text='完成' type="range" bind:close="onClose" bind:confirm="onConfirm" color='#ff0000' position='top' />
  37. <!-- 卡片 -->
  38. <view class="cardbox" wx:for="{{cardarr}}">
  39. <view class="card">
  40. <image class="img" src='https://tse4-mm.cn.bing.net/th/id/OIP-C.3r1vguZyWFUJ80A2Nf2k3AHaEK?rs=1&pid=ImgDetMain'></image>
  41. <view class="name">彩虹木屋</view>
  42. <view class="intruduce">整房1室·1床·适用2人</view>
  43. <view class="buttombox">
  44. <view class="salary">
  45. <view class="symbol">¥</view>
  46. <view class="number">0.00</view>
  47. </view>
  48. <view class="buttom">预定</view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </scroll-view>