2025-06-20 22:03:24 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="app-container">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
|
|
<!-- 小程序背景图片 -->
|
|
|
|
|
<image class="mp-background" src="/static/icon/background2.png" mode="aspectFill"></image>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
|
|
|
|
|
<view class="nav-hidden hidden-animation" :class="{ 'hidden-height': shouldHideTop }">
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<view class="container-search">
|
|
|
|
|
<view class="search-input button-click" @click="navTo('/pages/search/search')">
|
|
|
|
|
<uni-icons class="iconsearch" color="#666666" type="search" size="18"></uni-icons>
|
|
|
|
|
<text class="inpute">职位名称、薪资要求等</text>
|
|
|
|
|
</view>
|
2025-09-29 11:53:10 +08:00
|
|
|
|
<!-- <view class="chart button-click">职业图谱</view> -->
|
2025-06-20 22:03:24 +08:00
|
|
|
|
</view>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="cards" v-if="userInfo.userType !== 0">
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="card press-button" @click="handleNearbyClick">
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<view class="card-title">附近工作</view>
|
|
|
|
|
<view class="card-text">好岗职等你来</view>
|
|
|
|
|
</view>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<!-- <view class="card press-button" @click="navTo('/packageA/pages/choiceness/choiceness')">
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<view class="card-title">精选企业</view>
|
|
|
|
|
<view class="card-text">优选职得信赖</view>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 服务功能网格 -->
|
|
|
|
|
<view class="service-grid" v-if="userInfo.userType !== 0">
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('service-guidance')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-1">
|
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">服务指导</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('public-recruitment')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-2">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">事业单位招录</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('resume-creation')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-3">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">简历制作</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('labor-policy')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-4">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">劳动政策指引</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('skill-training')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-5">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">技能培训信息</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('skill-evaluation')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-6">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">技能评价指引</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('question-bank')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-7">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">题库和考试</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('quality-assessment')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-8">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">素质测评</view>
|
|
|
|
|
</view>
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<view class="service-item press-button" @click="handleServiceClick('ai-interview')">
|
2025-10-16 16:44:30 +08:00
|
|
|
|
<view class="service-icon service-icon-9">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<uni-icons type="auth-filled" size="32" color="#FFFFFF"></uni-icons>
|
2025-10-16 16:44:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="service-title">AI智能面试</view>
|
2025-06-20 22:03:24 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<!-- 吸顶筛选区域占位 -->
|
|
|
|
|
<view class="filter-placeholder" v-if="shouldStickyFilter && userInfo.userType !== 0"></view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="nav-filter" :class="{ 'sticky-filter': shouldStickyFilter }" v-if="userInfo.userType !== 0">
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<view class="filter-top" @touchmove.stop.prevent>
|
|
|
|
|
<scroll-view :scroll-x="true" :show-scrollbar="false" class="tab-scroll">
|
|
|
|
|
<view class="jobs-left">
|
|
|
|
|
<view
|
|
|
|
|
class="job button-click"
|
|
|
|
|
:class="{ active: state.tabIndex === 'all' }"
|
|
|
|
|
@click="choosePosition('all')"
|
|
|
|
|
>
|
|
|
|
|
全部
|
|
|
|
|
</view>
|
|
|
|
|
<view
|
|
|
|
|
class="job button-click"
|
|
|
|
|
:class="{ active: state.tabIndex === index }"
|
|
|
|
|
v-for="(item, index) in userInfo.jobTitle"
|
|
|
|
|
:key="index"
|
|
|
|
|
@click="choosePosition(index)"
|
|
|
|
|
>
|
|
|
|
|
{{ item }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</scroll-view>
|
|
|
|
|
<view class="jobs-add button-click" @click="navTo('/packageA/pages/addPosition/addPosition')">
|
|
|
|
|
<uni-icons class="iconsearch" color="#666D7F" type="plusempty" size="18"></uni-icons>
|
|
|
|
|
<text>添加</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="filter-bottom">
|
|
|
|
|
<view class="btm-left">
|
|
|
|
|
<view
|
|
|
|
|
class="button-click filterbtm"
|
|
|
|
|
:class="{ active: pageState.search.order === item.value }"
|
|
|
|
|
v-for="item in rangeOptions"
|
|
|
|
|
@click="handelHostestSearch(item)"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
>
|
|
|
|
|
{{ item.text }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btm-right button-click" @click="openFilter">
|
|
|
|
|
筛选
|
|
|
|
|
<image class="right-sx" :class="{ active: showFilter }" src="@/static/icon/shaixun.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="table-list">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<scroll-view
|
|
|
|
|
:scroll-y="true"
|
|
|
|
|
class="falls-scroll"
|
|
|
|
|
@scroll="handleScroll"
|
|
|
|
|
@scrolltolower="scrollBottom"
|
|
|
|
|
:enable-back-to-top="false"
|
|
|
|
|
:scroll-with-animation="false"
|
|
|
|
|
>
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<view class="falls" v-if="list.length">
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
|
|
<!-- 小程序使用具名插槽 -->
|
|
|
|
|
<custom-waterfalls-flow
|
|
|
|
|
:column="columnCount"
|
|
|
|
|
:columnSpace="columnSpace"
|
|
|
|
|
ref="waterfallsFlowRef"
|
|
|
|
|
:value="list"
|
|
|
|
|
>
|
|
|
|
|
<view v-for="(job, index) in list" :key="index" :slot="`slot${index}`">
|
|
|
|
|
<view class="item btn-feel" v-if="!job.recommend">
|
|
|
|
|
<view class="falls-card" @click="nextDetail(job)">
|
|
|
|
|
<view class="falls-card-pay">
|
|
|
|
|
<view class="pay-text">
|
|
|
|
|
<Salary-Expectation
|
|
|
|
|
:max-salary="job.maxSalary"
|
|
|
|
|
:min-salary="job.minSalary"
|
|
|
|
|
:is-month="true"
|
|
|
|
|
></Salary-Expectation>
|
|
|
|
|
</view>
|
|
|
|
|
<image v-if="job.isHot" class="flame" src="/static/icon/flame.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-title">{{ job.jobTitle }}</view>
|
|
|
|
|
<view class="fl_box fl_warp">
|
|
|
|
|
<view class="falls-card-education mar_ri10" v-if="job.education">
|
|
|
|
|
<dict-Label dictType="education" :value="job.education"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-experience" v-if="job.experience">
|
|
|
|
|
<dict-Label dictType="experience" :value="job.experience"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-company" v-show="isShowJw !== 3">
|
|
|
|
|
{{ config.appInfo.areaName }}
|
|
|
|
|
<!-- {{ job.jobLocation }} -->
|
|
|
|
|
<dict-Label dictType="area" :value="job.jobLocationAreaCode"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-pepleNumber">
|
|
|
|
|
<view>
|
|
|
|
|
<image class="point2" src="/static/icon/pintDate.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ job.postingDate || '发布日期' }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image class="point3" src="/static/icon/pointpeople.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ vacanciesTo(job.vacancies) }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-company2">
|
|
|
|
|
<image class="point3" src="/static/icon/point3.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ job.companyName }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="falls-card-matchingrate">
|
|
|
|
|
<view class=""><matchingDegree :job="job"></matchingDegree></view>
|
|
|
|
|
<uni-icons type="star" size="30"></uni-icons>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item" :class="{ isBut: job.isBut }" v-else>
|
|
|
|
|
<view class="recommend-card">
|
|
|
|
|
<view class="card-content">
|
|
|
|
|
<view class="recommend-card-title">在找「{{ job.jobCategory }}」工作吗?</view>
|
|
|
|
|
<view class="recommend-card-tip">{{ job.tip }}</view>
|
|
|
|
|
<view class="recommend-card-line"></view>
|
|
|
|
|
<view class="recommend-card-controll">
|
|
|
|
|
<view class="controll-no" @click="clearfindJob(job)">不是</view>
|
|
|
|
|
<view class="controll-yes" @click="findJob(job)">是的</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</custom-waterfalls-flow>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<!-- #ifndef MP-WEIXIN -->
|
|
|
|
|
<!-- H5/App使用作用域插槽 -->
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<custom-waterfalls-flow
|
|
|
|
|
:column="columnCount"
|
|
|
|
|
:columnSpace="columnSpace"
|
|
|
|
|
ref="waterfallsFlowRef"
|
|
|
|
|
:value="list"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:default="job">
|
|
|
|
|
<view class="item btn-feel" v-if="!job.recommend">
|
|
|
|
|
<view class="falls-card" @click="nextDetail(job)">
|
|
|
|
|
<view class="falls-card-pay">
|
|
|
|
|
<view class="pay-text">
|
|
|
|
|
<Salary-Expectation
|
|
|
|
|
:max-salary="job.maxSalary"
|
|
|
|
|
:min-salary="job.minSalary"
|
|
|
|
|
:is-month="true"
|
|
|
|
|
></Salary-Expectation>
|
|
|
|
|
</view>
|
|
|
|
|
<image v-if="job.isHot" class="flame" src="/static/icon/flame.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-title">{{ job.jobTitle }}</view>
|
|
|
|
|
<view class="fl_box fl_warp">
|
|
|
|
|
<view class="falls-card-education mar_ri10" v-if="job.education">
|
|
|
|
|
<dict-Label dictType="education" :value="job.education"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-experience" v-if="job.experience">
|
|
|
|
|
<dict-Label dictType="experience" :value="job.experience"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2025-10-15 16:46:21 +08:00
|
|
|
|
<view class="falls-card-company" v-show="isShowJw !== 3">
|
|
|
|
|
{{ config.appInfo.areaName }}
|
2025-10-13 16:01:49 +08:00
|
|
|
|
<!-- {{ job.jobLocation }} -->
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<dict-Label dictType="area" :value="job.jobLocationAreaCode"></dict-Label>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-pepleNumber">
|
2025-07-09 15:15:37 +08:00
|
|
|
|
<view>
|
|
|
|
|
<image class="point2" src="/static/icon/pintDate.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ job.postingDate || '发布日期' }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image class="point3" src="/static/icon/pointpeople.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ vacanciesTo(job.vacancies) }}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="falls-card-company2">
|
|
|
|
|
<image class="point3" src="/static/icon/point3.png"></image>
|
|
|
|
|
<view class="fl_1">
|
|
|
|
|
{{ job.companyName }}
|
|
|
|
|
</view>
|
2025-06-20 22:03:24 +08:00
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="falls-card-matchingrate">
|
|
|
|
|
<view class=""><matchingDegree :job="job"></matchingDegree></view>
|
|
|
|
|
<uni-icons type="star" size="30"></uni-icons>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item" :class="{ isBut: job.isBut }" v-else>
|
|
|
|
|
<view class="recommend-card">
|
|
|
|
|
<view class="card-content">
|
|
|
|
|
<view class="recommend-card-title">在找「{{ job.jobCategory }}」工作吗?</view>
|
|
|
|
|
<view class="recommend-card-tip">{{ job.tip }}</view>
|
|
|
|
|
<view class="recommend-card-line"></view>
|
|
|
|
|
<view class="recommend-card-controll">
|
|
|
|
|
<view class="controll-no" @click="clearfindJob(job)">不是</view>
|
|
|
|
|
<view class="controll-yes" @click="findJob(job)">是的</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
</custom-waterfalls-flow>
|
2025-10-20 11:05:11 +08:00
|
|
|
|
<!-- #endif -->
|
2025-06-20 22:03:24 +08:00
|
|
|
|
<loadmore ref="loadmoreRef"></loadmore>
|
|
|
|
|
</view>
|
|
|
|
|
<empty v-else pdTop="200"></empty>
|
|
|
|
|
</scroll-view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 筛选 -->
|
|
|
|
|
<select-filter ref="selectFilterModel"></select-filter>
|
2025-06-26 08:56:42 +08:00
|
|
|
|
|
2025-10-20 11:43:44 +08:00
|
|
|
|
<!-- 微信授权登录弹窗 -->
|
|
|
|
|
<WxAuthLogin ref="wxAuthLoginRef" @success="handleLoginSuccess"></WxAuthLogin>
|
|
|
|
|
|
2025-07-09 15:15:37 +08:00
|
|
|
|
<!-- <view class="maskFristEntry" v-if="maskFristEntry">
|
2025-06-26 08:56:42 +08:00
|
|
|
|
<view class="entry-content">
|
2025-07-09 15:15:37 +08:00
|
|
|
|
<text class="text1">左滑查看视频</text>
|
|
|
|
|
<text class="text2">左滑查看视频</text>
|
|
|
|
|
<view class="goExperience">去体验</view>
|
|
|
|
|
<view class="maskFristEntry-Close" @click="closeFristEntry">1</view>
|
2025-06-26 08:56:42 +08:00
|
|
|
|
</view>
|
2025-07-09 15:15:37 +08:00
|
|
|
|
</view> -->
|
2025-06-20 22:03:24 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
import { reactive, inject, watch, ref, onMounted, watchEffect, nextTick } from 'vue';
|
|
|
|
|
import img from '@/static/icon/filter.png';
|
|
|
|
|
import dictLabel from '@/components/dict-Label/dict-Label.vue';
|
2025-09-29 11:53:10 +08:00
|
|
|
|
const { $api, navTo, vacanciesTo, formatTotal, config } = inject('globalFunction');
|
2025-06-20 22:03:24 +08:00
|
|
|
|
import { onLoad, onShow } from '@dcloudio/uni-app';
|
|
|
|
|
import { storeToRefs } from 'pinia';
|
|
|
|
|
import useUserStore from '@/stores/useUserStore';
|
2025-10-20 11:43:44 +08:00
|
|
|
|
const { userInfo, hasLogin, token } = storeToRefs(useUserStore());
|
2025-06-20 22:03:24 +08:00
|
|
|
|
import useDictStore from '@/stores/useDictStore';
|
|
|
|
|
const { getTransformChildren, oneDictData } = useDictStore();
|
|
|
|
|
import useLocationStore from '@/stores/useLocationStore';
|
|
|
|
|
import selectFilter from '@/components/selectFilter/selectFilter.vue';
|
|
|
|
|
import { useRecommedIndexedDBStore, jobRecommender } from '@/stores/useRecommedIndexedDBStore.js';
|
|
|
|
|
import { useScrollDirection } from '@/hook/useScrollDirection';
|
|
|
|
|
import { useColumnCount } from '@/hook/useColumnCount';
|
2025-10-20 11:43:44 +08:00
|
|
|
|
import WxAuthLogin from '@/components/WxAuthLogin/WxAuthLogin.vue';
|
2025-10-20 11:05:11 +08:00
|
|
|
|
// 滚动状态管理
|
|
|
|
|
const shouldHideTop = ref(false);
|
|
|
|
|
const shouldStickyFilter = ref(false);
|
|
|
|
|
const isScrollingDown = ref(false);
|
|
|
|
|
const scrollTop = ref(0);
|
|
|
|
|
|
|
|
|
|
// 优化的滚动处理函数
|
|
|
|
|
let scrollTimer = null;
|
|
|
|
|
function handleScroll(e) {
|
|
|
|
|
// 节流处理,减少性能消耗
|
|
|
|
|
if (scrollTimer) return;
|
|
|
|
|
|
|
|
|
|
scrollTimer = setTimeout(() => {
|
|
|
|
|
const currentScrollTop = e.detail.scrollTop;
|
|
|
|
|
|
|
|
|
|
// 控制顶部区域隐藏
|
|
|
|
|
if (currentScrollTop > 50) {
|
|
|
|
|
if (!shouldHideTop.value) {
|
|
|
|
|
shouldHideTop.value = true;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (shouldHideTop.value) {
|
|
|
|
|
shouldHideTop.value = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 控制筛选区域吸顶
|
|
|
|
|
if (currentScrollTop > 100) {
|
|
|
|
|
if (!shouldStickyFilter.value) {
|
|
|
|
|
shouldStickyFilter.value = true;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (shouldStickyFilter.value) {
|
|
|
|
|
shouldStickyFilter.value = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
scrollTimer = null;
|
|
|
|
|
}, 16); // 约60fps
|
|
|
|
|
}
|
2025-06-20 22:03:24 +08:00
|
|
|
|
const recommedIndexDb = useRecommedIndexedDBStore();
|
2025-06-26 08:56:42 +08:00
|
|
|
|
const emits = defineEmits(['onShowTabbar']);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
const waterfallsFlowRef = ref(null);
|
|
|
|
|
const loadmoreRef = ref(null);
|
|
|
|
|
const conditionSearch = ref({});
|
|
|
|
|
const waterfallcolumn = ref(2);
|
2025-06-26 08:56:42 +08:00
|
|
|
|
const maskFristEntry = ref(false);
|
2025-10-20 11:43:44 +08:00
|
|
|
|
const wxAuthLoginRef = ref(null);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
const state = reactive({
|
|
|
|
|
tabIndex: 'all',
|
|
|
|
|
});
|
|
|
|
|
const list = ref([]);
|
|
|
|
|
const pageState = reactive({
|
|
|
|
|
page: 0,
|
|
|
|
|
total: 0,
|
|
|
|
|
maxPage: 2,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
search: {
|
|
|
|
|
order: 0,
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
const inputText = ref('');
|
|
|
|
|
const showFilter = ref(false);
|
|
|
|
|
const selectFilterModel = ref(null);
|
|
|
|
|
const showModel = ref(false);
|
|
|
|
|
const rangeOptions = ref([
|
|
|
|
|
{ value: 0, text: '推荐' },
|
|
|
|
|
{ value: 1, text: '最热' },
|
|
|
|
|
{ value: 2, text: '最新发布' },
|
2025-09-29 11:53:10 +08:00
|
|
|
|
{ value: 3, text: '疆外' },
|
2025-06-20 22:03:24 +08:00
|
|
|
|
]);
|
|
|
|
|
const isLoaded = ref(false);
|
2025-06-26 08:56:42 +08:00
|
|
|
|
|
2025-06-20 22:03:24 +08:00
|
|
|
|
const { columnCount, columnSpace } = useColumnCount(() => {
|
|
|
|
|
pageState.pageSize = 10 * (columnCount.value - 1);
|
|
|
|
|
getJobRecommend('refresh');
|
|
|
|
|
nextTick(() => {
|
|
|
|
|
waterfallsFlowRef.value?.refresh?.();
|
|
|
|
|
useLocationStore().getLocation();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
2025-10-20 11:05:11 +08:00
|
|
|
|
// 组件初始化时加载数据
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
getJobRecommend('refresh');
|
|
|
|
|
});
|
|
|
|
|
|
2025-10-20 11:43:44 +08:00
|
|
|
|
// 登录检查函数
|
|
|
|
|
const checkLogin = () => {
|
|
|
|
|
const tokenValue = uni.getStorageSync('token') || '';
|
|
|
|
|
if (!tokenValue || !hasLogin.value) {
|
|
|
|
|
// 未登录,打开授权弹窗
|
|
|
|
|
wxAuthLoginRef.value?.open();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 登录成功回调
|
|
|
|
|
const handleLoginSuccess = () => {
|
|
|
|
|
// 登录成功后刷新数据
|
|
|
|
|
getJobRecommend('refresh');
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 处理附近工作点击
|
|
|
|
|
const handleNearbyClick = () => {
|
|
|
|
|
if (checkLogin()) {
|
|
|
|
|
navTo('/pages/nearby/nearby');
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 处理服务功能点击
|
|
|
|
|
const handleServiceClick = (serviceType) => {
|
|
|
|
|
if (checkLogin()) {
|
|
|
|
|
navToService(serviceType);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2025-06-20 22:03:24 +08:00
|
|
|
|
async function loadData() {
|
|
|
|
|
try {
|
|
|
|
|
if (isLoaded.value) return;
|
|
|
|
|
isLoaded.value = true;
|
|
|
|
|
} catch (err) {
|
|
|
|
|
isLoaded.value = false; // 重置状态允许重试
|
|
|
|
|
throw err;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function scrollBottom() {
|
|
|
|
|
loadmoreRef.value.change('loading');
|
|
|
|
|
if (state.tabIndex === 'all') {
|
|
|
|
|
getJobRecommend();
|
|
|
|
|
} else {
|
|
|
|
|
getJobList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function findJob(job) {
|
|
|
|
|
if (job.isBut) {
|
|
|
|
|
$api.msg('已确认');
|
|
|
|
|
} else {
|
|
|
|
|
list.value = list.value.map((item) => {
|
|
|
|
|
if (item.recommend && item.jobCategory === job.jobCategory) {
|
|
|
|
|
return {
|
|
|
|
|
...item,
|
|
|
|
|
isBut: true,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
return item;
|
|
|
|
|
});
|
|
|
|
|
const jobstr = job.jobCategory;
|
|
|
|
|
const jobsObj = {
|
|
|
|
|
地区: 'area',
|
|
|
|
|
岗位: 'jobTitle',
|
|
|
|
|
经验: 'experience',
|
|
|
|
|
};
|
|
|
|
|
const [name, value] = jobstr.split(':');
|
|
|
|
|
const nameAttr = jobsObj[name];
|
|
|
|
|
if (name === '岗位') {
|
|
|
|
|
conditionSearch.value[nameAttr] = value;
|
|
|
|
|
} else {
|
|
|
|
|
const valueAttr = oneDictData(nameAttr).filter((item) => item.label === value);
|
|
|
|
|
if (valueAttr.length) {
|
|
|
|
|
const val = valueAttr[0].value;
|
|
|
|
|
conditionSearch.value[nameAttr] = val;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function clearfindJob(job) {
|
|
|
|
|
if (job.isBut) {
|
|
|
|
|
$api.msg('已确认');
|
|
|
|
|
} else {
|
|
|
|
|
list.value = list.value.map((item) => {
|
|
|
|
|
if (item.recommend && item.jobCategory === job.jobCategory) {
|
|
|
|
|
return {
|
|
|
|
|
...item,
|
|
|
|
|
isBut: true,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
return item;
|
|
|
|
|
});
|
|
|
|
|
recommedIndexDb.deleteRecords(job);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function nextDetail(job) {
|
2025-10-20 11:43:44 +08:00
|
|
|
|
// 登录检查
|
|
|
|
|
if (checkLogin()) {
|
2025-10-17 13:15:14 +08:00
|
|
|
|
// 记录岗位类型,用作数据分析
|
|
|
|
|
if (job.jobCategory) {
|
|
|
|
|
const recordData = recommedIndexDb.JobParameter(job);
|
|
|
|
|
recommedIndexDb.addRecord(recordData);
|
|
|
|
|
}
|
|
|
|
|
navTo(`/packageA/pages/post/post?jobId=${btoa(job.jobId)}`);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-16 16:44:30 +08:00
|
|
|
|
function navToService(serviceType) {
|
|
|
|
|
// 根据服务类型跳转到不同页面
|
|
|
|
|
const serviceRoutes = {
|
|
|
|
|
'service-guidance': '/pages/service/guidance',
|
|
|
|
|
'public-recruitment': '/pages/service/public-recruitment',
|
|
|
|
|
'resume-creation': '/packageA/pages/myResume/myResume',
|
|
|
|
|
'labor-policy': '/pages/service/labor-policy',
|
|
|
|
|
'skill-training': '/pages/service/skill-training',
|
|
|
|
|
'skill-evaluation': '/pages/service/skill-evaluation',
|
|
|
|
|
'question-bank': '/pages/service/question-bank',
|
|
|
|
|
'quality-assessment': '/pages/service/quality-assessment',
|
|
|
|
|
'ai-interview': '/pages/chat/chat',
|
|
|
|
|
'job-search': '/pages/search/search',
|
|
|
|
|
'career-planning': '/pages/service/career-planning',
|
|
|
|
|
'salary-query': '/pages/service/salary-query',
|
|
|
|
|
'company-info': '/pages/service/company-info',
|
|
|
|
|
'interview-tips': '/pages/service/interview-tips',
|
|
|
|
|
'employment-news': '/pages/service/employment-news',
|
|
|
|
|
'more-services': '/pages/service/more-services'
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const route = serviceRoutes[serviceType];
|
|
|
|
|
if (route) {
|
|
|
|
|
navTo(route);
|
|
|
|
|
} else {
|
|
|
|
|
$api.msg('功能开发中,敬请期待');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-20 22:03:24 +08:00
|
|
|
|
function openFilter() {
|
|
|
|
|
showFilter.value = true;
|
2025-06-26 08:56:42 +08:00
|
|
|
|
emits('onShowTabbar', false);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
selectFilterModel.value?.open({
|
|
|
|
|
title: '筛选',
|
|
|
|
|
maskClick: true,
|
|
|
|
|
success: (values) => {
|
|
|
|
|
pageState.search = {
|
|
|
|
|
...pageState.search,
|
|
|
|
|
};
|
|
|
|
|
for (const [key, value] of Object.entries(values)) {
|
2025-10-17 13:15:14 +08:00
|
|
|
|
// 特殊处理岗位类型,直接传递数字值
|
|
|
|
|
if (key === 'jobType') {
|
|
|
|
|
pageState.search.type = value.join(',');
|
|
|
|
|
} else {
|
|
|
|
|
pageState.search[key] = value.join(',');
|
|
|
|
|
}
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
showFilter.value = false;
|
|
|
|
|
getJobList('refresh');
|
|
|
|
|
},
|
|
|
|
|
cancel: () => {
|
|
|
|
|
showFilter.value = false;
|
2025-06-26 08:56:42 +08:00
|
|
|
|
emits('onShowTabbar', true);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function handleFilterConfirm(e) {
|
2025-10-20 11:05:11 +08:00
|
|
|
|
// 处理筛选确认
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function choosePosition(index) {
|
|
|
|
|
state.tabIndex = index;
|
|
|
|
|
list.value = [];
|
|
|
|
|
if (index === 'all') {
|
|
|
|
|
pageState.search = {
|
|
|
|
|
order: pageState.search.order,
|
|
|
|
|
};
|
|
|
|
|
inputText.value = '';
|
|
|
|
|
getJobRecommend('refresh');
|
|
|
|
|
} else {
|
|
|
|
|
// const id = useUserStore().userInfo.jobTitleId.split(',')[index];
|
|
|
|
|
pageState.search.jobTitle = userInfo.value.jobTitle[index];
|
|
|
|
|
inputText.value = '';
|
|
|
|
|
getJobList('refresh');
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-10-15 16:46:21 +08:00
|
|
|
|
const isShowJw = ref(0);
|
2025-06-20 22:03:24 +08:00
|
|
|
|
function handelHostestSearch(val) {
|
2025-10-15 16:46:21 +08:00
|
|
|
|
isShowJw.value = val.value;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
pageState.search.order = val.value;
|
2025-10-13 16:01:49 +08:00
|
|
|
|
pageState.search.jobType = val.value === 3 ? 1 : 0;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
if (state.tabIndex === 'all') {
|
|
|
|
|
getJobRecommend('refresh');
|
|
|
|
|
} else {
|
|
|
|
|
getJobList('refresh');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getJobRecommend(type = 'add') {
|
|
|
|
|
if (type === 'refresh') {
|
|
|
|
|
list.value = [];
|
|
|
|
|
if (waterfallsFlowRef.value) waterfallsFlowRef.value.refresh();
|
|
|
|
|
}
|
|
|
|
|
let params = {
|
|
|
|
|
pageSize: pageState.pageSize,
|
|
|
|
|
sessionId: useUserStore().seesionId,
|
|
|
|
|
...pageState.search,
|
|
|
|
|
...conditionSearch.value,
|
|
|
|
|
};
|
|
|
|
|
let comd = { recommend: true, jobCategory: '', tip: '确认你的兴趣,为您推荐更多合适的岗位' };
|
|
|
|
|
$api.createRequest('/app/job/recommend', params).then((resData) => {
|
|
|
|
|
const { data, total } = resData;
|
|
|
|
|
pageState.total = 0;
|
|
|
|
|
if (type === 'add') {
|
|
|
|
|
// 记录系统
|
|
|
|
|
recommedIndexDb.getRecord().then((res) => {
|
|
|
|
|
if (res.length) {
|
|
|
|
|
// 数据分析系统
|
|
|
|
|
const resultData = recommedIndexDb.analyzer(res);
|
|
|
|
|
const { sort, result } = resultData;
|
|
|
|
|
// 岗位询问系统
|
|
|
|
|
const conditionCounts = Object.fromEntries(
|
|
|
|
|
sort.filter((item) => item[1] > 1) // 过滤掉次数为 1 的项
|
|
|
|
|
);
|
|
|
|
|
jobRecommender.updateConditions(conditionCounts);
|
|
|
|
|
|
|
|
|
|
const question = jobRecommender.getNextQuestion();
|
|
|
|
|
|
|
|
|
|
if (question) {
|
|
|
|
|
comd.jobCategory = question;
|
|
|
|
|
data.unshift(comd);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const reslist = dataToImg(data);
|
|
|
|
|
list.value.push(...reslist);
|
|
|
|
|
});
|
|
|
|
|
} else {
|
2025-10-20 11:05:11 +08:00
|
|
|
|
const reslist = dataToImg(data);
|
|
|
|
|
list.value = reslist;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
// 切换状态
|
2025-07-21 14:49:45 +08:00
|
|
|
|
if (loadmoreRef.value && typeof loadmoreRef.value.change === 'function') {
|
|
|
|
|
if (data.length < pageState.pageSize) {
|
|
|
|
|
loadmoreRef.value.change('noMore');
|
|
|
|
|
} else {
|
|
|
|
|
loadmoreRef.value.change('more');
|
|
|
|
|
}
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
// 当没有岗位,刷新sessionId重新啦
|
|
|
|
|
if (!data.length) {
|
|
|
|
|
useUserStore().initSeesionId();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function getJobList(type = 'add') {
|
|
|
|
|
if (type === 'add' && pageState.page < pageState.maxPage) {
|
|
|
|
|
pageState.page += 1;
|
|
|
|
|
}
|
|
|
|
|
if (type === 'refresh') {
|
|
|
|
|
list.value = [];
|
|
|
|
|
pageState.page = 1;
|
|
|
|
|
pageState.maxPage = 2;
|
2025-07-22 15:20:21 +08:00
|
|
|
|
// waterfallsFlowRef.value.refresh();
|
|
|
|
|
if (waterfallsFlowRef.value) waterfallsFlowRef.value.refresh();
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
let params = {
|
|
|
|
|
current: pageState.page,
|
|
|
|
|
pageSize: pageState.pageSize,
|
|
|
|
|
...pageState.search,
|
|
|
|
|
// ...conditionSearch.value,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$api.createRequest('/app/job/list', params).then((resData) => {
|
|
|
|
|
const { rows, total } = resData;
|
|
|
|
|
if (type === 'add') {
|
|
|
|
|
const str = pageState.pageSize * (pageState.page - 1);
|
|
|
|
|
const end = list.value.length;
|
|
|
|
|
const reslist = dataToImg(rows);
|
|
|
|
|
list.value.splice(str, end, ...reslist);
|
|
|
|
|
} else {
|
|
|
|
|
list.value = dataToImg(rows);
|
|
|
|
|
}
|
|
|
|
|
pageState.total = resData.total;
|
|
|
|
|
pageState.maxPage = Math.ceil(pageState.total / pageState.pageSize);
|
2025-07-21 14:49:45 +08:00
|
|
|
|
// 切换状态
|
|
|
|
|
if (loadmoreRef.value && typeof loadmoreRef.value.change === 'function') {
|
|
|
|
|
if (rows.length < pageState.pageSize) {
|
|
|
|
|
loadmoreRef.value?.change('noMore');
|
|
|
|
|
} else {
|
|
|
|
|
loadmoreRef.value?.change('more');
|
|
|
|
|
}
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function dataToImg(data) {
|
2025-10-20 11:05:11 +08:00
|
|
|
|
const result = data.map((item) => ({
|
2025-06-20 22:03:24 +08:00
|
|
|
|
...item,
|
|
|
|
|
image: img,
|
|
|
|
|
hide: true,
|
|
|
|
|
}));
|
2025-10-20 11:05:11 +08:00
|
|
|
|
return result;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defineExpose({ loadData });
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
2025-07-09 15:15:37 +08:00
|
|
|
|
// .maskFristEntry
|
|
|
|
|
// position: fixed;
|
|
|
|
|
// // right: 20rpx;
|
|
|
|
|
// // bottom: calc(50% - 200rpx);
|
|
|
|
|
// height: 100vh
|
|
|
|
|
// width: 100vw
|
|
|
|
|
// background: rgba(0,0,0,0.3)
|
|
|
|
|
// .entry-content
|
|
|
|
|
// display: flex;
|
|
|
|
|
// align-items: center
|
|
|
|
|
// position: absolute
|
|
|
|
|
// left: 50%
|
|
|
|
|
// top: 40%
|
|
|
|
|
// transform: translate(-50%, -50%)
|
|
|
|
|
// flex-direction: column
|
|
|
|
|
// background: url('@/static/imgs/fristEntry.png') 0 0 no-repeat;
|
|
|
|
|
// background-size: 100% 100%;
|
|
|
|
|
// width: 480rpx
|
|
|
|
|
// height: 584rpx
|
|
|
|
|
// // padding-left: 80rpx
|
|
|
|
|
// .text1
|
|
|
|
|
// margin-top: 370rpx
|
|
|
|
|
// font-size: 36rpx
|
|
|
|
|
// background: linear-gradient(273.34deg, #356CFA 3.58%, #A47FFD 85.84%);
|
|
|
|
|
// -webkit-background-clip: text;
|
|
|
|
|
// -webkit-text-fill-color: transparent;
|
|
|
|
|
// background-clip: text; /* 有些浏览器兼容用 */
|
|
|
|
|
// text-fill-color: transparent;
|
|
|
|
|
// padding-left: 28rpx
|
|
|
|
|
// .text2
|
|
|
|
|
// padding-left: 28rpx
|
|
|
|
|
// margin-top: 8rpx
|
|
|
|
|
// font-size: 20rpx;
|
|
|
|
|
// color: #666666;
|
|
|
|
|
// text-align: center;
|
|
|
|
|
// .indicateArrow
|
|
|
|
|
// height: 76rpx
|
|
|
|
|
// width: 68rpx
|
|
|
|
|
// .indicatefristEntry
|
|
|
|
|
// width: 244rpx
|
|
|
|
|
// height: 244rpx
|
|
|
|
|
// .goExperience
|
|
|
|
|
// margin-left: 28rpx
|
|
|
|
|
// margin-top: 28rpx
|
|
|
|
|
// width: 160rpx;
|
|
|
|
|
// height: 60rpx;
|
|
|
|
|
// background: linear-gradient( 180deg, #9974FD 0%, #286BFA 100%);
|
|
|
|
|
// border-radius: 12rpx 12rpx 12rpx 12rpx;
|
|
|
|
|
// font-size: 28rpx;
|
|
|
|
|
// color: #FFFFFF;
|
|
|
|
|
// text-align: center;
|
|
|
|
|
// line-height: 60rpx
|
|
|
|
|
// .maskFristEntry-Close
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// left: calc(50% - 10rpx);
|
|
|
|
|
// bottom: -130rpx
|
|
|
|
|
// width: 42rpx
|
|
|
|
|
// height: 42rpx
|
|
|
|
|
// background: linear-gradient(273.34deg, #356CFA 3.58%, #A47FFD 85.84%);
|
|
|
|
|
// border-radius: 50%;
|
|
|
|
|
// .maskFristEntry-Close::before
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// left: calc( 50% - 2rpx)
|
|
|
|
|
// top: calc( 50% - 10rpx)
|
|
|
|
|
// transform: rotate(45deg);
|
|
|
|
|
// content: ''
|
|
|
|
|
// background: #FFFFFF
|
|
|
|
|
// width: 4rpx
|
|
|
|
|
// height: 20rpx
|
|
|
|
|
// .maskFristEntry-Close::after
|
|
|
|
|
// position: absolute;
|
|
|
|
|
// left: calc( 50% - 2rpx)
|
|
|
|
|
// top: calc( 50% - 10rpx)
|
|
|
|
|
// transform: rotate(-45deg);
|
|
|
|
|
// content: ''
|
|
|
|
|
// background: #FFFFFF
|
|
|
|
|
// width: 4rpx
|
|
|
|
|
// height: 20rpx
|
2025-06-26 08:56:42 +08:00
|
|
|
|
|
2025-06-20 22:03:24 +08:00
|
|
|
|
|
|
|
|
|
.app-container
|
|
|
|
|
width: 100%;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
height: 100vh;
|
|
|
|
|
/* #ifdef H5 */
|
2025-06-20 22:03:24 +08:00
|
|
|
|
height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
|
|
|
|
|
background: url('@/static/icon/background2.png') 0 0 no-repeat;
|
|
|
|
|
background-size: 100% 728rpx;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
/* #endif */
|
|
|
|
|
/* #ifdef MP-WEIXIN */
|
|
|
|
|
/* 小程序不支持CSS中的本地图片,使用image标签替代 */
|
|
|
|
|
position: relative;
|
|
|
|
|
/* #endif */
|
2025-06-20 22:03:24 +08:00
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
|
display: flex;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
flex-direction: column;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
/* #ifdef MP-WEIXIN */
|
|
|
|
|
.mp-background
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 728rpx;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
/* #endif */
|
|
|
|
|
.hidden-animation
|
|
|
|
|
max-height: 1000px;
|
|
|
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
will-change: max-height, opacity, transform;
|
|
|
|
|
|
|
|
|
|
.hidden-height
|
|
|
|
|
max-height: 0 !important;
|
|
|
|
|
padding-top: 0 !important;
|
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
|
opacity: 0 !important;
|
|
|
|
|
transform: translateY(-20rpx) !important;
|
|
|
|
|
will-change: max-height, opacity, transform;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.container-search
|
|
|
|
|
padding: 16rpx 24rpx
|
|
|
|
|
display: flex
|
|
|
|
|
justify-content: space-between
|
|
|
|
|
.search-input
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 100%
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
line-height: 80rpx
|
|
|
|
|
margin-right: 24rpx
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 75rpx 75rpx 75rpx 75rpx;
|
|
|
|
|
.iconsearch
|
|
|
|
|
padding-left: 36rpx
|
|
|
|
|
.inpute
|
|
|
|
|
margin-left: 20rpx
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #B5B5B5;
|
|
|
|
|
width: 100%
|
|
|
|
|
.chart
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
width: 170rpx;
|
|
|
|
|
background: radial-gradient( 0% 56% at 87% 61%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.47) 100%);
|
|
|
|
|
box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(210,210,210,0.14);
|
|
|
|
|
border-radius: 80rpx 80rpx 80rpx 80rpx;
|
|
|
|
|
border: 2rpx solid #FFFFFF;
|
|
|
|
|
text-align: center
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
color: #000000;
|
|
|
|
|
padding: 20rpx 30rpx
|
|
|
|
|
.cards
|
|
|
|
|
padding: 10rpx 28rpx
|
|
|
|
|
display: grid
|
|
|
|
|
grid-gap: 38rpx;
|
2025-10-16 16:44:30 +08:00
|
|
|
|
grid-template-columns: 1fr;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.card
|
|
|
|
|
height: calc(158rpx - 40rpx);
|
|
|
|
|
padding: 22rpx 26rpx
|
|
|
|
|
box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(210,210,210,0.14);
|
|
|
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
|
|
border: 2rpx solid #FFFFFF;
|
|
|
|
|
.card-title
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #000000;
|
|
|
|
|
.card-text
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #9E9E9E;
|
|
|
|
|
margin-top: 4rpx
|
|
|
|
|
.card:first-child
|
|
|
|
|
background: radial-gradient( 0% 56% at 87% 61%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.47) 100%),
|
|
|
|
|
url('@/static/icon/fujin.png');
|
|
|
|
|
background-size: 100%, 100%
|
|
|
|
|
.card:last-child
|
|
|
|
|
background: radial-gradient( 0% 56% at 87% 61%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.47) 100%),
|
|
|
|
|
url('@/static/icon/jinxuan.png');
|
|
|
|
|
background-size: 100%, 100%
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-position: center;
|
|
|
|
|
|
2025-10-16 16:44:30 +08:00
|
|
|
|
// 服务功能网格样式
|
|
|
|
|
.service-grid
|
|
|
|
|
padding: 20rpx 28rpx
|
|
|
|
|
display: grid
|
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr
|
|
|
|
|
grid-gap: 20rpx
|
|
|
|
|
.service-item
|
|
|
|
|
display: flex
|
|
|
|
|
flex-direction: column
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
height: 120rpx
|
|
|
|
|
background: transparent
|
|
|
|
|
padding: 10px 0px
|
|
|
|
|
.service-icon
|
|
|
|
|
width: 88rpx
|
|
|
|
|
height: 88rpx
|
|
|
|
|
border-radius: 12rpx
|
|
|
|
|
margin-bottom: 8rpx
|
|
|
|
|
flex-shrink: 0
|
|
|
|
|
.service-icon-1
|
|
|
|
|
background: linear-gradient(180deg, #FF8E8E 0%, #E53E3E 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-2
|
|
|
|
|
background: linear-gradient(180deg, #6ED5CE 0%, #38B2AC 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-3
|
|
|
|
|
background: linear-gradient(180deg, #6BC5D8 0%, #3182CE 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-4
|
|
|
|
|
background: linear-gradient(180deg, #FFB74D 0%, #ED8936 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-5
|
|
|
|
|
background: linear-gradient(180deg, #F06292 0%, #C2185B 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-6
|
|
|
|
|
background: linear-gradient(180deg, #FFB74D 0%, #ED8936 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-7
|
|
|
|
|
background: linear-gradient(180deg, #6BC5D8 0%, #3182CE 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-8
|
|
|
|
|
background: linear-gradient(180deg, #81C784 0%, #4CAF50 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-9
|
|
|
|
|
background: linear-gradient(180deg, #6BC5D8 0%, #3182CE 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: center
|
|
|
|
|
.service-icon-10
|
|
|
|
|
background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '🔍'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-11
|
|
|
|
|
background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '📈'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-12
|
|
|
|
|
background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '💰'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-13
|
|
|
|
|
background: linear-gradient(135deg, #607D8B 0%, #90A4AE 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '🏢'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-14
|
|
|
|
|
background: linear-gradient(135deg, #E91E63 0%, #F06292 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '💡'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-15
|
|
|
|
|
background: linear-gradient(135deg, #795548 0%, #A1887F 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '📰'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-icon-16
|
|
|
|
|
background: linear-gradient(135deg, #424242 0%, #757575 100%)
|
|
|
|
|
position: relative
|
|
|
|
|
&::before
|
|
|
|
|
content: '⚙️'
|
|
|
|
|
position: absolute
|
|
|
|
|
top: 50%
|
|
|
|
|
left: 50%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
font-size: 32rpx
|
|
|
|
|
.service-title
|
|
|
|
|
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif
|
|
|
|
|
font-weight: 500
|
|
|
|
|
font-size: 24rpx
|
|
|
|
|
color: #333333
|
|
|
|
|
text-align: center
|
|
|
|
|
line-height: 1.2
|
|
|
|
|
white-space: nowrap
|
|
|
|
|
overflow: hidden
|
|
|
|
|
text-overflow: ellipsis
|
|
|
|
|
width: 100%
|
|
|
|
|
max-width: 100%
|
|
|
|
|
|
2025-10-20 11:05:11 +08:00
|
|
|
|
// 吸顶筛选区域占位
|
|
|
|
|
.filter-placeholder
|
|
|
|
|
height: 120rpx; // 根据筛选区域的实际高度调整
|
|
|
|
|
width: 100%;
|
|
|
|
|
/* #ifdef H5 */
|
|
|
|
|
height: 0; // H5使用sticky,不需要占位
|
|
|
|
|
/* #endif */
|
|
|
|
|
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.nav-filter
|
2025-10-20 11:05:11 +08:00
|
|
|
|
padding: 16rpx 28rpx
|
|
|
|
|
box-sizing: border-box; /* 添加这行 */
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
|
|
&.sticky-filter
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
|
|
|
|
|
z-index: 100;
|
|
|
|
|
will-change: transform;
|
|
|
|
|
transform: translateZ(0); // 启用硬件加速
|
|
|
|
|
/* #ifdef H5 */
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
/* #endif */
|
|
|
|
|
/* #ifdef MP-WEIXIN */
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
padding: env(safe-area-inset-top) calc(28rpx + env(safe-area-inset-right)) 0 calc(28rpx + env(safe-area-inset-left));
|
|
|
|
|
/* #endif */
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.filter-top
|
|
|
|
|
display: flex
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
.tab-scroll
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: hidden;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
/* #ifdef MP-WEIXIN */
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
/* #endif */
|
2025-06-20 22:03:24 +08:00
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: clip;
|
|
|
|
|
-webkit-mask-image: linear-gradient(to right, black 60%, transparent);
|
|
|
|
|
mask-image: linear-gradient(to right, black 60%, transparent);
|
|
|
|
|
.jobs-left
|
|
|
|
|
display: flex
|
|
|
|
|
flex-wrap: nowrap
|
|
|
|
|
.job
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #666D7F;
|
|
|
|
|
margin-right: 32rpx;
|
|
|
|
|
white-space: nowrap
|
|
|
|
|
.active
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #000000;
|
|
|
|
|
.jobs-add
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
display: flex
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #666D7F;
|
|
|
|
|
line-height: 38rpx;
|
2025-10-20 11:05:11 +08:00
|
|
|
|
min-width: 80rpx;
|
|
|
|
|
padding: 8rpx 12rpx;
|
|
|
|
|
white-space: nowrap;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.filter-bottom
|
|
|
|
|
display: flex
|
|
|
|
|
justify-content: space-between
|
|
|
|
|
padding: 24rpx 0
|
|
|
|
|
.btm-left
|
|
|
|
|
display: flex
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.filterbtm
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #666D7F;
|
|
|
|
|
margin-right: 24rpx
|
|
|
|
|
padding: 0rpx 16rpx
|
|
|
|
|
.active
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #256BFA;
|
|
|
|
|
.btm-right
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #6C7282;
|
|
|
|
|
.right-sx
|
|
|
|
|
width: 26rpx;
|
|
|
|
|
height: 26rpx;
|
|
|
|
|
.active
|
|
|
|
|
transform: rotate(180deg)
|
|
|
|
|
.table-list
|
|
|
|
|
background: #F4F4F4
|
|
|
|
|
flex: 1
|
|
|
|
|
overflow: hidden
|
2025-10-20 11:05:11 +08:00
|
|
|
|
height: 0; // 确保flex容器正确计算高度
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.falls-scroll
|
|
|
|
|
width: 100%
|
|
|
|
|
height: 100%
|
2025-10-20 11:05:11 +08:00
|
|
|
|
// 确保滚动容器可以正常滚动
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.falls
|
|
|
|
|
padding: 28rpx 28rpx;
|
|
|
|
|
.item
|
|
|
|
|
position: relative;
|
|
|
|
|
// background: linear-gradient( 180deg, rgba(19, 197, 124, 0.4) 0%, rgba(255, 255, 255, 0) 30%), rgba(255, 255, 255, 0);
|
|
|
|
|
.falls-card
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
.falls-card-title
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: 'PingFangSC-Medium', 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
color: #606060;
|
|
|
|
|
text-align: left;
|
|
|
|
|
word-break:break-all
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #333333;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
margin-top: 10rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.falls-card-pay
|
|
|
|
|
// height: 50rpx;
|
|
|
|
|
word-break:break-all
|
|
|
|
|
color: #002979;
|
|
|
|
|
text-align: left;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: end;
|
|
|
|
|
position: relative
|
|
|
|
|
.pay-text
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-family: DIN-Medium;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
color: #4C6EFB;
|
|
|
|
|
padding-right: 10rpx
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #4C6EFB;
|
|
|
|
|
line-height: 45rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
.flame
|
|
|
|
|
position: absolute
|
|
|
|
|
bottom: 0
|
|
|
|
|
right: -10rpx
|
|
|
|
|
transform: translate(0, -30%)
|
|
|
|
|
width: 24rpx
|
|
|
|
|
height: 31rpx
|
|
|
|
|
.falls-card-education,.falls-card-experience
|
|
|
|
|
width: fit-content;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|
background: #F4F4F4;
|
|
|
|
|
border-radius: 4rpx;
|
|
|
|
|
padding: 6rpx 20rpx;
|
|
|
|
|
line-height: 30rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #6C7282;
|
|
|
|
|
text-align: center;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
margin-top: 20rpx;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
white-space: nowrap
|
|
|
|
|
|
|
|
|
|
.falls-card-company,.falls-card-pepleNumber
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
font-size: 24rpx;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
color: #999999;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
line-height: 25rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
.falls-card-pepleNumber
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
2025-07-21 14:49:45 +08:00
|
|
|
|
flex-wrap: wrap
|
|
|
|
|
margin-top: 10rpx;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
font-weight: 400;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999999;
|
2025-07-21 14:49:45 +08:00
|
|
|
|
line-height: 46rpx
|
2025-07-09 15:15:37 +08:00
|
|
|
|
view
|
|
|
|
|
display:flex
|
|
|
|
|
align-items: center
|
2025-07-21 14:49:45 +08:00
|
|
|
|
white-space: nowrap;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
.point2
|
2025-07-21 14:49:45 +08:00
|
|
|
|
margin: 0rpx 6rpx 0 2rpx
|
2025-07-09 15:15:37 +08:00
|
|
|
|
height: 22rpx
|
|
|
|
|
width: 22rpx
|
|
|
|
|
.point3
|
2025-07-21 14:49:45 +08:00
|
|
|
|
margin: 0rpx 4rpx 0 0
|
2025-07-09 15:15:37 +08:00
|
|
|
|
height: 28rpx
|
|
|
|
|
width: 28rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.falls-card-matchingrate
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 21rpx;
|
|
|
|
|
color: #4778EC;
|
|
|
|
|
text-align: left;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
.falls-card-company2
|
2025-07-21 14:49:45 +08:00
|
|
|
|
margin-top: 4rpx;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999999;
|
|
|
|
|
text-align: left;
|
|
|
|
|
display: flex
|
|
|
|
|
.point3
|
|
|
|
|
margin: 4rpx 4rpx 0 0
|
|
|
|
|
height: 26rpx
|
|
|
|
|
width: 26rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
// 推荐卡片
|
|
|
|
|
.recommend-card::before
|
|
|
|
|
position: absolute
|
|
|
|
|
left: 0
|
|
|
|
|
top: 0
|
|
|
|
|
content: ''
|
|
|
|
|
height: 60rpx
|
|
|
|
|
width: 100%
|
|
|
|
|
height: 8rpx;
|
|
|
|
|
background: linear-gradient( to left, #9E74FD 0%, #256BFA 100%);
|
|
|
|
|
box-shadow: 0rpx 8rpx 40rpx 0rpx rgba(0,54,170,0.15);
|
2025-07-09 15:15:37 +08:00
|
|
|
|
.recommend-card::after
|
|
|
|
|
content ''
|
|
|
|
|
position absolute
|
|
|
|
|
z-index 0
|
|
|
|
|
left 50%
|
|
|
|
|
top 40%
|
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
width 250rpx
|
|
|
|
|
height 250rpx
|
|
|
|
|
background url('@/static/icon/backAI.png') no-repeat center center
|
|
|
|
|
opacity 0.6
|
|
|
|
|
background-size contain
|
|
|
|
|
pointer-events none
|
|
|
|
|
filter: blur(3rpx)
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.recommend-card
|
2025-07-09 15:15:37 +08:00
|
|
|
|
padding 36rpx 24rpx
|
|
|
|
|
background: linear-gradient( 360deg, #DFE9FF 0%, #FFFFFF 52%, #FFFFFF 100%);
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
position relative
|
|
|
|
|
box-shadow 0rpx 4rpx 8rpx 0rpx rgba(72, 89, 123, 0.3)
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.card-content
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
.recommend-card-title
|
|
|
|
|
font-weight: 500;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
font-size: 28rpx;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
color: #333333;
|
|
|
|
|
.recommend-card-tip
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #6C7282;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
margin-top: 28rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.recommend-card-line
|
|
|
|
|
width: calc(100%);
|
|
|
|
|
height: 0rpx;
|
|
|
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
|
|
|
border: 2rpx dashed rgba(0,0,0,0.14);
|
|
|
|
|
margin-top: 50rpx
|
|
|
|
|
position: relative
|
2025-07-09 15:15:37 +08:00
|
|
|
|
// .recommend-card-line::before
|
|
|
|
|
// position: absolute
|
|
|
|
|
// content: ''
|
|
|
|
|
// left: 0
|
|
|
|
|
// top: 0
|
|
|
|
|
// transform: translate(-50% - 90rpx, -50%)
|
|
|
|
|
// width: 28rpx;
|
|
|
|
|
// height: 28rpx;
|
|
|
|
|
// background: #F4F4F4;
|
|
|
|
|
// border-radius: 50%;
|
|
|
|
|
// .recommend-card-line::after
|
|
|
|
|
// position: absolute
|
|
|
|
|
// content: ''
|
|
|
|
|
// right: 0
|
|
|
|
|
// top: 0
|
|
|
|
|
// transform: translate(50% + 90rpx, -50%)
|
|
|
|
|
// width: 28rpx;
|
|
|
|
|
// height: 28rpx;
|
|
|
|
|
// background: #F4F4F4;
|
|
|
|
|
// border-radius: 50%;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
.recommend-card-controll
|
|
|
|
|
display: flex
|
|
|
|
|
align-items: center
|
|
|
|
|
justify-content: space-between
|
|
|
|
|
margin-top: 40rpx
|
|
|
|
|
padding: 0 6rpx;
|
|
|
|
|
.controll-yes
|
|
|
|
|
width: 124rpx;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
height: 60rpx;
|
2025-06-20 22:03:24 +08:00
|
|
|
|
background: rgba(37,107,250,0.1);
|
|
|
|
|
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
|
|
|
|
text-align: center;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
line-height: 60rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
color: #256BFA
|
|
|
|
|
.controll-no
|
|
|
|
|
width: 124rpx;
|
2025-07-09 15:15:37 +08:00
|
|
|
|
height: 56rpx;
|
|
|
|
|
line-height: 56rpx
|
2025-06-20 22:03:24 +08:00
|
|
|
|
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
|
|
|
|
border: 2rpx solid #DEDEDE;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
text-align: center;
|
|
|
|
|
.controll-yes:active, .controll-no:active
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 66rpx;
|
|
|
|
|
line-height: 66rpx
|
|
|
|
|
background: #e8e8e8
|
|
|
|
|
border: 2rpx solid #e8e8e8
|
|
|
|
|
.isBut{
|
|
|
|
|
filter: grayscale(100%);
|
|
|
|
|
}
|
|
|
|
|
</style>
|