index.wxml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <nav type="title" background-color="#ffffff" frontColor="#000000" title="望仙谷" />
  2. <scroll-view class="all" scroll-y="true" bindscroll="onScroll" style="height: {{contentHeight}}rpx;">
  3. <view class="picturebox">
  4. <view class="img">
  5. <image src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/jc17lo114657420.jpg"></image>
  6. </view>
  7. <!-- 日期 -->
  8. <view class="infobox">
  9. <view class="seach">
  10. <van-search shape="round" value="{{ value }}" placeholder="请输入地点/门店名称/关键词" />
  11. </view>
  12. <view class="datebox" bindtap="onDisplay">
  13. <view class="start">{{date_start}}</view>
  14. <view class="today" wx:if="{{istoday}}">今天</view>
  15. <view class="day">共{{daysBetween}}晚</view>
  16. <view class="end">{{date_end}}</view>
  17. <view class="today" wx:if="{{istoday}}">明天</view>
  18. </view>
  19. <van-calendar show="{{ show }}" show-confirm="{{ true }}" confirm-text="完成" confirm-disabled-text='完成' type="range" bind:close="onClose" bind:confirm="onConfirm" color='#ff0000' position='top' />
  20. </view>
  21. </view>
  22. <view class="Legendary-Information">
  23. <block wx:for="{{storeList}}">
  24. <view class="picbox" wx:if="{{index==1}}">
  25. <view class="pic-2"></view>
  26. <block wx:for="{{3}}">
  27. <view class="pic-1">
  28. <view class="pic-1tex">望仙乡</view>
  29. <view class="pic-1tex2">35%用户选择</view>
  30. </view>
  31. </block>
  32. </view>
  33. <view class="cardbox">
  34. <image class="pic" src="{{item.image[0]}}" data-id="{{item.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl"></image>
  35. <view class="textobx">
  36. <view class="title" data-id="{{item.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  37. <view class="til">{{item.storeName}}</view>
  38. <image class="collect" wx:if="{{!item.iscollect}}" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/2gcp1e030048570.png?imageView2/1/w/200/h/200"></image>
  39. <image class="collect" wx:if="{{item.iscollect}}" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/8mp9uj030058190.png?imageView2/1/w/200/h/200"></image>
  40. </view>
  41. <view class="miaosu" wx:if="{{item.desc}}" data-id="{{item.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  42. {{item.desc}}
  43. </view>
  44. <view class="bottom">
  45. <view class="qian" data-id="{{item.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  46. <view class="numbox">
  47. {{item.price}}
  48. </view>
  49. </view>
  50. <view class="soucang" wx:if="{{!item.iscollect}}" data-id="{{item.objectId}}" bindtap="submit" >收藏</view>
  51. <view class="soucang" wx:if="{{item.iscollect}}" data-id="{{item.objectId}}" bindtap="cancle" >取消</view>
  52. </view>
  53. </view>
  54. </view>
  55. </block>
  56. </view>
  57. </scroll-view>