123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <!-- 轮播 -->
- <view
- class="page-section"
- wx:if="{{!!objShopDetail.shop_img_url}}">
- <swiper
- indicator-dots="{{false}}"
- indicator-color="rgba(130, 130, 130, 1)"
- indicator-active-color="#FFF"
- autoplay="{{false}}">
- <block
- wx:for="{{[objShopDetail.shop_img_url]}}"
- wx:key="*this">
- <swiper-item>
- <view class="swiper-item">
- <image
- mode="widthFix"
- src="{{item}}"></image>
- </view>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <view
- class="business-name">
- <view class="name-wrap">
- <text
- wx:for="{{objShopDetail.shop_name}}"
- wx:key="index">{{item}}</text>
- </view>
- <view
- class="btn-bookmark"
- bind:tap="shopCollect">
- <image
- src="../../image/common/bookmark_0.png"
- wx:if="{{searchForm.type === 1}}"></image>
- <image
- src="../../image/common/bookmark_1.png"
- wx:elif="{{searchForm.type === 2}}"></image>
- 收藏
- </view>
- </view>
- <customer-tab
- nav="{{nav}}"
- active="{{active}}"
- bind:change="handleNav"/>
- <!--详情-->
- <view
- class="business-info"
- hidden="{{active === '2'}}">
- <business-detail-large
- shopDetail="{{objShopDetail}}"/>
- </view>
- <!--产品-->
- <view
- class="goods-list"
- hidden="{{active === '1'}}">
- <goods-item-normal
- listData="{{listData}}"/>
- </view>
- <!-- 无数据 -->
- <view class="list-bitmap" wx:if="{{finished && listData.length < 1 && active === '2'}}">
- <image src="../../image/common/bitmap.png"></image>
- <text>暂无数据</text>
- </view>
- <view class="pullup-wrapper" wx:if="{{!isRefresh && active === '2'}}">
- <van-loading
- wx:if="{{!finished}}"
- size="24px"
- type="spinner">加载中...
- </van-loading>
- </view>
|