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

1409 lines
38 KiB
Vue

4 years ago
<template>
<div class="joblist-container">
4 years ago
<!-- <div class="searchbox">
4 years ago
<div class="w">
4 years ago
<span></span>
4 years ago
</div>
4 years ago
</div> -->
4 years ago
<!-- 录单弹出框 -->
<a-modal
title="录单"
:visible="visible"
class="modal"
:confirm-loading="confirmLoading"
@ok="handleOk"
@cancel="handleCancel"
:maskClosable="false"
okText="提交"
cancelText="取消"
:destroyOnClose="true"
>
<a-form-model ref="ruleForm" :model="form" :rules="rules" :colon="false">
<a-form-model-item ref="name" label="老乡姓名" prop="name">
<a-input
v-model="form.name"
placeholder="请输入老乡姓名"
@blur="
() => {
$refs.name.onFieldBlur();
}
"
/>
</a-form-model-item>
<a-form-model-item ref="tel" label="老乡电话" prop="tel">
<a-input
v-model="form.tel"
placeholder="请输入老乡电话"
@blur="
() => {
$refs.tel.onFieldBlur();
}
"
/>
</a-form-model-item>
<a-form-model-item
ref="peoplecard"
label="老乡身份证号"
prop="peoplecard"
>
<a-input v-model="form.peoplecard" placeholder="请输入老乡身份证号" />
</a-form-model-item>
<a-form-model-item ref="username" label="报名人" prop="username">
<a-input v-model="form.username" placeholder="请输入报名人" />
</a-form-model-item>
</a-form-model>
</a-modal>
4 years ago
<!-- 筛选导航 -->
<div class="navigation">
<div class="w">
<!-- 特色筛选的列表盒子 -->
<div v-if="isspecialboxshow" class="specialbox" @click.stop="">
<div class="w">
<ul>
<li
4 years ago
v-for="(item, index) in specialList"
4 years ago
:key="index"
4 years ago
@click.stop="specialclick(index, item)"
4 years ago
:class="{
'special-active': specialactive.indexOf(item.name) > -1,
}"
4 years ago
>
4 years ago
{{ item.name }}
4 years ago
</li>
</ul>
</div>
</div>
4 years ago
<ul class="filterbox">
4 years ago
<li>
<i class="iconfont icon-dingwei"></i
><a-cascader
4 years ago
:options="cityoption"
4 years ago
change-on-select
@change="onChange"
placeholder="选择城市"
4 years ago
v-model="formvalue.district"
4 years ago
popupClassName="flitercity"
4 years ago
id="city"
4 years ago
:popupStyle="{
transform: 'all .1s',
}"
4 years ago
><i slot="suffixIcon" class="iconfont icon-xiala"></i
></a-cascader>
4 years ago
</li>
<li>
<a-cascader
:options="options.price"
placeholder="工价"
@change="onChange"
4 years ago
popupClassName="monthlypay"
4 years ago
v-model="formvalue.monthlyPayStr"
4 years ago
id="price"
4 years ago
><i slot="suffixIcon" class="iconfont icon-xiala"></i
></a-cascader>
4 years ago
</li>
<li>
<a-cascader
:options="options.age"
placeholder="年龄"
@change="onChange"
4 years ago
popupClassName="agestr"
4 years ago
v-model="formvalue.ageStr"
4 years ago
id="age"
4 years ago
><i slot="suffixIcon" class="iconfont icon-xiala"></i
></a-cascader>
4 years ago
</li>
<li class="special">
<div
@click.stop="isspecialboxshowclick"
:style="isspecialboxshow ? 'color:#ff6a00' : ''"
>
4 years ago
<ul class="showspecial" v-if="specialactive.length !== 0">
<li
v-for="(item, index) in specialactive"
:key="index"
@click.stop
>
{{ item
}}<i
class="iconfont icon-guanbi"
@click.stop="delmark(index)"
></i>
4 years ago
</li>
</ul>
4 years ago
<span v-if="specialactive.length > 3">...</span>
4 years ago
<span
:style="specialactive.length != 0 ? 'color:#ff6a00' : ''"
4 years ago
v-if="specialactive.length === 0"
4 years ago
>特色</span
><i
class="iconfont icon-xiala"
:class="isspecialboxshow ? 'turn' : ''"
:style="isspecialboxshow ? 'color:#ff6a00' : ''"
></i>
</div>
</li>
4 years ago
<li @click="claerfilter" class="claerfilter">
<a
href="javascript:;"
v-if="
formvalue.district.length !== 0 ||
formvalue.monthlyPayStr.length !== 0 ||
formvalue.ageStr.length !== 0 ||
formvalue.jobSpecialLabelIds.length !== 0
"
>清空筛选</a
>
</li>
4 years ago
</ul>
4 years ago
<span>
<a-input
placeholder="搜索企业/公司"
@keyup.enter="onSearch"
@input="resetsearch"
4 years ago
v-model="searchvalue"
4 years ago
class="searchinput"
><i slot="prefix" class="iconfont icon-sousuo"></i>
4 years ago
<button slot="suffix" @click="onSearch"></button>
4 years ago
</a-input>
</span>
4 years ago
</div>
</div>
4 years ago
<!-- 面包屑 -->
<!-- <a-breadcrumb class="w">
<a-breadcrumb-item href="">
<router-link to="/main"><a-icon type="home" /></router-link>
</a-breadcrumb-item>
<a-breadcrumb-item href="">
<span>一手职位</span>
</a-breadcrumb-item>
</a-breadcrumb> -->
4 years ago
<!-- 主体部分 -->
<div class="maincontent w">
<div class="maincontentleft">
4 years ago
<div style="text-align: center">
<a-spin tip="加载中..." :spinning="isspinning"> </a-spin>
</div>
4 years ago
<!-- <div
4 years ago
class="nodata"
v-if="jobMainList.length === 0 && isspinning === false"
4 years ago
> -->
<template v-if="jobMainList.length === 0 && isspinning === false">
<a-empty class="nodata" description="暂无符合条件的岗位" />
</template>
<!-- </div> -->
4 years ago
<div v-if="!isspinning">
<div class="subset" v-for="(item, index) in jobMainList" :key="index">
4 years ago
<div class="subsetleft">
<router-link target="_blank" :to="'/detail/' + item.id">
<div class="imgbox" @click="totop">
<img v-if="item.logo.length !== 0" :src="item.logo" />
4 years ago
<img
v-else
src="../../../static/img/nopicture.png"
style="height: 169px; width: "
/>
4 years ago
</div>
</router-link>
<div class="jobinfobox">
<router-link target="_blank" :to="'/detail/' + item.id">
<div class="jobname" @click="totop">{{ item.aliasName }}</div>
</router-link>
<div class="jobinfo">
<span>{{ item.district }}</span>
<span>{{ item.gender }}</span>
<span>{{ item.age }}</span>
4 years ago
</div>
4 years ago
<div class="jobtag">
<span>返费</span>
<span
v-for="(item1, index) in item.jobSpecialLabelNames"
:key="index"
>{{ item1 }}</span
>
</div>
<div class="jobpricemonth">
<!-- :style="{ opacity: item.minMonthlyPay ? '1' : '0' }" -->
<span>{{ item.minMonthlyPay ? item.minMonthlyPay : "" }}</span
>-<span>{{
item.maxMonthlyPay ? item.maxMonthlyPay : ""
}}</span
>/
</div>
<div class="jobpricehour">
<template v-if="item.hourlyPay"
><span>{{ item.hourlyPay }}</span
>/小时</template
>
<template v-else-if="item.dayPay"
><span>{{ item.dayPay }}</span
>/</template
4 years ago
>
</div>
4 years ago
</div>
4 years ago
</div>
4 years ago
<div class="subsetright">
4 years ago
<div class="topbox">
4 years ago
<div>服务费</div>
4 years ago
<div>
4 years ago
<span
v-if="
item.returnFee &&
item.returnFee !== -1 &&
item.returnFee !== null
? true
: false
"
>{{ item.returnFee }}</span
><i v-else>--</i> /
4 years ago
</div>
4 years ago
</div>
4 years ago
<div class="bottombox1">
4 years ago
<router-link target="_blank" :to="'/detail/' + item.id">
4 years ago
<button>更多</button>
</router-link>
4 years ago
<button @click="showmodal(item.id)"></button>
4 years ago
</div>
</div>
</div>
</div>
<div class="pagecontainer">
<a-pagination
4 years ago
:current="+formvalue.pageNum"
4 years ago
:default-current="1"
4 years ago
:defaultPageSize="8"
4 years ago
:total="formvalue.total"
@change="pageChange"
4 years ago
/>
4 years ago
<div class="ant-pagination-options-quick-jumper">
跳至<input
ref="pageinput"
type="text"
@keyup.enter="inputpageChange"
4 years ago
@blur="inputpageChange"
4 years ago
/>
</div>
4 years ago
</div>
</div>
<div class="maincontentright">
4 years ago
<div class="dateinfo">
<h1 class="bottombox"><i>我的日历</i></h1>
<p
class="day"
:style="{
'font-size': '60px',
color: '#FF6A00',
'line-height': '80px',
'margin-top': '8px',
}"
>
{{ dateinfo.day }}
</p>
<p class="week" :style="{ 'font-size': '16px', color: '#FF6A00' }">
{{ dateinfo.week }}
</p>
<p class="date" :style="{ 'font-size': '16px', color: '#FF6A00' }">
{{ dateinfo.date }}
</p>
</div>
4 years ago
<div class="hotphone">
4 years ago
<h1 class="bottombox"><i>服务热线</i></h1>
4 years ago
<p>0371-6666 6666</p>
4 years ago
</div>
<div class="relationme">
4 years ago
<p class="bottombox"><i>一手单合作</i></p>
4 years ago
<button>发布一手单</button>
</div>
4 years ago
<recommend />
4 years ago
</div>
</div>
</div>
</template>
<script>
4 years ago
import {
4 years ago
// JobListApi,
4 years ago
getJobSpecialApi,
getProvinceApi,
// getCityApi,
} from "../../api/job";
4 years ago
import { moneyToFixed } from "../../utils/commonUtil";
4 years ago
import recommend from "@/components/FirstJob/components/recommend.vue";
4 years ago
export default {
4 years ago
// 注入获取职位列表的方法
4 years ago
inject: ["getJobList", "reload"],
4 years ago
// 组件名称
name: "",
// 局部注册的组件
4 years ago
components: {
recommend,
},
4 years ago
// 组件参数 接收来自父组件的数据
props: {
isspecialboxshow: {
require: true,
},
4 years ago
formvalue: {
// type: Object,
require: true,
},
jobMainList: {
require: true,
},
isspinning: {
require: true,
}, // 加载中显示
4 years ago
},
// 组件状态值
data() {
return {
4 years ago
// jobMainList: [], // 职位列表
4 years ago
specialList: [], // 获取的特色列表
4 years ago
searchvalue: "",
4 years ago
specialactive: [], // 点中的特色标签索引
specialvalue: [], // 点中的特色标签
4 years ago
visible: false, // 录单模态框的展示
confirmLoading: false, // 录单提交的loading效果
4 years ago
cityoption: [], // 城市列表
4 years ago
newFormValue: [],
4 years ago
dateinfo: {
day: "",
week: "",
date: "",
},
form: {
// 录单数据
name: "",
tel: "",
peoplecard: "",
username: "",
},
rules: {
// 录单校验规则
name: [{ required: true, message: "请输入姓名", trigger: "submit" }],
tel: [{ required: true, message: "请输入手机号", trigger: "submit" }],
},
4 years ago
options: {
4 years ago
//
4 years ago
price: [
{
4 years ago
value: "3000-4000",
4 years ago
label: "3000-4000元",
4 years ago
uid: 1,
4 years ago
},
{
4 years ago
value: "4000-5000",
4 years ago
label: "4000-5000元",
4 years ago
uid: 1,
4 years ago
},
{
4 years ago
value: "5000-6000",
4 years ago
label: "5000-6000元",
4 years ago
uid: 1,
4 years ago
},
{
4 years ago
value: "6000-7000",
4 years ago
label: "6000-7000元",
4 years ago
uid: 1,
4 years ago
},
],
age: [
{
4 years ago
value: "16-45",
4 years ago
label: "16-45岁",
4 years ago
uid: 2,
4 years ago
},
{
4 years ago
value: "18-35",
4 years ago
label: "18-35岁",
4 years ago
uid: 2,
4 years ago
},
{
4 years ago
value: "45-58",
4 years ago
label: "45-58岁",
4 years ago
uid: 2,
4 years ago
},
{
4 years ago
value: "58",
4 years ago
label: "58岁以上",
4 years ago
uid: 2,
4 years ago
},
],
},
4 years ago
relationList: [],
4 years ago
};
},
// 计算属性
computed: {},
// 侦听器
watch: {
formvalue: {
handler(e) {
console.log(e);
4 years ago
// 筛选列表数据处理
// if(e.city !== undefined){
if (e.district.length === 0) {
4 years ago
document.getElementById("city").style.width = 85 + "px";
4 years ago
} else {
4 years ago
const result = e.district.join("");
console.log(result);
if (result.length > 6) {
4 years ago
document.getElementById("city").style.width =
4 years ago
(result.length + 3) * 14 + "px";
4 years ago
document.getElementById("city").style.maxWidth = "250px";
4 years ago
document.querySelector("#city").nextElementSibling.style.width = // 获取下一个兄弟元素s
4 years ago
(result.length + 3) * 14 + "px";
4 years ago
document.getElementById("city").nextElementSibling.style.maxWidth =
"250px";
} else if (result.length > 5) {
4 years ago
document.getElementById("city").style.width =
4 years ago
(result.length + 2.8) * 14 + "px";
4 years ago
document.querySelector("#city").nextElementSibling.style.width =
4 years ago
(result.length + 2.6) * 14 + "px";
4 years ago
} else if (result.length > 4) {
document.getElementById("city").style.width =
4 years ago
(result.length + 2.4) * 14 + "px";
4 years ago
document.querySelector("#city").nextElementSibling.style.width =
4 years ago
(result.length + 2.4) * 14 + "px";
4 years ago
} else {
document.getElementById("city").style.width =
4 years ago
(result.length + 1.5) * 14 + "px";
4 years ago
document.getElementById("city").style.minWidth = 72 + "px";
document.querySelector("#city").nextElementSibling.style.width =
4 years ago
(result.length + 1.5) * 14 + "px";
4 years ago
}
}
4 years ago
// }
4 years ago
// 工价的判断
4 years ago
if (e.monthlyPayStr.length === 0) {
4 years ago
document.getElementById("price").style.width = 60 + "px";
4 years ago
} else {
4 years ago
const result = e.monthlyPayStr.join("");
if (result.length >= 0) {
4 years ago
document.getElementById("price").style.width = "120px";
4 years ago
document.getElementById("price").nextElementSibling.style.width =
4 years ago
"130px";
4 years ago
// document.querySelector(".ant-cascader-picker-label").style.width =
// "150px";
}
}
// 年龄筛选长度的判断
4 years ago
if (e.ageStr.length === 0) {
4 years ago
document.getElementById("age").style.width = 60 + "px";
4 years ago
} else {
4 years ago
const result = e.ageStr.join("");
if (result.length >= 0) {
4 years ago
document.getElementById("age").style.width = "90px";
4 years ago
document.getElementById("age").nextElementSibling.style.width =
4 years ago
"90px";
4 years ago
// document.querySelector(".ant-cascader-picker-label").style.width =
// "150px";
}
}
},
deep: true,
},
},
4 years ago
// 组件
4 years ago
// 生命周期钩子 注:没用到的钩子请自行删除
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
4 years ago
created() {
this.getJobList();
this.getJobSpecial();
this.getProvince();
4 years ago
this.getdateinfo();
4 years ago
},
4 years ago
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {
// this.$nextTick(() => {
// console.log(this.isspecialboxshow);
// });
4 years ago
// document.querySelector(".ant-pagination-options-quick-jumper").innerHTML =
// "跳至<input type='text'>页";
4 years ago
console.log(this.formvalue);
4 years ago
},
// 组件方法
methods: {
4 years ago
/**
* 处理后台返回的职位列表
*/
4 years ago
//搜索企业名称
onSearch(e) {
console.log(e);
4 years ago
// if (typeof e === "string" || typeof e === "number") {
// if (e.length !== 0) {
// console.log("zifuchuan ");
// this.formvalue.aliasName = e;
// this.getJobList();
// }
// } else
if (e.target.value.trim() !== "") {
console.log("search");
4 years ago
this.formvalue.aliasName = e.target.value.trim();
this.getJobList();
4 years ago
} else if (this.searchvalue.trim() !== "") {
console.log("search1");
this.formvalue.aliasName = this.searchvalue;
this.getJobList();
4 years ago
}
4 years ago
// this.$router.push("/list").catch((err) => {
// console.log(err);
// });
4 years ago
},
// 获取职位特色
async getJobSpecial() {
try {
const { data } = await getJobSpecialApi();
console.log(data);
this.specialList = data.data;
} catch (error) {
console.log(error);
}
},
// 获取省份列表
async getProvince() {
// const that = this;
try {
const { data } = await getProvinceApi();
4 years ago
console.log(data);
4 years ago
data.data.pop();
this.cityoption = data.data;
// console.log(this.cityoption);
// console.log(data);
} catch (error) {
console.log(error);
}
},
// 筛选职位
onChange(e, item) {
console.log(e);
console.log(item);
if (item) {
if (item.uid === 1) {
console.log(1);
this.formvalue.monthlyPayStr = item[0];
} else if (item.uid === 2) {
this.formvalue.ageStr = item[0];
} else if (item[0].id) {
console.log(e.join());
this.formvalue.district = e;
}
}
this.getJobList();
},
pageChange(e) {
console.log(e);
this.formvalue.pageNum = e;
this.$refs.pageinput.value = "";
this.getJobList();
},
inputpageChange(e) {
this.formvalue.pageNum = e.target.value;
this.getJobList();
console.log(e);
4 years ago
},
handleChange() {},
claerfilter() {
4 years ago
const { pageNum, pageSize, total } = this.formvalue;
4 years ago
// this.formvalue = { // 改变引用地址不会使vue侦听到数据的变化,
4 years ago
// district: [],
// monthlyPayStr: [],
// ageStr: [],
// jobSpecialLabelIds: [],
// pageNum,
// pageSize,
// total, //分页配置
// };
this.formvalue.district = [];
this.formvalue.monthlyPayStr = [];
this.formvalue.ageStr = [];
this.formvalue.jobSpecialLabelIds = [];
this.formvalue.pageNum = pageNum;
this.formvalue.pageSize = pageSize;
this.formvalue.total = total;
4 years ago
console.log(this.formvalue);
4 years ago
this.specialactive = [];
4 years ago
this.specialvalue = [];
this.getJobList();
4 years ago
},
4 years ago
specialclick(index, item) {
console.log(item);
4 years ago
console.log(index);
let arrIndex = this.specialactive.indexOf(item.name);
4 years ago
if (arrIndex > -1) {
this.specialactive.splice(arrIndex, 1);
4 years ago
this.specialvalue.splice(arrIndex, 1);
4 years ago
} else {
4 years ago
this.specialactive.push(item.name);
4 years ago
this.specialvalue.push(item.id);
4 years ago
}
4 years ago
this.formvalue.jobSpecialLabelIds = this.specialvalue;
// console.log(this.specialactive);
this.getJobList();
console.log(this.specialvalue);
console.log(this.formvalue);
// console.log(index);
4 years ago
},
isspecialboxshowclick() {
this.$emit("update:isspecialboxshow", !this.isspecialboxshow);
},
4 years ago
totop() {
// console.log(window);
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
// window.body.scrollY = 0;
},
moneyToFixed(value) {
return moneyToFixed(value);
},
// 重置搜索结果
resetsearch(e) {
// console.log(e);
if (e.target.value.length === 0) {
this.formvalue.aliasName = "";
this.getJobList();
}
4 years ago
// this.$router.push("/list").catch((err) => {
// console.log(err);
// });
},
// 录单弹出层的关闭
handleCancel() {
this.visible = false;
this.form = {
// 录单数据
name: "",
tel: "",
peoplecard: "",
username: "",
};
},
// 录单提交按钮的回调
handleOk() {
this.$refs.ruleForm.validate((ispass, no) => {
console.log(ispass);
if (ispass) {
this.confirmLoading = true;
setTimeout(() => {
this.confirmLoading = false;
this.visible = false;
}, 2000);
} else {
console.log(123);
}
console.log(no);
4 years ago
});
},
4 years ago
// 弹出录单模态框
showmodal(id) {
this.visible = true;
console.log(id);
},
// 获取日期信息
getdateinfo() {
const date = new Date();
// console.log(date);
// console.log(date.getDate());
// console.log(date.getDay());
// console.log(date.getFullYear());
// console.log(date.getMonth());
if (date.getDay() === 1) {
this.dateinfo.week = "星期一";
} else if (date.getDay() === 2) {
this.dateinfo.week = "星期二";
} else if (date.getDay() === 3) {
this.dateinfo.week = "星期三";
} else if (date.getDay() === 4) {
this.dateinfo.week = "星期四";
} else if (date.getDay() === 5) {
this.dateinfo.week = "星期五";
} else if (date.getDay() === 6) {
this.dateinfo.week = "星期六";
} else if (date.getDay() === 7) {
this.dateinfo.week = "星期日";
}
4 years ago
if (date.getDate().length < 2) {
this.dateinfo.day = "0" + date.getDate();
} else {
this.dateinfo.day = date.getDate();
}
4 years ago
this.dateinfo.date = date.getFullYear() + "." + (date.getMonth() + 1);
},
4 years ago
delmark(index) {
console.log(index);
this.specialactive.splice(index, 1);
this.specialvalue.splice(index, 1);
this.getJobList();
},
4 years ago
},
};
</script>
<style scoped lang="less">
4 years ago
// :focus-visible {
// outline: none;
// }
4 years ago
// .searchbox {
// background-color: #fff;
// // border-bottom: 1px solid #eeefef;
// .w {
// // display: flex;
// // justify-content: space-between;
// overflow: hidden;
// height: 100px;
// span {
// float: left;
// }
// .logo {
// width: 424px;
// height: 49px;
// margin-top: 26px;
// margin-right: 60px;
// background: url("../../assets/logo.png") no-repeat;
// background-size: contain;
// }
// }
// }
4 years ago
// 录单模态框样式
.modal {
.ant-form-item {
// margin-bottom: 0;
margin-top: -8px;
.ant-input {
// width: 430px;
height: 40px;
// border: none;
border: 1px solid #dddddd;
box-shadow: none !important;
// background-color: #f6f6f6;
}
}
/deep/ .ant-modal-footer {
padding: 10px 24px;
4 years ago
.ant-btn {
&:hover {
color: #ff6a00;
border-color: #ff6a00;
}
}
.ant-btn.ant-btn-primary {
4 years ago
background-color: #ff6a00 !important;
border: none;
line-height: 32px;
margin-left: 12px;
4 years ago
color: #fff;
&:hover {
background-color: #ff8025 !important;
}
4 years ago
}
}
/deep/ .ant-modal-header {
.ant-modal-title {
font-size: 20px;
// font-weight: bold;
}
}
/deep/ .ant-modal-body {
padding: 24px 24px 8px 24px;
}
}
4 years ago
/deep/ .navigation {
4 years ago
// margin-top: -1px;
4 years ago
background-color: #fff;
border: 1px solid #f6f6f6;
4 years ago
height: 72px;
4 years ago
// margin-bottom: 10px;
4 years ago
// line-height: 100px;
4 years ago
position: relative;
4 years ago
4 years ago
.special-active {
color: rgb(254, 97, 0) !important;
background-color: rgba(255, 106, 0, 0.1) !important;
}
.ant-cascader-picker-focused {
input {
transition: all 0.3s;
}
input::placeholder {
color: rgb(255, 106, 0) !important;
}
i {
color: rgb(255, 106, 0) !important;
}
}
> .w {
4 years ago
height: 72px;
4 years ago
display: flex;
4 years ago
justify-content: flex-start;
4 years ago
> span {
4 years ago
margin-top: 20px;
// margin-right: 285px;
4 years ago
i {
font-size: 18px;
margin-left: 4px;
color: #adadad;
}
4 years ago
.ant-input-affix-wrapper {
position: relative;
.ant-input-prefix {
position: absolute;
left: 8px;
top: 16px;
}
.ant-input-suffix {
right: 0 !important;
}
}
4 years ago
.ant-input {
4 years ago
width: 320px;
4 years ago
height: 32px;
4 years ago
text-indent: 10px;
4 years ago
background: #fff;
4 years ago
// border: 1px solid rgba(77, 87, 94, 0.3);
4 years ago
border-radius: 136px;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
font-size: 14px !important;
4 years ago
padding-right: 0;
4 years ago
&::placeholder {
4 years ago
text-indent: 10px;
font-size: 14px !important;
4 years ago
}
&:hover {
4 years ago
border-color: #ff6a00;
box-shadow: none;
4 years ago
}
&:focus {
border-color: #ff6a00;
}
}
button {
width: 70px;
height: 32px;
4 years ago
color: white;
4 years ago
background: #ff6a00;
border-color: #ff6a00;
4 years ago
border: none;
4 years ago
border-radius: 16px;
font-size: 14px;
box-shadow: none;
4 years ago
cursor: pointer;
outline: none;
&:hover {
background-color: #ff842b;
}
// &:focus {
// border: none;
// }
4 years ago
}
}
4 years ago
.specialbox {
position: absolute;
4 years ago
border-bottom: 1px solid #f6f6f6;
4 years ago
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
4 years ago
// display: ;
transition: all 0.4s;
left: 0;
4 years ago
top: 71px;
4 years ago
width: 100vw;
background-color: #fff;
z-index: 999;
ul {
overflow: hidden;
4 years ago
padding: 20px 0 8px 0;
4 years ago
li {
4 years ago
padding: 4px 16px;
margin: 0px 24px 12px 0;
4 years ago
cursor: pointer;
float: left;
background: rgba(216, 216, 216, 0.3);
border-radius: 15px;
4 years ago
font-size: 14px;
4 years ago
color: #4d575e;
line-height: 22px;
4 years ago
&:hover {
color: rgb(254, 97, 0);
background-color: rgba(255, 106, 0, 0.1);
}
4 years ago
}
}
}
4 years ago
.filterbox {
4 years ago
display: flex;
4 years ago
justify-content: flex-start;
4 years ago
min-width: 595px;
4 years ago
> li {
4 years ago
margin-top: 24px;
4 years ago
font-size: 14px;
4 years ago
color: #4d575e;
4 years ago
// margin-right: 20px;
4 years ago
.ant-cascader-picker {
width: auto;
position: relative;
transform: translateY(-2px);
4 years ago
.anticon-close-circle {
font-size: 14px;
}
.icon-xiala {
font-size: 12px;
4 years ago
transform: translateY(1px) scale(0.5);
4 years ago
}
4 years ago
.ant-cascader-input {
4 years ago
width: 60px;
4 years ago
// margin-top: -5px;
// max-width: 150px !important;
border: none;
padding: 0;
// margin-bottom: 6px;
box-shadow: none;
4 years ago
&::placeholder {
// width: auto;
// text-indent: 20px;
color: #4d575ecc;
line-height: 20px;
4 years ago
font-size: 14px;
4 years ago
}
4 years ago
}
4 years ago
4 years ago
span {
4 years ago
width: 60px;
4 years ago
// max-width: 150px;
color: rgb(255, 106, 0) !important;
4 years ago
font-size: 14px;
4 years ago
padding: 0 20px 0 0;
text-align: left;
4 years ago
line-height: 22px !important;
4 years ago
}
}
}
4 years ago
> li:first-child {
4 years ago
> i {
position: relative;
display: inline-block;
4 years ago
width: 12px;
height: 14px;
margin-right: 4px;
font-size: 12px;
color: #ff6a00;
4 years ago
// margin-top: -9px;
&::before {
position: absolute;
left: 0;
4 years ago
top: -2px;
4 years ago
}
}
.ant-cascader-picker {
width: auto;
position: relative;
.ant-cascader-input {
4 years ago
min-width: 85px;
4 years ago
&:hover &::placeholder {
color: #ff6a00;
}
4 years ago
}
4 years ago
4 years ago
.ant-cascader-input::placeholder {
// width: auto;
color: #4d575ecc;
text-indent: 0;
line-height: 20px;
4 years ago
font-size: 14px;
4 years ago
}
span {
// width: auto;
// max-width: 150px;
// min-width: 140px;
text-align: left;
}
}
}
.special {
position: relative;
div:first-child {
height: 32px;
4 years ago
margin-top: -2px;
4 years ago
line-height: 32px;
color: #4d575ecc;
4 years ago
display: flex;
4 years ago
cursor: pointer;
4 years ago
> .showspecial {
height: 32px;
overflow: hidden;
li {
margin: 6px 5px 0 0;
float: left;
height: 20px;
4 years ago
line-height: 19px;
padding: 0 8px;
4 years ago
color: #fff;
background-color: #ff6a00;
border-radius: 999px;
4 years ago
i {
display: inline-block;
font-size: 12px;
height: 12px;
position: relative;
margin-left: 10px;
transform: scale(0.8);
// vertical-align: middle;
}
4 years ago
&:nth-child(n + 4) {
display: none;
}
}
}
4 years ago
.icon-xiala {
4 years ago
transition: all 0.2s;
position: relative;
4 years ago
// float: left;
4 years ago
color: #c5c5c5;
4 years ago
margin-left: 4px;
4 years ago
display: inline-block;
font-size: 12px;
4 years ago
transform: translateY(0px) scale(0.5);
4 years ago
}
4 years ago
// .turn {
// transform: translateY(-1px) scale(0.6) rotate(180deg);
// }
4 years ago
}
}
4 years ago
> li:last-child {
4 years ago
position: relative;
color: #8c8d8f;
4 years ago
font-size: 14px;
margin: 28px 30px 0 25px;
4 years ago
// color: rgba(78, 88, 95, 0.8);
4 years ago
transform: translateY(-1px);
4 years ago
// margin-left: 25px;
4 years ago
a {
transition: all 0.5s;
4 years ago
line-height: 14px;
4 years ago
&:active {
color: rgb(255, 106, 0);
transition: none;
}
}
4 years ago
}
}
}
}
/deep/ .maincontent {
display: flex;
justify-content: space-between;
margin-top: 16px;
.maincontentleft {
width: 914px;
margin-right: 16px;
text-align: left;
4 years ago
.nodata {
overflow: hidden;
4 years ago
height: 230px;
padding-top: 30px;
4 years ago
text-align: center;
background-color: #fff;
border-radius: 5px;
margin: 0 auto;
color: #00000066;
margin-bottom: 20px;
p {
position: relative;
transform: translateY(35px);
}
}
4 years ago
.subset {
display: flex;
justify-content: space-between;
width: 914px;
4 years ago
// height: 212px;
4 years ago
padding: 16px;
4 years ago
margin-bottom: 16px;
background: #ffffff;
border-radius: 4px;
.subsetleft {
display: flex;
.imgbox {
4 years ago
width: 169px;
height: 169px;
4 years ago
margin-right: 20px;
4 years ago
position: relative;
overflow: hidden;
4 years ago
img {
4 years ago
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
// width: 100%;
4 years ago
height: 100%;
}
}
.jobinfobox {
.jobname {
// margin: 12px 0;
font-size: 20px;
font-weight: 600;
text-align: left;
color: #4d575e;
4 years ago
line-height: 20px;
&:hover {
color: #ff6a00;
}
4 years ago
}
.jobinfo {
margin-top: 16px;
opacity: 0.5;
font-size: 16px;
font-weight: 400;
text-align: left;
color: #4d575e;
line-height: 20px;
}
.jobtag {
4 years ago
margin-top: 14px;
4 years ago
text-align: left;
span:first-child {
4 years ago
color: #ff6a00;
4 years ago
background: rgba(254, 97, 0, 0.1);
}
span {
margin-right: 8px;
4 years ago
font-size: 16px;
padding: 2px 10px;
4 years ago
background: rgba(51, 51, 51, 0.06);
border-radius: 4px;
}
}
.jobpricemonth {
4 years ago
margin-top: 12px;
4 years ago
font-size: 16px;
4 years ago
font-weight: 400;
text-align: left;
color: #4d575e;
line-height: 22px;
}
.jobpricehour {
4 years ago
margin-top: 12px;
4 years ago
font-size: 16px;
font-weight: bold;
text-align: left;
4 years ago
color: #ff6a00;
4 years ago
// line-height: 24px;
span {
vertical-align: baseline;
font-size: 20px;
line-height: 24px;
}
}
}
}
.subsetright {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-end;
.topbox {
width: 116px;
4 years ago
height: 54px;
4 years ago
text-align: center;
background: rgba(255, 106, 0, 0.1);
border-radius: 4px;
4 years ago
color: #ff6a00;
4 years ago
line-height: 30px;
div {
4 years ago
// font-weight: bold;
font-size: 16px;
4 years ago
span {
font-size: 20px;
// font-weight: bold;
}
}
div:first-child {
4 years ago
height: 24px;
4 years ago
background: #ff6a00;
4 years ago
line-height: 24px;
font-size: 14px;
4 years ago
color: #ffffff;
border: 1px solid #ff6a00;
border-radius: 4px 4px 0px 0px;
}
4 years ago
div:last-child {
font-weight: bold;
}
4 years ago
}
4 years ago
.bottombox1 {
4 years ago
button {
4 years ago
width: 100px;
4 years ago
height: 32px;
4 years ago
font-size: 16px;
4 years ago
// border: 1px solid rgba(77, 87, 94, 0.3);
4 years ago
border-radius: 4px;
}
4 years ago
a {
button:first-child {
4 years ago
border: 1px solid #d9d9d9;
4 years ago
// border-radius: 4px;
4 years ago
color: #4d575e;
background-color: #fff;
cursor: pointer;
4 years ago
&:hover {
4 years ago
color: #ff7614;
4 years ago
border-color: #ff7614;
}
4 years ago
}
4 years ago
}
4 years ago
> button:last-child {
4 years ago
margin-left: 16px;
border: 1px solid #ff6a00;
background-color: #fff;
color: rgba(255, 106, 0, 1);
4 years ago
cursor: pointer;
&:hover {
4 years ago
color: #fff;
background-color: rgba(255, 121, 26);
4 years ago
}
4 years ago
}
}
}
}
.pagecontainer {
4 years ago
display: flex;
justify-content: center;
4 years ago
text-align: center;
margin-bottom: 30px;
4 years ago
.ant-pagination-options-quick-jumper {
margin-left: 10px;
font-size: 16px;
}
4 years ago
.ant-pagination-disabled {
a:hover {
color: #c5c5c5 !important;
}
}
.ant-pagination-next,
.ant-pagination-prev {
a:hover {
4 years ago
color: #ff6a00;
4 years ago
}
}
input[type="text"] {
box-shadow: none;
&:focus {
4 years ago
border: 1px solid #ff6a00;
4 years ago
}
&:hover {
4 years ago
border: 1px solid #ff6a00;
4 years ago
}
}
.ant-pagination-item {
border: none;
a:hover {
4 years ago
color: #ff6a00;
4 years ago
}
}
.ant-pagination-item-active {
4 years ago
background: #ff6a00;
4 years ago
a {
color: white;
}
a:hover {
color: white;
}
}
.ant-pagination-item-link {
border: none;
}
}
}
.maincontentright {
> div {
margin-bottom: 16px;
}
4 years ago
.dateinfo {
text-align: center;
overflow: hidden;
border-radius: 4px;
position: relative;
padding-bottom: 10px;
background-color: #fff1e7;
.bottombox {
position: relative;
margin-top: 0;
margin-bottom: 0;
padding-top: 10px;
font-size: 16px;
border-bottom: none;
color: #fff;
background-color: #ff6a00;
&::after {
left: 0;
}
}
}
4 years ago
.hotphone {
4 years ago
overflow: hidden;
position: relative;
4 years ago
width: 270px;
4 years ago
height: 160px;
4 years ago
// height: 114px;
4 years ago
padding: 0 20px 20px 20px;
4 years ago
border-radius: 4px;
background-color: #fff;
4 years ago
text-align: center;
4 years ago
p {
4 years ago
position: absolute;
width: 100%;
4 years ago
font-size: 24px;
color: #ff6a00;
4 years ago
// font-weight: bold;
4 years ago
top: 65%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
4 years ago
}
}
.relationme {
4 years ago
overflow: hidden;
position: relative;
4 years ago
width: 270px;
4 years ago
height: 160px;
padding: 0 20px 20px;
4 years ago
background: #ffffff;
4 years ago
text-align: center;
4 years ago
button {
4 years ago
position: absolute;
width: 120px;
4 years ago
height: 32px;
margin-top: 16px;
font-size: 16px;
line-height: 20px;
4 years ago
border-radius: 999px;
4 years ago
border: 0;
background-color: #ff6a00;
color: #fff;
4 years ago
top: 55%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
4 years ago
}
}
}
}
</style>