index.wxml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!--nova-tourism/components/collect/index.wxml-->
  2. <nav type="title" background-color="#ffffff" frontColor="#000000" title="望仙谷" />
  3. <view class="all" style="height: {{contentHeight}}rpx;">
  4. <image class="img2" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/jc17lo114657420.jpg"></image>
  5. <van-tabs active="{{ active }}" color='#B2CEB9' title-inactive-color='#969696' title-active-color='#B2CEB9'>
  6. <van-tab title="云上风物">
  7. <view class="box">
  8. <view class="taps">
  9. <block wx:for="{{taps}}">
  10. <view class="tap">
  11. <image src="{{item.url}}"></image>
  12. <view class="tap-tex">{{item.tex}}</view>
  13. </view>
  14. </block>
  15. </view>
  16. <view class="box-tex">热门推荐</view>
  17. <view class="picturebox">
  18. <swiper autoplay="{{true}}" indicator-dots='{{true}}' indicator-color='#D9D9D9' indicator-active-color='#F8DA7F' interval="{{3000}}" circular duration="{{500}}" class="img" bindchange="onSwiperChange">
  19. <block wx:for="{{imageUrls}}" wx:key="index" wx:for-item="img">
  20. <swiper-item class="img">
  21. <image src="{{img}}" mode="aspectFill"></image>
  22. </swiper-item>
  23. </block>
  24. </swiper>
  25. </view>
  26. <!-- 望仙礼遇 -->
  27. <view class="wangbox">
  28. <view class="wang">望仙礼遇</view>
  29. <view class="wang2">望日w望月w来望仙w</view>
  30. </view>
  31. <view class="picturebox">
  32. <swiper autoplay="{{true}}" indicator-dots='{{true}}' indicator-color='#D9D9D9' indicator-active-color='#F8DA7F' interval="{{3000}}" circular duration="{{500}}" class="img" bindchange="onSwiperChange">
  33. <block wx:for="{{imageUrls}}" wx:key="index" wx:for-item="img">
  34. <swiper-item class="img">
  35. <image src="{{img}}" mode="aspectFill"></image>
  36. </swiper-item>
  37. </block>
  38. </swiper>
  39. </view>
  40. <view class="wang-cardbox">
  41. <block wx:for="{{4}}">
  42. <view class="wang-card" bindtap="gourl2">
  43. <image src="https://file-cloud.fmode.cn//tmp/srFPqGFAzeT5958c828d985e451ed4c0b452e39ff57a.jpeg"></image>
  44. <view class="wang-catex">粉黛胖挑主人杯(无礼盒)·手做</view>
  45. <view class="wang-numbox">
  46. <view class="wang-num">
  47. <view class="wang-num1">¥</view>
  48. <view class="wang-num2">19900</view>
  49. </view>
  50. <view class="wang-submit">购买</view>
  51. </view>
  52. </view>
  53. </block>
  54. </view>
  55. <view class="more">
  56. <view class="more-tex">查看更多 ></view>
  57. </view>
  58. <view class="wangbox">
  59. <view class="wang">妆造旅拍</view>
  60. </view>
  61. </view>
  62. </van-tab>
  63. <!-- 我的收藏 -->
  64. <van-tab title="我的收藏">
  65. <!-- 卡片 -->
  66. <view class="Legendary-Information" wx:if="{{storeList.length!=0}}">
  67. <block wx:for="{{storeList}}" wx:if="{{item.isCollect}}">
  68. <view class="cardbox">
  69. <image class="pic" src="{{item.homestayStore.cover}}" data-id="{{item.homestayStore.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl"></image>
  70. <view class="textobx">
  71. <view class="title" data-id="{{item.homestayStore.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  72. <view class="til">{{item.homestayStore.storeName}}</view>
  73. <image class="collect" wx:if="{{!item.isCollect}}" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/2gcp1e030048570.png?imageView2/1/w/200/h/200"></image>
  74. <image class="collect" wx:if="{{item.isCollect}}" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/8mp9uj030058190.png?imageView2/1/w/200/h/200"></image>
  75. </view>
  76. <view class="miaosu" wx:if="{{item.homestayStore.desc}}" data-id="{{item.homestayStore.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  77. {{item.homestayStore.desc}}
  78. </view>
  79. <view class="bottom">
  80. <view class="qian" data-id="{{item.homestayStore.objectId}}" data-url="../../pages/homestay/homestay-detail/index" bindtap="gourl">
  81. <view class="numbox">
  82. {{item.homestayStore.perCapita}}
  83. </view>
  84. </view>
  85. <view class="soucang" wx:if="{{!item.isCollect}}" data-id="{{item.homestayStore.objectId}}" bindtap="submit">收藏</view>
  86. <view class="soucang" wx:if="{{item.isCollect}}" data-id="{{item.homestayStore.objectId}}" bindtap="cancle">取消</view>
  87. </view>
  88. </view>
  89. </view>
  90. </block>
  91. </view>
  92. </van-tab>
  93. </van-tabs>
  94. </view>