diff --git a/src/components/FirstJob/detail.vue b/src/components/FirstJob/detail.vue index 3a44580..8754204 100644 --- a/src/components/FirstJob/detail.vue +++ b/src/components/FirstJob/detail.vue @@ -108,7 +108,12 @@
-
{{ jobDetail.jobName }}
+
{{ jobDetail.jobName }} + + + 主推 + +
{{ jobDetail.district }} {{ jobDetail.gender }} @@ -1320,6 +1325,36 @@ export default { display: flex; flex-direction: column; 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 { // margin: 12px 0; font-size: 20px; diff --git a/src/components/FirstJob/joblist.vue b/src/components/FirstJob/joblist.vue index 015d605..8f12267 100644 --- a/src/components/FirstJob/joblist.vue +++ b/src/components/FirstJob/joblist.vue @@ -1362,9 +1362,17 @@ export default { this.isspinning = true; console.log(this.formvalue); try { + let aId = ""; + + if (window.location.origin.indexOf('localhost:') > -1 || window.location.origin.indexOf('test.') > -1){ + aId = "2743" + }else{ + aId = "3087" + } + + newdata = { - agencyId: "3087", //正式版 - // agencyId: "2743", //测试版 + agencyId: aId, //测试版 recruitment: "1", keys: "", pageNum: 1, diff --git a/src/utils/request.js b/src/utils/request.js index 8471bee..c5ddd8b 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -8,8 +8,8 @@ console.log('use message in request', vue); // import Vue from "vue"; // console.log('use message in request2', Vue); // const baseURL = "http://1shoudan.com"; // 正式环境线上 废弃 -const baseURL = "//idaotian.com"; // 正式环境线上 -// const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 +// const baseURL = "//idaotian.com"; // 正式环境线上 +const baseURL = "//test.renminshitang.com.cn/daotian/api_dev"; // 测试环境本地 // const baseURL = "//idagou.cn"; // 正式环境线上 废弃 // console.log(baseURL); // const baseURL = "http://localhost:8001";