详情 新增主推

cyl/dev
zsk 2 years ago
parent b7b1af97a1
commit 93d494892b

@ -108,7 +108,12 @@
<img v-else src="../../../static/img/nopicture.png" alt /> <img v-else src="../../../static/img/nopicture.png" alt />
</div> </div>
<div class="jobinfobox"> <div class="jobinfobox">
<div class="jobname">{{ jobDetail.jobName }}</div> <div class="jobname">{{ jobDetail.jobName }}
<span class="hotTag" v-if="jobDetail.hotJob == 1">
<i class="iconfont icon-dianzan1 mr0" style="font-size: 12px"></i>
主推
</span>
</div>
<div class="jobinfo"> <div class="jobinfo">
<span>{{ jobDetail.district }}</span> <span>{{ jobDetail.district }}</span>
<span>{{ jobDetail.gender }}</span> <span>{{ jobDetail.gender }}</span>
@ -1320,6 +1325,36 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
// .hotTag {
// display: flex;
// line-height: 44px;
// margin-left: 18px;
// div {
// font-size: 14px;
// }
// li {
// margin-right: 12px;
// color: #ff6a00;
// font-size: 14px;
// cursor: pointer;
// }
// > .active {
// text-decoration: underline;
// }
// }
.hotTag {
background-color: #f40;
color: #fff;
font-size: 12px;
padding:2px 4px;
border-radius: 2px;
position: relative;
top: -3px;
i {
margin-right: 4px;
color: #fff;
}
}
.jobname { .jobname {
// margin: 12px 0; // margin: 12px 0;
font-size: 20px; font-size: 20px;

@ -1362,9 +1362,17 @@ export default {
this.isspinning = true; this.isspinning = true;
console.log(this.formvalue); console.log(this.formvalue);
try { try {
let aId = "";
if (window.location.origin.indexOf('localhost:') > -1 || window.location.origin.indexOf('test.') > -1){
aId = "2743"
}else{
aId = "3087"
}
newdata = { newdata = {
agencyId: "3087", // agencyId: aId, //
// agencyId: "2743", //
recruitment: "1", recruitment: "1",
keys: "", keys: "",
pageNum: 1, pageNum: 1,

@ -8,8 +8,8 @@ console.log('use message in request', vue);
// import Vue from "vue"; // import Vue from "vue";
// console.log('use message in request2', Vue); // console.log('use message in request2', Vue);
// const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃 // const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃
const baseURL = "//idaotian.com"; // 正式环境线上 // const baseURL = "//idaotian.com"; // 正式环境线上
// const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地
// const baseURL = "//idagou.cn"; // 正式环境线上 废弃 // const baseURL = "//idagou.cn"; // 正式环境线上 废弃
// console.log(baseURL); // console.log(baseURL);
// const baseURL = "http://localhost:8001"; // const baseURL = "http://localhost:8001";

Loading…
Cancel
Save