ws 4 years ago
commit c41af3d645

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

@ -18,7 +18,7 @@ export default {
methods: {
loader() {
this.isRouterViewshow = false;
console.log(123);
// console.log(123);
this.$nextTick(() => {
this.isRouterViewshow = true;
});
@ -40,7 +40,7 @@ export default {
padding: 30px;
a {
font-weight: bold;
font-weight: normal;
color: #2c3e50;
&.router-link-exact-active {

@ -102,3 +102,11 @@ export function setUserRealNameApi(data) {
params: data,
});
}
// 获取用户微信绑定的二维码
export function getUserWxApi(data) {
return request({
url: "/yishoudan/user/getMiniAppQrCodeOfBindUser",
// method: "post",
params: data,
});
}

Before

Width:  |  Height:  |  Size: 619 KiB

After

Width:  |  Height:  |  Size: 619 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 KiB

@ -257,7 +257,7 @@
.markdown strong,
.markdown b {
font-weight: 600;
font-weight: 400;
}
.markdown>table {
@ -272,7 +272,7 @@
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
font-weight: 400;
}
.markdown>table th,
@ -526,8 +526,8 @@ pre[class*="language-"] {
}
.token.important,
.token.bold {
font-weight: bold;
.token.normal {
font-weight: normal;
}
.token.italic {

@ -54,6 +54,12 @@
<div class="content unicode" style="display: block;">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont">&#xe71d;</span>
<div class="name">顶部logo</div>
<div class="code-name">&amp;#xe71d;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe716;</span>
<div class="name">微信</div>
@ -216,12 +222,6 @@
<div class="code-name">&amp;#xe6f8;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe6f7;</span>
<div class="name">顶部logo</div>
<div class="code-name">&amp;#xe6f7;</div>
</li>
<li class="dib">
<span class="icon iconfont">&#xe6f5;</span>
<div class="name">下拉</div>
@ -312,9 +312,9 @@
<pre><code class="language-css"
>@font-face {
font-family: 'iconfont';
src: url('iconfont.woff2?t=1644478280814') format('woff2'),
url('iconfont.woff?t=1644478280814') format('woff'),
url('iconfont.ttf?t=1644478280814') format('truetype');
src: url('iconfont.woff2?t=1645598161030') format('woff2'),
url('iconfont.woff?t=1645598161030') format('woff'),
url('iconfont.ttf?t=1645598161030') format('truetype');
}
</code></pre>
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@ -340,6 +340,15 @@
<div class="content font-class">
<ul class="icon_lists dib-box">
<li class="dib">
<span class="icon iconfont icon-dingbulogo"></span>
<div class="name">
顶部logo
</div>
<div class="code-name">.icon-dingbulogo
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-weixin1"></span>
<div class="name">
@ -583,15 +592,6 @@
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-dingbulogo"></span>
<div class="name">
顶部logo
</div>
<div class="code-name">.icon-dingbulogo
</div>
</li>
<li class="dib">
<span class="icon iconfont icon-xiala"></span>
<div class="name">
@ -727,6 +727,14 @@
<div class="content symbol">
<ul class="icon_lists dib-box">
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-dingbulogo"></use>
</svg>
<div class="name">顶部logo</div>
<div class="code-name">#icon-dingbulogo</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-weixin1"></use>
@ -943,14 +951,6 @@
<div class="code-name">#icon-yigezhuanmenfuwudailidepingtai</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-dingbulogo"></use>
</svg>
<div class="name">顶部logo</div>
<div class="code-name">#icon-dingbulogo</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#icon-xiala"></use>

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 3135652 */
src: url('iconfont.woff2?t=1644478280814') format('woff2'),
url('iconfont.woff?t=1644478280814') format('woff'),
url('iconfont.ttf?t=1644478280814') format('truetype');
src: url('iconfont.woff2?t=1645598161030') format('woff2'),
url('iconfont.woff?t=1645598161030') format('woff'),
url('iconfont.ttf?t=1645598161030') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-dingbulogo:before {
content: "\e71d";
}
.icon-weixin1:before {
content: "\e716";
}
@ -121,10 +125,6 @@
content: "\e6f8";
}
.icon-dingbulogo:before {
content: "\e6f7";
}
.icon-xiala:before {
content: "\e6f5";
}

File diff suppressed because one or more lines are too long

@ -5,6 +5,13 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "27782732",
"name": "顶部logo",
"font_class": "dingbulogo",
"unicode": "e71d",
"unicode_decimal": 59165
},
{
"icon_id": "27550843",
"name": "微信",
@ -194,13 +201,6 @@
"unicode": "e6f8",
"unicode_decimal": 59128
},
{
"icon_id": "27433814",
"name": "顶部logo",
"font_class": "dingbulogo",
"unicode": "e6f7",
"unicode_decimal": 59127
},
{
"icon_id": "27411236",
"name": "下拉",

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

@ -2,7 +2,7 @@
<div class="aboutus-container">
<div class="w">
<div class="bannerbox">
<img src="../../assets/关于我们banner.png" alt="" /><i
<img src="../../assets/aboutusbanner.png" alt="" /><i
class="iconfont icon-yigezhuanmenfuwudailidepingtai"
></i>
</div>
@ -75,6 +75,8 @@ export default {
// .aboutus-container {
// background-color: #fff;
// }
.aboutus-container {
// width: 100vw;
.w {
// background-color: #fff;
// margin: 16px auto;
@ -106,22 +108,23 @@ export default {
line-height: 33px;
}
p:first-of-type {
margin: 30px 0;
margin: 30px 0 40px 0;
font-size: 18px;
text-align: left;
color: #4d575e;
line-height: 26px;
}
> dl {
width: 500px;
// width: 500px;
> dt {
font-size: 22px;
color: #4d575e;
line-height: 26px;
margin-bottom: 5px;
}
> dd {
font-size: 18px;
margin-bottom: 30px;
margin-bottom: 40px;
> dl {
line-height: 26px;
dt:first-child {
@ -140,4 +143,5 @@ export default {
}
}
}
}
</style>

@ -123,7 +123,6 @@ export default {
console.log(data);
this.relationList = disposeJobListData(data.data.recordList);
this.isspinning = false;
console.log(this.relationList);
this.relationList.forEach((item) => {
item.age = "";
@ -132,6 +131,7 @@ export default {
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
resetpage() {
console.log(1);
@ -150,7 +150,7 @@ export default {
border: 1px solid rgba(77, 87, 94, 0.1);
}
.recommendposition {
width: 270px;
// width: 270px;
// height: 1008px;
overflow: hidden;
background: #ffffff;
@ -166,7 +166,7 @@ export default {
i {
display: inline-block;
line-height: 20px;
border-bottom: 3px solid #ff6a00;
border-bottom: 2px solid #ff6a00;
padding: 6px 0;
}
span {
@ -183,19 +183,19 @@ export default {
border-bottom: none;
}
.jobinfobox {
width: 230px;
// width: 240px;
// height: 298px;
// margin-bottom: 16px;
background: #ffffff;
// border: 1px solid rgba(77, 87, 94, 0.1);
border-radius: 4px;
// padding: 16px;
// padding: 20px;
border-bottom: 1px solid #f2f0ec;
margin-bottom: 20px;
.imgbox {
width: 230px;
height: 172px;
width: 200px;
height: 200px;
position: relative;
img {
width: 100%;
@ -221,7 +221,7 @@ export default {
// height: 45px;
// margin: 12px 0;
font-size: 18px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #4d575e;
line-height: 18px;
@ -251,7 +251,7 @@ export default {
background: rgba(51, 51, 51, 0.06);
border-radius: 4px;
}
span:nth-of-type(n + 4) {
span:nth-of-type(n + 3) {
display: none;
}
}
@ -261,7 +261,7 @@ export default {
font-size: 16px;
text-align: left;
color: #ff6a00;
font-weight: bold;
font-weight: normal;
line-height: 18px;
span {
font-size: 20px;

@ -218,9 +218,15 @@ export default {
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
beforeCreate() {},
created() {
// console.log(this.$router.matcher.match());
this.getJobDetail();
// Object.defineProperties("window.opener", "sessionStorage", {
// LOGIN_DATA: {},
// });
// console.log(window.opener);
},
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
@ -235,22 +241,22 @@ export default {
async getJobDetail() {
try {
const { data } = await getJobDetailApi(this.id);
console.log(data);
// console.log(data);
if (data.status === 200) {
this.jobDetail = disposeJobListData(data.data.storeJob);
data.data.storeImage.forEach((item) => {
this.storeImage.push(item.url);
});
console.log(this.storeImage);
// console.log(this.storeImage);
} else {
this.$message.warning("数据获取失败");
}
// = data.data.recordList;
console.log(data);
console.log(this.jobDetail);
// console.log(data);
// console.log(this.jobDetail);
} catch (error) {
console.log(error);
// console.log(error);
}
},
//
@ -267,7 +273,7 @@ export default {
//
handleOk() {
this.$refs.ruleForm.validate((ispass, no) => {
console.log(ispass);
// console.log(ispass);
if (ispass) {
this.confirmLoading = true;
@ -276,15 +282,15 @@ export default {
this.visible = false;
}, 2000);
} else {
console.log(123);
// console.log(123);
}
console.log(no);
});
},
//
showmodal(id) {
showmodal() {
this.visible = true;
console.log(id);
console.log(this.id);
},
},
};
@ -332,6 +338,7 @@ export default {
line-height: 32px;
margin-left: 12px;
color: #fff;
box-shadow: none;
&:hover {
background-color: #ff8025 !important;
}
@ -340,7 +347,7 @@ export default {
/deep/ .ant-modal-header {
.ant-modal-title {
font-size: 20px;
// font-weight: bold;
// font-weight: normal;
}
}
/deep/ .ant-modal-body {
@ -352,7 +359,7 @@ export default {
justify-content: space-between;
margin-top: 16px;
.maincontentleft {
width: 914px;
width: 944px;
margin-right: 16px;
text-align: left;
.subset {
@ -360,7 +367,7 @@ export default {
justify-content: space-between;
padding: 16px;
margin-bottom: 16px;
width: 914px;
// width: 914px;
background-color: #fff;
// height: 302px;
border-radius: 4px;
@ -433,7 +440,7 @@ export default {
.jobname {
// margin: 12px 0;
font-size: 20px;
font-weight: 600;
font-weight: 400;
text-align: left;
color: #4d575e;
line-height: 20px;
@ -476,7 +483,7 @@ export default {
.jobpricehour {
margin-top: 16px;
font-size: 16px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #ff6a00;
// line-height: 24px;
@ -497,7 +504,7 @@ export default {
border-radius: 4px;
background-color: rgba(254, 97, 0, 0.1);
font-size: 18px;
font-weight: bold;
font-weight: normal;
color: #ff6a00;
line-height: 34px;
}
@ -508,7 +515,7 @@ export default {
border: none;
background-color: #ff6a00;
color: #fff;
font-weight: bold;
font-weight: normal;
font-size: 18px;
border-radius: 4px;
cursor: pointer;
@ -522,7 +529,7 @@ export default {
// .jobname {
// // margin: 12px 0;
// font-size: 20px;
// font-weight: 600;
// font-weight: 400;
// text-align: left;
// color: #4d575e;
// line-height: 30px;
@ -561,7 +568,7 @@ export default {
// .jobpricehour {
// margin-top: 20px;
// font-size: 18px;
// font-weight: bold;
// font-weight: normal;
// text-align: left;
// color: #ff6a00;
// line-height: 18px;
@ -582,7 +589,7 @@ export default {
// border-radius: 4px;
// background-color: rgba(254, 97, 0, 0.1);
// font-size: 18px;
// font-weight: bold;
// font-weight: normal;
// color: #ff6a00;
// line-height: 34px;
// }
@ -593,7 +600,7 @@ export default {
// border: none;
// background-color: #ff6a00;
// color: #fff;
// font-weight: bold;
// font-weight: normal;
// font-size: 18px;
// border-radius: 4px;
// }
@ -602,7 +609,7 @@ export default {
}
}
.jobinformationbox {
width: 914px;
width: 944px;
// border: 1px solid #eeefef;
overflow: hidden;
border-radius: 4px;
@ -615,7 +622,7 @@ export default {
color: #4d575e;
line-height: 33px;
margin-bottom: 20px;
font-weight: bold;
font-weight: normal;
padding: 10px 0;
border-bottom: 1px solid #eeefef;
@ -642,11 +649,12 @@ export default {
}
}
.maincontentright {
width: 240px;
> div {
margin-bottom: 16px;
}
.hotphone {
width: 270px;
width: 240px;
overflow: hidden;
// height: 114px;
padding: 0 20px 20px 20px;
@ -657,7 +665,7 @@ export default {
p {
font-size: 24px;
color: #ff6a00;
// font-weight: bold;
// font-weight: normal;
margin-top: 12px;
}
}
@ -669,10 +677,10 @@ export default {
background-color: #fff;
.companydetail {
width: 200px;
p:first-of-type {
width: 230px;
font-size: 18px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #4d575e;
margin-bottom: 12px;
@ -682,7 +690,7 @@ export default {
text-overflow: ellipsis;
}
.imgbox {
width: 230px;
// width: 230px;
height: 172px;
margin-bottom: 12px;
img {
@ -699,6 +707,7 @@ export default {
}
}
.companylocation {
width: 200px;
h1 {
// height: 50px;
// line-height: 50px;
@ -707,7 +716,7 @@ export default {
// border-top: 1px solid #eeefef;
}
.imgbox {
width: 230px;
// width: 230px;
height: 172px;
img {
width: 100%;

@ -54,7 +54,7 @@
</a-form-model>
</a-modal>
<!-- 筛选导航 -->
<div class="navigation">
<div class="navigation" id="navigation">
<div class="w">
<!-- 特色筛选的列表盒子 -->
<div v-if="isspecialboxshow" class="specialbox" @click.stop="">
@ -143,8 +143,9 @@
></i>
</div>
</li>
<li @click="claerfilter" class="claerfilter">
<li class="claerfilter">
<a
@click="claerfilter"
href="javascript:;"
v-if="
formvalue.district.length !== 0 ||
@ -195,7 +196,11 @@
<div v-if="!isspinning">
<div class="subset" v-for="(item, index) in jobMainList" :key="index">
<div class="subsetleft">
<router-link target="_blank" :to="'/detail/' + item.id">
<router-link
target="_blank"
:to="'/detail/' + item.id"
rel="opener"
>
<div class="imgbox" @click="totop">
<img v-if="item.logo.length !== 0" :src="item.logo" />
<img
@ -206,7 +211,11 @@
</div>
</router-link>
<div class="jobinfobox">
<router-link target="_blank" :to="'/detail/' + item.id">
<router-link
target="_blank"
:to="'/detail/' + item.id"
rel="opener"
>
<div class="jobname" @click="totop">{{ item.aliasName }}</div>
</router-link>
<div class="jobinfo">
@ -256,11 +265,15 @@
: false
"
>{{ item.returnFee }}</span
><i v-else>--</i> /
><i v-else>--</i>{{ item.servetype }}
</div>
</div>
<div class="bottombox1">
<router-link target="_blank" :to="'/detail/' + item.id">
<router-link
target="_blank"
:to="'/detail/' + item.id"
rel="opener"
>
<button>更多</button>
</router-link>
<button @click="showmodal(item.id)"></button>
@ -440,22 +453,22 @@ export default {
watch: {
formvalue: {
handler(e) {
console.log(e);
// console.log(e);
//
// if(e.city !== undefined){
if (e.district.length === 0) {
document.getElementById("city").style.width = 85 + "px";
} else {
const result = e.district.join("");
console.log(result);
// console.log(result);
if (result.length > 6) {
document.getElementById("city").style.width =
(result.length + 3) * 14 + "px";
document.getElementById("city").style.maxWidth = "250px";
document.getElementById("city").style.maxWidth = "210px";
document.querySelector("#city").nextElementSibling.style.width = // s
(result.length + 3) * 14 + "px";
document.getElementById("city").nextElementSibling.style.maxWidth =
"250px";
"210px";
} else if (result.length > 5) {
document.getElementById("city").style.width =
(result.length + 2.8) * 14 + "px";
@ -528,13 +541,37 @@ export default {
// document.querySelector(".ant-pagination-options-quick-jumper").innerHTML =
// "<input type='text'>";
console.log(this.formvalue);
window.addEventListener("scroll", this.windowScroll); //
},
//
methods: {
/**
* 处理后台返回的职位列表
*/
windowScroll() {
let scrollTop =
window.pageYOffset ||
document.documentElement.scrollTop ||
document.body.scrollTop;
// console.log(scrollTop); // ,
let navigation = document.getElementById("navigation");
let content = document.querySelector(".maincontent");
// console.log(content);
// let left = ("100vw" - "1200px") / 2;
if (scrollTop >= 81) {
navigation.style.position = "fixed";
navigation.style.top = "0px";
navigation.style.boxShadow = "2px 2px 4px 0px rgba(0,0,0,0.05)";
// navigation.style.left = 0;
content.style.marginTop = "90px";
// navigation.style.backgroundColor = "red";
// console.log(navigation.style);
} else {
navigation.style.position = "relative";
content.style.marginTop = "16px";
navigation.style.boxShadow = "none";
}
},
//
onSearch(e) {
console.log(e);
@ -545,6 +582,7 @@ export default {
// this.getJobList();
// }
// } else
this.formvalue.pageNum = 1;
if (e.target.value.trim() !== "") {
console.log("search");
this.formvalue.aliasName = e.target.value.trim();
@ -609,7 +647,17 @@ export default {
this.getJobList();
},
inputpageChange(e) {
const pagenumcount = this.formvalue.total / this.formvalue.pageSize;
console.log(pagenumcount);
if (e.target.value) {
if (e.target.value > pagenumcount) {
this.formvalue.pageNum = Math.ceil(pagenumcount);
} else {
this.formvalue.pageNum = e.target.value;
}
} else {
this.formvalue.pageNum = 1;
}
this.getJobList();
console.log(e);
},
@ -696,9 +744,16 @@ export default {
console.log(ispass);
if (ispass) {
this.confirmLoading = true;
console.log(this.form);
setTimeout(() => {
this.confirmLoading = false;
this.form = {
//
name: "",
tel: "",
peoplecard: "",
username: "",
};
this.visible = false;
}, 2000);
} else {
@ -735,10 +790,14 @@ export default {
} else if (date.getDay() === 7) {
this.dateinfo.week = "星期日";
}
if (date.getDate().length < 2) {
console.log(date.getDate());
console.log(date.getDate().length);
if (date.getDate().toString().length <= 1) {
this.dateinfo.day = "0" + date.getDate();
console.log(this.dateinfo.day);
} else {
this.dateinfo.day = date.getDate();
console.log(this.dateinfo.day);
}
this.dateinfo.date = date.getFullYear() + "." + (date.getMonth() + 1);
},
@ -794,6 +853,7 @@ export default {
/deep/ .ant-modal-footer {
padding: 10px 24px;
.ant-btn {
box-shadow: none;
&:hover {
color: #ff6a00;
border-color: #ff6a00;
@ -805,6 +865,7 @@ export default {
line-height: 32px;
margin-left: 12px;
color: #fff;
box-shadow: none;
&:hover {
background-color: #ff8025 !important;
}
@ -813,7 +874,7 @@ export default {
/deep/ .ant-modal-header {
.ant-modal-title {
font-size: 20px;
// font-weight: bold;
// font-weight: normal;
}
}
/deep/ .ant-modal-body {
@ -822,6 +883,7 @@ export default {
}
/deep/ .navigation {
// margin-top: -1px;
width: 100%;
background-color: #fff;
border: 1px solid #f6f6f6;
height: 72px;
@ -829,7 +891,7 @@ export default {
// line-height: 100px;
position: relative;
z-index: 999;
.special-active {
color: rgb(254, 97, 0) !important;
background-color: rgba(255, 106, 0, 0.1) !important;
@ -850,7 +912,7 @@ export default {
display: flex;
justify-content: flex-start;
> span {
margin-top: 20px;
margin-top: 19px;
// margin-right: 285px;
i {
font-size: 18px;
@ -863,21 +925,25 @@ export default {
position: absolute;
left: 8px;
top: 16px;
i {
color: #c9c9c9;
}
}
.ant-input-suffix {
right: 0 !important;
}
}
.ant-input {
width: 320px;
width: 300px;
height: 32px;
text-indent: 10px;
background: #fff;
// border: 1px solid rgba(77, 87, 94, 0.3);
border-radius: 136px;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
box-shadow: 0px 2px 4px 0px transparent;
font-size: 14px !important;
padding-right: 0;
border-color: #e9e9e9;
&::placeholder {
text-indent: 10px;
font-size: 14px !important;
@ -944,12 +1010,12 @@ export default {
.filterbox {
display: flex;
justify-content: flex-start;
min-width: 595px;
min-width: 645px;
> li {
margin-top: 24px;
margin-top: 22px;
font-size: 14px;
color: #4d575e;
// margin-right: 20px;
margin-right: 4px;
.ant-cascader-picker {
width: auto;
position: relative;
@ -995,9 +1061,9 @@ export default {
position: relative;
display: inline-block;
width: 12px;
height: 14px;
margin-right: 4px;
font-size: 12px;
height: 15px;
margin-right: 6px;
font-size: 14px;
color: #ff6a00;
// margin-top: -9px;
&::before {
@ -1057,7 +1123,7 @@ export default {
font-size: 12px;
height: 12px;
position: relative;
margin-left: 10px;
margin-left: 3px;
transform: scale(0.8);
// vertical-align: middle;
@ -1086,7 +1152,7 @@ export default {
position: relative;
color: #8c8d8f;
font-size: 14px;
margin: 28px 30px 0 25px;
margin: 28px 25px 0 20px;
// color: rgba(78, 88, 95, 0.8);
transform: translateY(-1px);
// margin-left: 25px;
@ -1109,7 +1175,7 @@ export default {
justify-content: space-between;
margin-top: 16px;
.maincontentleft {
width: 914px;
width: 944px;
margin-right: 16px;
text-align: left;
.nodata {
@ -1130,12 +1196,19 @@ export default {
.subset {
display: flex;
justify-content: space-between;
width: 914px;
// width: 944px;
// height: 212px;
padding: 16px;
margin-bottom: 16px;
background: #ffffff;
border-radius: 4px;
transition: all 0.2s;
&:hover {
// position: relative;
box-shadow: 3px 3px 20px 0px rgba(77, 87, 94, 0.1);
// transform: translateY(-0.5px);
}
.subsetleft {
display: flex;
.imgbox {
@ -1158,7 +1231,7 @@ export default {
.jobname {
// margin: 12px 0;
font-size: 20px;
font-weight: 600;
// font-weight: 400;
text-align: left;
color: #4d575e;
line-height: 20px;
@ -1201,7 +1274,7 @@ export default {
.jobpricehour {
margin-top: 12px;
font-size: 16px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #ff6a00;
// line-height: 24px;
@ -1227,25 +1300,26 @@ export default {
color: #ff6a00;
line-height: 30px;
div {
// font-weight: bold;
// font-weight: normal;
font-size: 16px;
span {
font-size: 20px;
// font-weight: bold;
// font-weight: normal;
}
}
div:first-child {
height: 24px;
background: #ff6a00;
line-height: 24px;
line-height: 21px;
font-size: 14px;
color: #ffffff;
border: 1px solid #ff6a00;
border-radius: 4px 4px 0px 0px;
}
div:last-child {
font-weight: bold;
font-weight: normal;
background-color: #fff4e3;
}
}
.bottombox1 {
@ -1334,6 +1408,7 @@ export default {
// }
}
.maincontentright {
width: 240px;
> div {
margin-bottom: 16px;
}
@ -1343,7 +1418,7 @@ export default {
border-radius: 4px;
position: relative;
padding-bottom: 10px;
background-color: #fff1e7;
background-color: #fff4e3;
.bottombox {
position: relative;
margin-top: 0;
@ -1355,13 +1430,14 @@ export default {
background-color: #ff6a00;
&::after {
left: 0;
display: none;
}
}
}
.hotphone {
overflow: hidden;
position: relative;
width: 270px;
width: 240px;
height: 160px;
// height: 114px;
padding: 0 20px 20px 20px;
@ -1373,7 +1449,7 @@ export default {
width: 100%;
font-size: 24px;
color: #ff6a00;
// font-weight: bold;
// font-weight: normal;
top: 65%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
@ -1382,7 +1458,7 @@ export default {
.relationme {
overflow: hidden;
position: relative;
width: 270px;
width: 240px;
height: 160px;
padding: 0 20px 20px;
background: #ffffff;

@ -2,7 +2,9 @@
<div class="center">
<div class="formcontainer">
<div class="logo">
<i class="iconfont icon-dingbulogo"></i>
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-dingbulogo"></use>
</svg>
</div>
<ul class="loginchange centerall">
<li :class="{ loginactive: loginway === 1 }" @click="loginway = 1">
@ -253,7 +255,7 @@ export default {
this.$message.warning(data.msg);
return;
}
localStorage.setItem("LOGIN_DATA", JSON.stringify(data.data));
sessionStorage.setItem("LOGIN_DATA", JSON.stringify(data.data));
this.$router.push("/list");
this.reload();
// this.$router.push("/list");
@ -279,7 +281,7 @@ export default {
this.$message.warning(data.msg);
return;
}
localStorage.setItem("LOGIN_DATA", JSON.stringify(data.data));
sessionStorage.setItem("LOGIN_DATA", JSON.stringify(data.data));
this.$router.push("/list");
this.reload();
} catch (err) {
@ -332,17 +334,19 @@ export default {
margin: 0 auto;
}
.logo {
width: 120px;
height: 52px;
margin: 30px auto 0px;
text-align: center;
// img {
// width: 100%;
// height: 100%;
// }
i {
svg {
width: 150px;
// height: 46px;
text-align: center;
font-size: 52px;
line-height: 52px;
color: #ff6a00;
// color: initial;
}
}
.loginchange {

@ -4,7 +4,7 @@
<div class="maincontentleft">
<div class="subset">
<div class="imgbox">
<img src="../../assets/伯才人力-郑州.png" alt="" />
<img src="../../assets/zhengzhou.png" alt="" />
</div>
<div class="outletsinfobox">
<div class="outletsname">伯才人力郑州旗舰店</div>
@ -28,7 +28,7 @@
</div>
<div class="subset">
<div class="imgbox">
<img src="../../assets/伯才人力-许昌.png" alt="" />
<img src="../../assets/xuchang.png" alt="" />
</div>
<div class="outletsinfobox">
<div class="outletsname">伯才人力许昌服务店</div>
@ -118,19 +118,26 @@ export default {
justify-content: space-between;
margin-top: 16px;
.maincontentleft {
width: 914px;
width: 944px;
margin-right: 16px;
margin-bottom: 130px;
text-align: left;
.subset {
display: flex;
justify-content: space-between;
width: 914px;
// width: 914px;
height: 226px;
padding: 20px;
margin-bottom: 16px;
background: #ffffff;
border-radius: 4px;
transition: all 0.2s;
&:hover {
// position: relative;
box-shadow: 3px 3px 20px 0px rgba(77, 87, 94, 0.1);
// transform: translateY(-0.5px);
}
.imgbox {
width: 248px;
height: 186px;
@ -144,14 +151,14 @@ export default {
flex: 1;
.outletsname {
font-size: 20px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #4d575e;
line-height: 30px;
}
.outletsinfo {
margin-top: 16px;
font-size: 16px;
margin-top: 24px;
font-size: 15px;
text-align: left;
color: #4d575ecc;
line-height: 24px;
@ -163,10 +170,11 @@ export default {
.outletslocation {
color: #ff6a00;
// line-height: 22px;
font-size: 17px;
i {
vertical-align: bottom;
font-size: 22px;
margin-right: 12px;
vertical-align: baseline;
font-size: 18px;
margin-right: 8px;
}
}
button {
@ -214,7 +222,7 @@ export default {
.hotphone {
overflow: hidden;
position: relative;
width: 270px;
width: 240px;
height: 160px;
// height: 114px;
padding: 0 20px 20px;
@ -227,7 +235,7 @@ export default {
width: 100%;
font-size: 24px;
color: #ff6a00;
// font-weight: bold;
// font-weight: normal;
top: 65%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
@ -236,7 +244,7 @@ export default {
.relationme {
overflow: hidden;
position: relative;
width: 270px;
width: 240px;
height: 160px;
padding: 0 20px 20px;
color: rgba(0, 0, 0, 0.85);

@ -3,9 +3,7 @@
<div class="main-container">
<div class="bgimg">
<a-carousel :autoplay="true" effect="fade" :dots="false" ref="scrollimg">
<img src="../../assets/banner1.png" alt="" />
<img src="../../assets/banner2.png" alt="" />
<img src="../../assets/banner3.png" alt="" />
<img :src="item" alt="" v-for="(item, index) in imglist" :key="index" />
</a-carousel>
<div class="middleslogan" :style="{ opacity: isshow ? '1' : '0' }">
<i class="iconfont icon-yigezhuanmenfuwudailidepingtai"></i>
@ -32,6 +30,11 @@ export default {
data() {
return {
isshow: false,
imglist: [
require("../../assets/banner1.png"),
require("../../assets/banner2.png"),
require("../../assets/banner3.png"),
],
};
},
//

@ -0,0 +1,39 @@
<template>
<div class="">
<ConfigProvider></ConfigProvider>
</div>
</template>
<script>
import { ConfigProvider } from "antd";
export default {
//
name: "",
//
components: { ConfigProvider },
//
props: {},
//
data() {
return {};
},
//
computed: {},
//
watch: {},
//
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {},
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {},
//
methods: {},
};
</script>
<style scoped lang="less"></style>

@ -18,12 +18,20 @@
</div>
</li>
</ul>
<div style="text-align: center">扫一扫</div>
<div style="text-align: center">
<div>
<a-spin tip="加载中..." :spinning="isspinning"> </a-spin>
<img :src="qrcodeurl" alt="" v-if="!isspinning" />
</div>
<div style="margin-top: 10px">微信扫一扫</div>
</div>
</div>
</div>
</template>
<script>
import { getUserWxApi } from "../../../../api/userinfo";
export default {
//
name: "",
@ -38,7 +46,9 @@ export default {
},
//
data() {
return {};
return {
isspinning: true,
};
},
//
computed: {},
@ -48,20 +58,41 @@ export default {
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {},
created() {
this.getUserWx();
},
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {},
//
methods: {},
methods: {
async getUserWx() {
try {
this.isspinning = true;
const { data } = await getUserWxApi();
console.log(data);
if (data.status === 200) {
this.qrcodeurl = data.data;
}
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
},
};
</script>
<style scoped lang="less">
.boundbankcard-container {
.contentbody {
text-align: center;
img {
width: 150px;
height: 150px;
}
ul {
padding-bottom: 16px;
border-bottom: 1px solid #f9f9f9;

@ -1,18 +1,29 @@
<template>
<div class="boundwx-container">
<div class="contenttitle">
<span v-if="!userinfo.tel"></span>
<span v-if="!userinfo.openIdAppDTDL"></span>
<span v-else></span>
</div>
<div class="contentbody" v-if="!userinfo.tel"></div>
<div class="contentbody" v-if="!userinfo.openIdAppDTDL">
<div>
<a-spin tip="加载中..." :spinning="isspinning"> </a-spin>
<img :src="qrcodeurl" alt="" v-if="!isspinning" />
</div>
<div style="margin-top: 10px">微信扫一扫</div>
</div>
<div class="contentbody" v-else>
<div class="username">{{ userinfo.userName }}</div>
<div class="username" v-if="userinfo.userName">
{{ userinfo.userName }}
</div>
<div class="username" v-else>{{ userinfo.hidetel }}</div>
<button @click="submit"></button>
</div>
</div>
</template>
<script>
import { getUserWxApi } from "../../../../api/userinfo";
export default {
//
name: "",
@ -26,7 +37,10 @@ export default {
},
//
data() {
return {};
return {
qrcodeurl: "",
isspinning: false,
};
},
//
computed: {},
@ -36,7 +50,9 @@ export default {
/**
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {},
created() {
this.getUserWx();
},
/**
* el 被新创建的 vm.el 替换并挂载到实例上去之后调用该钩子
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
@ -45,6 +61,19 @@ export default {
//
methods: {
submit() {},
async getUserWx() {
try {
this.isspinning = true;
const { data } = await getUserWxApi();
console.log(data);
if (data.status === 200) {
this.qrcodeurl = data.data;
}
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
},
};
</script>
@ -52,11 +81,17 @@ export default {
<style scoped lang="less">
.boundwx-container {
.contentbody {
text-align: center;
img {
width: 150px;
height: 150px;
}
button {
// width: 64px;
// height: 32px;
padding: 5px 18px;
background: #ff6a00;
margin-top: 16px;
border-radius: 4px;
border: none;
font-size: 14px;

@ -27,8 +27,8 @@
</div>
<div class="contentbody" v-else>
<div class="warningmsg">智能加密保障您的信息安全</div>
<div>真实姓名{{ userinfo.realName }}</div>
<div>身份证号{{ userinfo.IDCard }}</div>
<div>真实姓名{{ userinfo.hidename }}</div>
<div>身份证号{{ userinfo.hideId }}</div>
</div>
</div>
</template>

@ -40,7 +40,7 @@
>
<span><i class="iconfont icon-weixin1"></i>绑定微信</span
><span
><span>已绑</span>
><span v-if="userinfo.openIdAppDTDL"></span>
<i class="iconfont icon-youjiantou"></i>
</span>
</li>
@ -135,6 +135,19 @@ export default {
const beforetel = this.userinfo.tel.substr(0, 3);
const aftertel = this.userinfo.tel.substr(7, 4);
this.userinfo.hidetel = beforetel + "****" + aftertel;
const beforeId = this.userinfo.IDCard.substr(0, 1);
const afterId = this.userinfo.IDCard.substr(17, 1);
this.userinfo.hideId = beforeId + "****************" + afterId;
const hidename = this.userinfo.realName.substr(
this.userinfo.realName.length - 1,
1
);
// this.userinfo.hidename = hidename;
let newstr = "";
for (let i = 0; i < this.userinfo.realName.length - 1; i++) {
newstr += "*";
}
this.userinfo.hidename = newstr + hidename;
console.log(aftertel);
console.log(beforetel);
}
@ -179,7 +192,7 @@ export default {
<style scoped lang="less">
.accountcontent {
height: 1000px;
// height: 1000px;
margin-top: 16px;
// background-color: pink;
display: flex;
@ -223,13 +236,13 @@ export default {
justify-content: space-between;
// border-bottom: 1px solid #f3f4f4;
cursor: pointer;
&:nth-child(1):after {
&:nth-child(-n + 3):after {
position: absolute;
content: "";
display: inline-block;
height: 1px;
width: 314px;
bottom: 0;
bottom: -1px;
left: 16px;
background-color: #f3f4f4;
}

@ -24,7 +24,13 @@
:data-source="data"
:pagination="false"
@change="onChange"
:locale="tablenodata"
:rowKey="(record) => record.index"
:loading="{
spinning: isspinning,
tip: '加载中',
wrapperClassName: 'spinstyle',
}"
>
<a slot="name" slot-scope="text">{{ text }}</a>
</a-table>
@ -42,6 +48,7 @@
type="text"
@keyup.enter="inputpageChange"
@blur="inputpageChange"
:style="{ 'background-Color': '#f6f6f6' }"
/>
</div>
</div>
@ -67,6 +74,20 @@ export default {
//
data() {
return {
tablenodata: {
//
emptyText: () => (
<div>
<div>
<img
src="https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png"
style="width:105px;height:90px;marginTop:20px"
/>
</div>
<div style="marginBottom:20px">暂无数据</div>
</div>
),
},
pagination: {
pageNum: 1,
pageSize: 1,
@ -85,7 +106,7 @@ export default {
title: "交易金额(元)",
dataIndex: "money",
key: "money",
width: 120,
width: 130,
},
{
title: "收款账户",
@ -109,6 +130,7 @@ export default {
},
],
data: [],
isspinning: false,
};
},
//
@ -134,7 +156,19 @@ export default {
this.getUserDetailInfo();
},
inputpageChange(e) {
console.log(e);
const pagenumcount = this.pagination.total / this.pagination.pageSize;
console.log(pagenumcount);
if (e.target.value) {
if (e.target.value > pagenumcount) {
this.pagination.pageNum = Math.ceil(pagenumcount);
} else {
this.pagination.pageNum = e.target.value;
}
} else {
this.pagination.pageNum = 1;
}
// this.pagination.pageNum = e.target.value;
this.getUserDetailInfo();
// this.getJobList();
console.log(e);
@ -142,6 +176,7 @@ export default {
async getUserDetailInfo() {
try {
this.isspinning = true;
const { data } = await userDetailApi(this.pagination);
if (data.status === 200) {
this.data = data.data.recordList;
@ -162,6 +197,7 @@ export default {
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
},
};
@ -203,7 +239,7 @@ export default {
overflow: hidden;
> div {
color: #fff;
margin-left: 88px;
margin-left: 72px;
margin-top: 14px;
> span {
font-size: 16px;

@ -34,6 +34,7 @@
tip: '加载中',
wrapperClassName: 'spinstyle',
}"
:locale="tablenodata"
:rowKey="(record) => record.index"
>
<a slot="name" slot-scope="text">{{ text }}</a>
@ -52,6 +53,7 @@
type="text"
@keyup.enter="inputpageChange"
@blur="inputpageChange"
:style="{ 'background-Color': '#f6f6f6' }"
/>
</div>
</div>
@ -72,6 +74,20 @@ export default {
//
data() {
return {
tablenodata: {
//
emptyText: () => (
<div>
<div>
<img
src="https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png"
style="width:105px;height:90px;marginTop:20px"
/>
</div>
<div style="marginBottom:20px">暂无数据</div>
</div>
),
},
isspinning: false,
pagination: {
pageNum: 1,
@ -143,8 +159,14 @@ export default {
this.getBill();
},
inputpageChange(e) {
const pagenumcount = this.pagination.total / this.pagination.pageSize;
console.log(pagenumcount);
if (e.target.value) {
if (e.target.value > pagenumcount) {
this.pagination.pageNum = Math.ceil(pagenumcount);
} else {
this.pagination.pageNum = e.target.value;
}
} else {
this.pagination.pageNum = 1;
}
@ -170,11 +192,11 @@ export default {
console.log(true);
this.pagination.total = data.data.recordCount;
this.isspinning = false;
}
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
resetpag() {
this.pagination = {
@ -205,13 +227,16 @@ export default {
.townsmanactive {
border-color: #ff6a00;
color: #ff6a00;
z-index: 999;
}
button {
width: 100px;
height: 28px;
position: relative;
font-size: 14px;
border: 1px solid #cccccc;
background-color: #fff;
margin-right: -1px;
cursor: pointer;
&:hover {
color: #ff6a00;

@ -94,7 +94,6 @@ export default {
val.state1 = "已过期";
}
});
this.isspinning = false;
}
this.cardlist = data.data.recordList;
this.cardlist.forEach((val) => {
@ -111,6 +110,7 @@ export default {
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
},
};
@ -208,7 +208,7 @@ export default {
h1 {
color: #ff6a00;
font-size: 44px;
font-weight: bold;
font-weight: normal;
line-height: 44px;
span {
font-size: 32px;

@ -25,6 +25,12 @@
:pagination="false"
@change="onChange"
:rowKey="(record) => record.index"
:locale="tablenodata"
:loading="{
spinning: isspinning,
tip: '加载中',
wrapperClassName: 'spinstyle',
}"
>
<!-- <a slot="name" slot-scope="text">{{ text }}</a> -->
</a-table>
@ -42,6 +48,7 @@
type="text"
@keyup.enter="inputpageChange"
@blur="inputpageChange"
:style="{ 'background-Color': '#f6f6f6' }"
/>
</div>
</div>
@ -67,6 +74,20 @@ export default {
//
data() {
return {
tablenodata: {
//
emptyText: () => (
<div>
<div>
<img
src="https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png"
style="width:105px;height:90px;marginTop:20px"
/>
</div>
<div style="marginBottom:20px">暂无数据</div>
</div>
),
},
columns: [
{
title: "序号",
@ -116,6 +137,7 @@ export default {
total: null, //
},
showbalance: true,
isspinning: false,
};
},
//
@ -142,12 +164,24 @@ export default {
this.pagination.pageNum = e;
},
inputpageChange(e) {
const pagenumcount = this.pagination.total / this.pagination.pageSize;
console.log(pagenumcount);
if (e.target.value) {
if (e.target.value > pagenumcount) {
this.pagination.pageNum = Math.ceil(pagenumcount);
} else {
this.pagination.pageNum = e.target.value;
}
} else {
this.pagination.pageNum = 1;
}
// this.getJobList();
this.getPointDetail();
console.log(e);
},
async getPointDetail() {
try {
this.isspinning = true;
const { data } = await getPointDetailApi(this.pagination);
console.log(data);
if (data.status === 200) {
@ -170,11 +204,11 @@ export default {
console.log(true);
this.pagination.total = data.data.recordCount;
this.isspinning = false;
}
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
},
};
@ -211,12 +245,12 @@ export default {
}
.balance {
height: 102px;
background: url("../../../../assets/bgbalance.png") no-repeat center;
background: url("../../../../assets/bgintegral.png") no-repeat center;
background-size: 100% 100%;
overflow: hidden;
> div {
color: #fff;
margin-left: 88px;
margin-left: 72px;
margin-top: 14px;
> span {
font-size: 16px;

@ -28,6 +28,7 @@
tip: '加载中',
wrapperClassName: 'spinstyle',
}"
:locale="tablenodata"
:rowKey="(record) => record.index"
>
<a slot="name" slot-scope="text">{{ text }}</a>
@ -46,6 +47,7 @@
type="text"
@keyup.enter="inputpageChange"
@blur="inputpageChange"
:style="{ 'background-Color': '#f6f6f6' }"
/>
</div>
</div>
@ -56,6 +58,7 @@
<script>
import { userTownsmanApi } from "../../../../api/userinfo";
import { formatDateYMD } from "../../../../utils/commonUtil";
export default {
//
name: "",
@ -66,6 +69,20 @@ export default {
//
data() {
return {
tablenodata: {
//
emptyText: () => (
<div>
<div>
<img
src="https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png"
style="width:105px;height:90px;marginTop:20px"
/>
</div>
<div style="marginBottom:20px">暂无数据</div>
</div>
),
},
pagination: {
pageNum: 1,
pageSize: 1,
@ -130,7 +147,17 @@ export default {
console.log(e);
},
inputpageChange(e) {
const pagenumcount = this.pagination.total / this.pagination.pageSize;
console.log(pagenumcount);
if (e.target.value) {
if (e.target.value > pagenumcount) {
this.pagination.pageNum = Math.ceil(pagenumcount);
} else {
this.pagination.pageNum = e.target.value;
}
} else {
this.pagination.pageNum = 1;
}
// this.getJobList();
this.getTownsman();
console.log(e);
@ -152,11 +179,20 @@ export default {
console.log(true);
this.pagination.total = data.data.recordCount;
this.isspinning = false;
}
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
getPopupContainer(el, dialogContext) {
console.log(el);
console.log(dialogContext);
if (dialogContext) {
return dialogContext.getDialogWrap();
} else {
return document.body;
}
},
},
};
@ -178,13 +214,17 @@ export default {
.townsmanactive {
border-color: #ff6a00;
color: #ff6a00;
z-index: 999;
}
button {
width: 100px;
height: 28px;
position: relative;
font-size: 14px;
border: 1px solid #cccccc;
background-color: #fff;
margin-right: -1px;
// transition: all 1s;
cursor: pointer;
&:hover {
color: #ff6a00;

@ -28,7 +28,7 @@
>
<span><i class="iconfont icon-jifen"></i>我的积分</span
><span
><span>{{ userpoint ? userpoint : "--" }}</span
><span>{{ userpoint >= 0 ? userpoint : "--" }}</span
><i class="iconfont icon-youjiantou"></i
></span>
</li>
@ -40,7 +40,7 @@
><span
><span
>{{
cardinfo.recordCount ? cardinfo.recordCount : "--"
cardinfo.recordCount ? cardinfo.recordCount : "0"
}}</span
><i class="iconfont icon-youjiantou"></i
></span>
@ -51,7 +51,7 @@
>
<span><i class="iconfont icon-yue"></i>我的余额</span
><span
><span>{{ userbalance >= 0 ? userbalance : "--" }}</span>
><span>{{ userbalance >= 0 ? userbalance : "0" }}</span>
<i class="iconfont icon-youjiantou"></i
></span>
</li>
@ -141,7 +141,8 @@ export default {
async getUserBalanceInfo() {
try {
const { data } = await userBalanceApi();
this.userbalance = data.data.balance;
this.userbalance = data.data.balance / 100;
console.log(data);
console.log(this.userbalance);
} catch (error) {
@ -202,7 +203,7 @@ export default {
display: inline-block;
height: 1px;
width: 314px;
bottom: 0;
bottom: -1px;
left: 16px;
background-color: #f3f4f4;
}
@ -242,7 +243,7 @@ export default {
display: inline-block;
height: 1px;
width: 314px;
bottom: 0;
bottom: -1px;
left: 16px;
background-color: #f3f4f4;
}
@ -271,6 +272,7 @@ export default {
}
.rightcontent {
width: 838px;
min-height: 600px;
// height: 600px;
padding: 0 16px;
background-color: #fff;

@ -7,6 +7,7 @@ import "ant-design-vue/dist/antd.css";
import "../src/style/index.less";
import "../src/style/userinfo.less"; //用户账号设置和个人中心的样式
import "@/permission"; // permission control
import "./svg";
Vue.config.productionTip = false;
Vue.use(antd);
new Vue({

@ -2,8 +2,8 @@
import router from "./router";
router.beforeEach(async (to, from, next) => {
console.log(to);
console.log(from);
// console.log(to);
// console.log(from);
// 路由守卫
const whiteList = [
// 设置白名单
@ -13,12 +13,15 @@ router.beforeEach(async (to, from, next) => {
"/aboutus",
"/main",
"/updatepsw",
// "/register",
];
const isLogin = localStorage.getItem("LOGIN_DATA") !== null ? true : false;
const isLogin = sessionStorage.getItem("LOGIN_DATA") !== null ? true : false;
// const isLogin = localStorage.getItem("LOGIN_DATA") !== null ? true : false;
// if (to.fullPath === from.fullPath) {
// next(to.path);
// }
console.log(to);
// console.log(isLogin);
// console.log(to);
if (isLogin) {
if (to.path === "/login") {
next("/login");

@ -59,6 +59,11 @@ const routes = [
name: "updatepsw",
component: () => import("../components/Login/updatepsw.vue"),
},
// {
// path: "/register",
// name: "register",
// component: () => import("../components/Login/register.vue"),
// },
],
},
],

@ -116,6 +116,14 @@ p {
i {
font-style: normal;
}
//svg图标
.icon {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
// 字体图标
@font-face {
@ -132,6 +140,10 @@ i {
-moz-osx-font-smoothing: grayscale;
}
.icon-dingbulogo:before {
content: "\e71d";
}
.icon-weixin1:before {
content: "\e716";
}
@ -240,10 +252,6 @@ i {
content: "\e6f8";
}
.icon-dingbulogo:before {
content: "\e6f7";
}
.icon-xiala:before {
content: "\e6f5";
}
@ -291,7 +299,6 @@ i {
.icon-yonghu:before {
content: "\e6e0";
}
// 公用样式类名
.w {
width: 1200px;
@ -305,6 +312,12 @@ i {
text-align: center;
margin-bottom: 30px;
margin-top: 15px;
.ant-pagination-item-container {
.ant-pagination-item-link-icon {
color: #ff6a00;
}
}
.ant-pagination-options-quick-jumper {
margin-left: 10px;
font-size: 16px;
@ -316,12 +329,16 @@ i {
}
.ant-pagination-next,
.ant-pagination-prev {
a:hover {
&:focus .ant-pagination-item-link{
color: #000000a6;
}
&:hover .ant-pagination-item-link{
color: #ff6a00;
}
}
input[type="text"] {
box-shadow: none;
border-color: transparent;
&:focus {
border: 1px solid #ff6a00;
}
@ -346,6 +363,14 @@ i {
}
.ant-pagination-item-link {
border: none;
// &:hover .anticon-right {
// color: #ff6a00;
// }
// .anticon-right{
// color: #000000a6;
// }
}
}
@ -425,7 +450,6 @@ i {
font-size: 16px;
font-weight: bold;
border-bottom: 1px solid #eee;
}
> a {
> div {
@ -435,6 +459,9 @@ i {
// font-weight: bold;
justify-content: space-between;
border-bottom: 1px solid #eee;
&:hover {
color: #ff6a00;
}
span {
line-height: 18px;
i {
@ -443,8 +470,6 @@ i {
vertical-align: baseline;
}
}
}
}
button {
@ -484,7 +509,7 @@ p.bottombox {
content: "";
display: block;
position: absolute;
width: 270px;
width: 240px;
height: 1px;
bottom: 0;
left: -20px;
@ -530,3 +555,10 @@ p.bottombox {
margin: 40px auto !important;
}
}
// 加载中的样式
.ant-spin-dot-item{
background-color: #fda21d;
}
.ant-spin-text{
color: #fda21d;
}

File diff suppressed because one or more lines are too long

@ -1132,6 +1132,25 @@ export function disposeJobListData(jobList) {
ageStr = "丨" + item.maxAge + "岁以下";
}
item["age"] = ageStr;
//服务费
// console.log(item);
if (item.returnFeeType || item.returnFeeType === 0) {
if (item.returnFeeType === 0) {
item.servetype = "元/小时";
} else if (item.returnFeeType === 1) {
item.servetype = "元/日";
} else if (item.returnFeeType === 2) {
item.servetype = "元/月";
} else if (item.returnFeeType === 3) {
item.servetype = "元/次";
}
console.log(item);
// item["returnFee"] = item.returnFee / 100;
} else {
item.servetype = "元/小时";
}
//时薪
// var hourlyPayStr = "";
// var hasHourlyPay = false;

@ -1,15 +1,16 @@
import axios from "axios";
// const baseURL = "http://1shoudan.com";
// const baseURL = "https://d.matripe.com.cn";
// const baseURL = "http://bl7.matripe.com.cn:8001";
// const baseURL = "http://nb.renminshitang.com.cn";
const baseURL = "http://1shoudan.com"; // 正式环境线上
// const baseURL = "https://d.matripe.com.cn"; // 正式环境本地
// const baseURL = "http://bl7.matripe.com.cn:8001"; // 测试环境本地
// const baseURL = "http://nb.renminshitang.com.cn"; // 测试环境线上
// const baseURL = "http://localhost:8001";
// const data1 = require.context("./", false, /\.js$/); // 测试用
// console.log(data1.keys());
axios.defaults.withCredentials = true; //添加这行代码
console.log(axios);
// console.log(axios);
const service = axios.create({
baseURL: "/api_prod", // url = base url + request url
// baseURL: baseURL, // baseURL: "/api", // url = base url + request url // url = base url + request url
// baseURL: "/api_prod", // url = base url + request url
baseURL: baseURL, // baseURL: "/api", // url = base url + request url
withCredentials: true, // send cookies when cross-domain requests
timeout: 10000, // request timeout
crossDomain: true,

@ -6,7 +6,8 @@
<span>
<!-- <i class="iconfont icon-yigezhuanmenfuwudailidepingtai"></i> -->
<router-link to="/main"
><i class="iconfont icon-dingbulogo"></i
><svg class="icon" aria-hidden="true">
<use xlink:href="#icon-dingbulogo"></use></svg
></router-link>
</span>
<span>
@ -275,6 +276,8 @@ export default {
* 组件实例创建完成属性已绑定但DOM还未生成$ el属性还不存在
*/
created() {
this.isLogin = sessionStorage.getItem("LOGIN_DATA") !== null ? true : false;
this.getJobList();
this.isLaoxiangshow();
this.getRecommendJob();
@ -285,12 +288,11 @@ export default {
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {
console.log(localStorage.getItem("LOGIN_DATA"));
this.isLogin = localStorage.getItem("LOGIN_DATA") !== null ? true : false;
console.log(sessionStorage.getItem("LOGIN_DATA"));
this.loginValue =
localStorage.getItem("LOGIN_DATA") !== null
? JSON.parse(localStorage.getItem("LOGIN_DATA"))
sessionStorage.getItem("LOGIN_DATA") !== null
? JSON.parse(sessionStorage.getItem("LOGIN_DATA"))
: { tel: "" };
// console.log(document.querySelector(".ant-pagination-options-quick-jumper"));
},
@ -322,22 +324,25 @@ export default {
}
console.log(newdata);
// debugger;
console.log(this.isLogin);
if (this.isLogin) {
const { data } = await JobListApi(newdata);
console.log(data);
if (data.status === 200) {
this.jobMainList = disposeJobListData(data.data.recordList);
this.formvalue.total = data.data.recordCount;
console.log(this.jobMainList);
} else {
this.$message.info("数据获取失败");
}
}
this.totop();
// = data.data.recordList;
this.isspinning = false;
console.log(this.formvalue);
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
totop() {
@ -361,6 +366,7 @@ export default {
async getRecommendJob() {
this.isspinning = true;
try {
if (this.isLogin) {
const { data } = await JobListApi({
pageNum: 1,
pageSize: 4,
@ -368,12 +374,13 @@ export default {
});
console.log(data);
this.fellowList = disposeJobListData(data.data.recordList);
this.isspinning = false;
console.log(this.fellowList);
}
// this.$emit("update:relationList", this.relationList);
} catch (error) {
console.log(error);
}
this.isspinning = false;
},
async logout() {
// logoutApi().then((result) => {
@ -383,7 +390,7 @@ export default {
const data = await logoutApi();
console.log(data);
if (data.status === 200) {
localStorage.removeItem("LOGIN_DATA");
sessionStorage.removeItem("LOGIN_DATA");
this.reload();
this.$router.push("/main");
} else {
@ -436,10 +443,10 @@ export default {
/deep/ .pagetitle {
background-color: #fff;
padding: 14px 0;
font-size: 16px;
width: 100vw;
// font-size: 16px;
.titleactive {
font-size: 16px;
// font-size: 18px;
font-weight: bold;
color: #ff6a00;
}
@ -454,7 +461,7 @@ export default {
}
> span:first-of-type {
display: block;
width: 120px;
width: 160px;
height: 52px;
// width: 228px;
// height: 36px;
@ -462,9 +469,12 @@ export default {
// width: 100%;
// height: 100%;
// }
i {
font-size: 46px;
line-height: 52px;
svg {
width: 100%;
height: 52px;
// font-size: 46px;
// line-height: 52px;
// color: #ff6a00;
color: #ff6a00;
}
}
@ -592,7 +602,7 @@ export default {
height: 52px;
// margin: 12px 0;
font-size: 20px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #4d575e;
line-height: 52px;
@ -624,7 +634,7 @@ export default {
.jobprice {
margin-top: 12px;
font-size: 18px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #ff6a00;
line-height: 25px;

@ -6,7 +6,8 @@
<span>
<!-- <i class="iconfont icon-yigezhuanmenfuwudailidepingtai"></i> -->
<router-link to="/main"
><i class="iconfont icon-dingbulogo"></i
><svg class="icon" aria-hidden="true">
<use xlink:href="#icon-dingbulogo"></use></svg
></router-link>
</span>
<span>
@ -256,12 +257,12 @@ export default {
* 如果 root 实例挂载了一个文档内元素 mounted 被调用时 vm.el 也在文档内
*/
mounted() {
console.log(localStorage.getItem("LOGIN_DATA"));
this.isLogin = localStorage.getItem("LOGIN_DATA") !== null ? true : false;
console.log(sessionStorage.getItem("LOGIN_DATA"));
this.isLogin = sessionStorage.getItem("LOGIN_DATA") !== null ? true : false;
this.loginValue =
localStorage.getItem("LOGIN_DATA") !== null
? JSON.parse(localStorage.getItem("LOGIN_DATA"))
sessionStorage.getItem("LOGIN_DATA") !== null
? JSON.parse(sessionStorage.getItem("LOGIN_DATA"))
: { tel: "" };
// console.log(document.querySelector(".ant-pagination-options-quick-jumper"));
},
@ -291,7 +292,7 @@ export default {
const data = await logoutApi();
console.log(data);
if (data.status === 200) {
localStorage.removeItem("LOGIN_DATA");
sessionStorage.removeItem("LOGIN_DATA");
this.reload();
this.$router.push("/main");
} else {
@ -318,12 +319,15 @@ export default {
this.isfootershow = false;
} else {
this.isbannershow = true;
this.isfootershow = true;
}
if (path.indexOf("login") > -1) {
this.isbannershow = false;
}
if (path.indexOf("loginpsw") > -1) {
this.isbannershow = true;
}
},
},
};
@ -331,6 +335,7 @@ export default {
<style scoped lang="less">
.userinfo-container {
// width: 100vw;
height: 100%;
/deep/ .pagetitle {
background-color: #fff;
@ -339,7 +344,7 @@ export default {
font-size: 16px;
.titleactive {
font-size: 16px;
font-weight: bold;
font-weight: normal;
color: #ff6a00;
}
.w {
@ -353,7 +358,7 @@ export default {
}
> span:first-of-type {
display: block;
width: 120px;
width: 160px;
height: 52px;
// width: 228px;
// height: 36px;
@ -361,10 +366,13 @@ export default {
// width: 100%;
// height: 100%;
// }
i {
font-size: 46px;
line-height: 52px;
color: #ff6a00;
svg {
width: 100%;
height: 52px;
// font-size: 46px;
// line-height: 52px;
// color: #ff6a00;
// color: #ff6a00;
}
}
> span:nth-of-type(2) {
@ -491,7 +499,7 @@ export default {
height: 52px;
// margin: 12px 0;
font-size: 20px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #4d575e;
line-height: 52px;
@ -523,7 +531,7 @@ export default {
.jobprice {
margin-top: 12px;
font-size: 18px;
font-weight: bold;
font-weight: normal;
text-align: left;
color: #ff6a00;
line-height: 25px;

Loading…
Cancel
Save