businessDetail.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!-- 轮播 -->
  2. <view class="page-section">
  3. <swiper
  4. indicator-dots="{{false}}"
  5. indicator-color="rgba(130, 130, 130, 1)"
  6. indicator-active-color="#FFF"
  7. autoplay="{{false}}">
  8. <block
  9. wx:for="{{[objShopDetail.shop_img_url]}}"
  10. wx:key="*this">
  11. <swiper-item>
  12. <view class="swiper-item">
  13. <image
  14. src="{{item}}"></image>
  15. </view>
  16. </swiper-item>
  17. </block>
  18. </swiper>
  19. </view>
  20. <view
  21. class="business-name"
  22. bind:tap="shopCollect">
  23. <text
  24. wx:for="{{objShopDetail.shop_name}}"
  25. wx:key="index">{{item}}</text>
  26. <image
  27. src="../../image/common/bookmark_0.png"
  28. wx:if="{{searchForm.type === 1}}"></image>
  29. <image
  30. src="../../image/common/bookmark_1.png"
  31. wx:elif="{{searchForm.type === 2}}"></image>
  32. </view>
  33. <customer-tab
  34. nav="{{nav}}"
  35. active="{{active}}"
  36. bind:change="handleNav"/>
  37. <!--详情-->
  38. <view
  39. class="business-info"
  40. hidden="{{active === '2'}}">
  41. <business-detail-large
  42. shopDetail="{{objShopDetail}}"/>
  43. </view>
  44. <!--产品-->
  45. <view
  46. class="goods-list"
  47. hidden="{{active === '1'}}">
  48. <goods-item-normal
  49. listData="{{listData}}"/>
  50. </view>
  51. <!-- 无数据 -->
  52. <view class="list-bitmap" wx:if="{{finished && listData.length < 1 && active === '2'}}">
  53. <image src="../../image/common/bitmap.png"></image>
  54. <text>暂无数据</text>
  55. </view>
  56. <view class="pullup-wrapper" wx:if="{{!isRefresh && active === '2'}}">
  57. <van-loading
  58. wx:if="{{!finished}}"
  59. size="24px"
  60. type="spinner">加载中...
  61. </van-loading>
  62. </view>