| 1 |
- <view class="{{['search-container','data-v-3d261834',themeName]}}"><view class="search-header data-v-3d261834"><block wx:if="{{banner.style}}"><view class="data-v-3d261834"><w-banner vue-id="71ed6141-1" content="{{banner.content}}" styles="{{banner.styles}}" class="data-v-3d261834" bind:__l="__l"></w-banner></view></block><view class="sort data-v-3d261834"><view data-event-opts="{{[['tap',[['handSortOptions',['all']]]]]}}" class="{{['data-v-3d261834','sort-item',[(!search.price&&!search.sale)?'sort-item--active':'']]}}" bindtap="__e"><text class="data-v-3d261834">综合</text></view><view data-event-opts="{{[['tap',[['handSortOptions',['price']]]]]}}" class="{{['data-v-3d261834','sort-item',[(search.price)?'sort-item--active':'']]}}" bindtap="__e"><text class="data-v-3d261834">价格</text><sort-icon class="m-l-10 data-v-3d261834" vue-id="71ed6141-2" status="{{search.price}}" active-color="{{themeColor}}" bind:__l="__l"></sort-icon></view><view data-event-opts="{{[['tap',[['handSortOptions',['sale']]]]]}}" class="{{['data-v-3d261834','sort-item',[(search.sale)?'sort-item--active':'']]}}" bindtap="__e"><text class="data-v-3d261834">销量</text><sort-icon class="m-l-10 data-v-3d261834" vue-id="71ed6141-3" status="{{search.sale}}" active-color="{{themeColor}}" bind:__l="__l"></sort-icon></view><view data-event-opts="{{[['tap',[['goSearch',['$event']]]]]}}" class="sort-item data-v-3d261834" bindtap="__e"><view class="data-v-3d261834"><u-icon vue-id="71ed6141-4" name="search" size="38" class="data-v-3d261834" bind:__l="__l"></u-icon></view></view><view class="sort-item data-v-3d261834"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" hidden="{{!(goodsCardStyle==='rectangle')}}" bindtap="__e" class="data-v-3d261834"><u-icon vue-id="71ed6141-5" name="grid" size="38" class="data-v-3d261834" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" hidden="{{!(goodsCardStyle==='square')}}" bindtap="__e" class="data-v-3d261834"><u-icon vue-id="71ed6141-6" name="list-dot" size="38" class="data-v-3d261834" bind:__l="__l"></u-icon></view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="{{['data-v-3d261834','sort-item',[(search.sale)?'sort-item--active':'']]}}" bindtap="__e"><text class="data-v-3d261834">筛选</text></view></view></view><mescroll-uni class="mescroll data-v-3d261834 vue-ref" vue-id="71ed6141-7" height="{{height}}" up="{{$root.a0}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['data-v-3d261834','goods-container','goods-container-'+goodsCardStyle]}}"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><goods-card class="goods-item data-v-3d261834" vue-id="{{('71ed6141-8-'+__i0__)+','+('71ed6141-7')}}" shape="{{goodsCardStyle}}" name="{{item.name}}" image="{{item.image}}" price="{{item.sell_price}}" minPrice="{{item.lineation_price}}" data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['goodsList','id',item.id,'id']]]]]]]}}" bindtap="__e" bind:__l="__l"></goods-card></block></view></mescroll-uni><u-popup bind:input="__e" class="screen-popup data-v-3d261834" vue-id="71ed6141-9" mode="bottom" border-radius="{{30}}" safe-area-inset-bottom="{{true}}" value="{{showScreen}}" data-event-opts="{{[['^input',[['__set_model',['','showScreen','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-col data-v-3d261834" style="height:100%;"><view class="bold text-center lg p-20 data-v-3d261834">筛选</view><view class="screen-content data-v-3d261834"><scroll-view style="height:800rpx;" scroll-y="true" class="data-v-3d261834"><view class="screen-item data-v-3d261834"><view class="bold data-v-3d261834">会员价</view><view class="brand-list flex flex-wrap m-t-30 data-v-3d261834"><block wx:for="{{vipLists}}" wx:for-item="item" wx:for-index="__i1__" wx:key="*this"><view data-event-opts="{{[['tap',[['handlemenber',['$0'],[[['vipLists','',__i1__,'value']]]]]]]}}" class="{{['brand-item','m-b-20','line-1','data-v-3d261834',(item.value===search.is_member_price)?'active':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view></view><view class="screen-item data-v-3d261834"><view class="bold data-v-3d261834">价格区间</view><view class="brand-list flex flex-wrap m-t-30 data-v-3d261834"><view class="price-item m-b-20 line-1 data-v-3d261834"><u-input bind:input="__e" vue-id="{{('71ed6141-10')+','+('71ed6141-9')}}" input-align="center" type="number" placeholder="最低价" clearable="{{false}}" value="{{search.min_price}}" data-event-opts="{{[['^input',[['__set_model',['$0','min_price','$event',[]],['search']]]]]}}" class="data-v-3d261834" bind:__l="__l"></u-input></view><view class="m-b-20 m-r-20 m-l-20 data-v-3d261834">——</view><view class="price-item m-b-20 line-1 data-v-3d261834"><u-input bind:input="__e" vue-id="{{('71ed6141-11')+','+('71ed6141-9')}}" input-align="center" type="number" placeholder="最高价" clearable="{{false}}" value="{{search.max_price}}" data-event-opts="{{[['^input',[['__set_model',['$0','max_price','$event',[]],['search']]]]]}}" class="data-v-3d261834" bind:__l="__l"></u-input></view></view></view><view class="screen-item data-v-3d261834"><view class="bold data-v-3d261834">品牌</view><view class="brand-list flex flex-wrap m-t-30 data-v-3d261834"><block wx:for="{{brandLists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleScreen',['$0'],[[['brandLists','',index]]]]]]]}}" class="{{['brand-item','m-b-20','line-1','data-v-3d261834',(item.id==search.brand_id)?'active':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view></view></scroll-view></view><view class="screen-footer flex-1 flex data-v-3d261834"><button class="btn btn--reset data-v-3d261834" hover-class="none" size="md" data-event-opts="{{[['tap',[['handleReset',['$event']]]]]}}" bindtap="__e">重置</button><button class="btn btn--confirm data-v-3d261834" hover-class="none" size="md" data-event-opts="{{[['tap',[['handleConfirm',['$event']]]]]}}" bindtap="__e">确定</button></view></view></u-popup></view>
|