1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <view class="app_page-header-search page-header-search">
- <view class="app_page-header-search-warp">
- <label for="header-search">
- <image src="../../image/common/search@2x.png"></image>
- </label>
- <input
- placeholder-class="app_header-search-placeholder"
- value="{{searchForm.key_words}}"
- placeholder="搜索信息"
- data-formkey="key_words"
- bind:input="handleKeyWords"></input>
- </view>
- <van-icon
- style="margin-left: 4px;"
- color="#91B379"
- size="28px"
- name="filter-o" bind:tap="showPopop"/>
- </view>
- <scroll-view
- class="app_nav-wrap"
- scroll-x="{{true}}"
- scroll-with-animation="{{true}}"
- scroll-into-view="item-{{searchForm.category_id * 1 < 4 ? navScrollLeft : searchForm.category_id * 1 - 3}}">
- <view
- class="nav {{searchForm.category_id === item.id ? 'active' : ''}}"
- wx:for="{{categoryList}}"
- wx:key="id"
- data-item="{{item}}"
- bind:tap="handleNav">
- <view class="photo" id="item-{{index}}">
- <image src="{{item.category_img_url}}"></image>
- </view>
- <view class="name">{{item.category_name}}</view>
- </view>
- </scroll-view>
- <business-item-normal
- listData="{{listData}}"/>
- <!-- 无数据 -->
- <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
- <image src="../../image/common/bitmap.png"></image>
- <text>暂无数据</text>
- </view>
- <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
- <van-loading
- wx:if="{{!finished}}"
- size="24px"
- type="spinner">加载中...
- </van-loading>
- </view>
- <van-popup
- show="{{ booPopop }}"
- overlay="{{true}}"
- position="bottom"
- round
- bind:close="hidePopop">
- <view class="popup-body">
- <view class="popup-body-icon"></view>
- <view class="popup-body-title">筛选</view>
- <van-checkbox-group
- value="{{ shop_type }}"
- bind:change="onChange">
- <view
- class="form-item"
- wx:for="{{arrShopType}}"
- wx:key="index">
- <text class="form-item-label">{{item.name}}</text>
- <van-checkbox
- checked-color="#91B379"
- name="{{item.value}}"></van-checkbox>
- </view>
- </van-checkbox-group>
- </view>
- </van-popup>
|