You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

127 lines
6.7 KiB

<scroll-view style="background: #f2f1f6;height: calc(100vh - 88rpx);" scroll-y bindscroll="nobindscroll" refresher-enabled refresher-default-style="black" refresher-background="#fff" refresher-triggered="{{triggered}}" bindrefresherrefresh="onRefresh" bindscrolltolower='onScrolltolower'>
<!-- 轮播 -->
<view class="banner">
<swiper indicator-dots="{{false}}" autoplay="true" indicator-dots indicator-active-color="#3476fe" interval="3000" duration="500" style='height:248rpx;width:100%;border-radius: 20rpx;' circular="true">
<block wx:for="{{banner_img}}" wx:key="picUrl">
<swiper-item>
<view style="width: 100%;height:248rpx;; overflow: hidden; overflow: hidden;" data-data="{{item}}" bindtap="click_banner">
<image style="width: 100%;height:248rpx; border-radius: 20rpx;" src="{{item.picUrl}}" mode="aspectFill">
</image>
</view>
</swiper-item>
</block>
</swiper>
</view>
<!-- 注册通知 -->
<view class="sentiment">
<view class="sentiment_ico">
<image src="/images/index/laba.png" class="sreach_icon" mode="widthFix">
</image>
</view>
<view class="sentiment_text">
<swiper style='height:88rpx;width:100%;border-radius: 20rpx;line-height: 88rpx;' vertical="true" autoplay="true" circular="true" interval="5000">
<block wx:for="{{sentiment_list}}" wx:key="item">
<swiper-item>
<text style="margin-right: 15rpx;font-size: 28rpx;">恭喜</text><text style="font-size: 28rpx;">{{item}}</text><text style="margin-left: 15rpx; font-size: 28rpx;">成功注册会员</text>
</swiper-item>
</block>
</swiper>
</view>
<!-- <view class="sentiment_img" bindtap="toranking">
<image src="{{imageServerUrl}}index/sentiment.png"></image>
</view> -->
</view>
<!-- 筛选 -->
<view class="condition" wx:if="{{!is_scrool_top}}">
<view class="condition_list" wx:for="{{condition_list}}" wx:key='index' data-idx="{{index}}" bindtap="condition_btn">
<text style="color:{{ condition_idx == index ? '#3476FE' : '' }}">{{item.name|| item}}</text>
<image wx:if='{{condition_idx == index}}' src="/images/index/shrink.png"></image>
<image wx:else src="/images/index/unfold.png"></image>
</view>
<!-- 下拉框的封装 -->
<view class="condition_menus" bindtap="menus_btn" wx:if='{{ condition_idx!== null }}' style="height:calc(100vh - {{ (118 + 50 )}}rpx)">
<!-- 分类 -->
<block wx:if='{{ condition_idx == 0 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? classification_idx : ""}}'>
<view class="industry ">
<text wx:for='{{ classification_list }}' wx:key='index' id='a{{index}}' class="{{ classification_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="classification_btn" data-code="{{item.code}}">{{item.name}}</text>
</view>
</scroll-view>
</block>
<!-- 品牌 -->
<block wx:if='{{ condition_idx == 1 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? brand_idx : ""}}'>
<view class="industry ">
<text wx:for='{{ brand_list }}' wx:key='index' id='a{{index}}' class="{{ brand_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="brand_btn">{{item.name}}</text>
</view>
</scroll-view>
</block>
<!-- 年限 -->
<block wx:if='{{ condition_idx == 2 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? time_idx : ""}}'>
<view class="industry ">
<text wx:for='{{years_list }}' wx:key='index' id='a{{index}}' class="{{time_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="time_btn">{{item.name}}</text>
</view>
</scroll-view>
</block>
</view>
</view>
<view class="condition" wx:if="{{is_scrool_top}}"></view>
<!-- 列表 -->
<view class="showlist">
<block wx:if='{{showlist.length != 0}}'>
<block wx:for="{{showlist}}" wx:key='id'>
<block>
<buycar_card id="recruitment" buycar_card_data='{{item}}' bindbindshare="bindshare" />
</block>
</block>
</block>
<block wx:if="{{ showlist.length == 0 && !refresh }}">
<!-- 未选择筛选条件无数据 -->
<no_data bindreset='reset' prompt_txt='很抱歉,暂无匹配的信息~' have_data='{{ have_data }}' />
<!-- 已选择筛选条件无数据 -->
</block>
<view class="bottom_tip" wx:if="{{list_total == showlist.length && list_total != 0 && list_total >= 3 }}">
<text> 没有更多内容啦 ~ </text>
</view>
</view>
</scroll-view>
<!-- 筛选2 -->
<view class="condition is_scrool_top" wx:if="{{is_scrool_top}}" style="border-radius: 0;">
<view class="condition_list" wx:for="{{condition_list}}" wx:key='index' data-idx="{{index}}" bindtap="condition_btn">
<text style="color:{{ condition_idx == index ? '#3476FE' : '' }}">{{item.name|| item}}</text>
<image wx:if='{{condition_idx == index}}' src="/images/index/shrink.png"></image>
<image wx:else src="/images/index/unfold.png"></image>
</view>
<!-- 下拉框的封装 -->
<view class="condition_menus" bindtap="menus_btn" wx:if='{{ condition_idx!== null }}' style="height:calc(100vh - {{ (118 + 50 )}}rpx)">
<!-- 分类 -->
<block wx:if='{{ condition_idx == 0 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? classification_idx : ""}}'>
<view class="industry ">
<text wx:for='{{ classification_list }}' wx:key='index' id='a{{index}}' class="{{ classification_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="classification_btn">{{item.name}}</text>
</view>
</scroll-view>
</block>
<!-- 品牌 -->
<block wx:if='{{ condition_idx == 1 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? brand_idx : ""}}'>
<view class="industry ">
<text wx:for='{{ brand_list }}' wx:key='index' id='a{{index}}' class="{{ brand_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="brand_btn">{{item.name}}</text>
</view>
</scroll-view>
</block>
<!-- 年限 -->
<block wx:if='{{ condition_idx == 2 }}'>
<scroll-view scroll-y scroll-into-view='a{{ autoLoad ? time_idx : ""}}'>
<view class="industry ">
<text wx:for='{{years_list }}' wx:key='index' id='a{{index}}' class="{{time_idx == index ? 'active_industry' : '' }}" data-idx="{{index}}" data-id="{{item.id}}" catchtap="time_btn">{{item.name}}</text>
</view>
</scroll-view>
</block>
</view>
</view>