VR.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <view class="wrapper">
  2. <view class="app_page-header-search">
  3. <view class="app_page-header-search-warp app_width-690">
  4. <label for="header-search">
  5. <image src="../../image/common/search@2x.png"></image>
  6. </label>
  7. <input
  8. placeholder-class="app_header-search-placeholder"
  9. value="{{searchForm.key_words}}"
  10. placeholder="搜索信息"
  11. data-formkey="key_words"
  12. bind:input="handleKeyWords"></input>
  13. </view>
  14. </view>
  15. <view class="page-section">
  16. <swiper
  17. interval="{{2000}}"
  18. autoplay="{{false}}">
  19. <block
  20. wx:for="{{topSwiperData}}"
  21. wx:key="*this">
  22. <swiper-item
  23. class="swiper-item-wrap"
  24. data-item="{{item}}"
  25. bind:tap="jumpVRDetail">
  26. <view class="swiper-item {{item}}">
  27. <image src="{{item.vr_img_url}}"></image>
  28. <view class="info">
  29. <view class="name">{{item.vr_name}}</view>
  30. <view class="address">{{item.vr_introduce}}</view>
  31. </view>
  32. </view>
  33. </swiper-item>
  34. </block>
  35. </swiper>
  36. </view>
  37. <view class="page-title">VR菜园</view>
  38. <view class="main">
  39. <view
  40. class="list"
  41. wx:for="{{listData}}"
  42. wx:key="id"
  43. data-item="{{item}}"
  44. bind:tap="jumpVRDetail">
  45. <view class="photo-wrap">
  46. <image src="{{item.vr_img_url}}"></image>
  47. </view>
  48. <view class="info">
  49. <view class="name">{{item.vr_name}}</view>
  50. <view class="address">{{item.vr_introduce}}</view>
  51. </view>
  52. </view>
  53. <!-- 无数据 -->
  54. <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
  55. <image src="../../image/common/bitmap.png"></image>
  56. <text>暂无数据</text>
  57. </view>
  58. <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
  59. <van-loading
  60. wx:if="{{!finished}}"
  61. size="24px"
  62. type="spinner">加载中...
  63. </van-loading>
  64. </view>
  65. </view>
  66. </view>