businessDetail.wxml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 class="business-name">
  21. <text
  22. wx:for="{{objShopDetail.user_name}}"
  23. wx:key="index">{{item}}</text>
  24. <image src="../../image/common/bookmark_1.png"></image>
  25. </view>
  26. <customer-tab
  27. nav="{{nav}}"
  28. active="{{active}}"
  29. bind:change="handleNav"/>
  30. <!--详情-->
  31. <view
  32. class="business-info"
  33. hidden="{{active === '2'}}">
  34. <business-detail-large
  35. shopDetail="{{objShopDetail}}"/>
  36. </view>
  37. <!--产品-->
  38. <view
  39. class="goods-list"
  40. hidden="{{active === '1'}}">
  41. <goods-item-normal
  42. wx:for="{{listData}}"
  43. wx:key="id"
  44. item="{{item}}"/>
  45. </view>
  46. <view class="pullup-wrapper" wx:if="{{!isRefresh && active === '2'}}">
  47. <van-loading
  48. wx:if="{{!finished}}"
  49. size="24px"
  50. type="spinner">加载中...
  51. </van-loading>
  52. </view>