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.
wx2uni/unpackage/dist/build/h5/static/js/pages-detail-index.6b842b44.js

1 line
46 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-detail-index"],{"2fa1":function(t,e,a){"use strict";a.r(e);var o=a("6d2c"),i=a("b9df");for(var n in i)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(n);a("e8d3");var s=a("f0c5"),l=Object(s["a"])(i["default"],o["b"],o["c"],!1,null,"809ff5a6",null,!1,o["a"],void 0);e["default"]=l.exports},"539e":function(t,e,a){var o=a("7946");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=a("4f06").default;i("3541e90d",o,!0,{sourceMap:!1,shadowMode:!1})},"6d2c":function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"bt1"},[a("v-uni-scroll-view",{staticStyle:{height:"calc(100vh - env(safe-area-inset-bottom) - 64px)","padding-bottom":"30px"},attrs:{id:"listBox","scroll-y":!0}},[a("v-uni-view",{staticClass:"p20 pt12 pb10",attrs:{id:"tocanvas"}},[a("v-uni-view",{staticClass:"v-center"},[a("v-uni-view",{staticClass:"jobTitle"},[t._v(t._s(t.jobDetail.jobName))])],1),a("v-uni-view",{staticClass:"display-flex mt12"},[a("v-uni-view",{staticClass:"display-flex flex-1"},[a("v-uni-view",{staticClass:"flex-1 vsb"},[a("v-uni-view",{staticClass:"f14s c045 mb4"},[t._v(t._s(t.citys)+t._s(t.jobDetail.store.distance))]),a("v-uni-view",{staticClass:"f14s c045 mb4"},[[t._v(t._s(t.jobDetail.genderRestrict))],t._v("丨"+t._s(t.jobDetail.age))],2)],1)],1),a("v-uni-view",{staticClass:"tr"},[a("v-uni-view",{staticClass:"jobMoney color-f40"},[t._v(t._s(t.jobDetail.hourlyPay||"--"))]),a("v-uni-view",{staticClass:"f14s c633 mt10 color-f40"})],1)],1),a("v-uni-view",{staticClass:"bb1 tabBox pb4 mt4"},[a("v-uni-view",{staticClass:"display-flex",attrs:{"hover-class":"none","hover-stop-propagation":!1}},t._l(t.jobDetail.jobSpecialLabelNames,(function(e,o){return a("v-uni-view",{key:o,staticClass:"tagsLi",style:"color:"+t.labelColor[o%t.labelColor.length]+";background-color:"+t.bgColor[o%t.bgColor.length]+";"},[t._v(t._s(e))])})),1),a("v-uni-view",{staticClass:"display-flex",attrs:{"hover-class":"none","hover-stop-propagation":!1}},t._l(t.jobDetail.jobRequestLabelNames,(function(e,o){return a("v-uni-view",{key:o,staticClass:"tagsLi",attrs:{tyle:"color:"+t.labelColor[o%t.labelColor.length]+";background-color:"+t.bgColor[o%t.bgColor.length]+";"}},[t._v(t._s(e))])})),1)],1)],1),a("v-uni-view",{staticClass:"mg020 pb10 bb1 v-center",attrs:{"data-address":t.jobDetail},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.parseEventDynamicCode(e,"北京市东城区东华门街道天安门"!=t.jobDetail.storeAddr?"toMapChoice":"")}}},[a("v-uni-view",[a("i",{staticClass:"iconfont icon-dizhi11 f18 mr10 lh1",staticStyle:{color:"var(--color-ysd)"}})]),a("v-uni-view",{staticClass:"address c3"},[t._v(t._s("北京市东城区东华门街道天安门"!=t.jobDetail.storeAddr&&t.jobDetail.storeAddr?t.jobDetail.storeAddr:"暂无地址信息"))]),a("v-uni-view",[a("i",{staticClass:"iconfont icon-gengduo11 f14 ml18 dib pr c9",staticStyle:{"line-height":"1",top:"1px"}})])],1),a("v-uni-view",{staticStyle:{"padding-right":"30px"}},[t.images.length>0?a("v-uni-scroll-view",{staticClass:"scroll-view_H p016 mt12",staticStyle:{width:"100%",height:"72px","white-space":"nowrap",overflow:"hidden"},attrs:{"scroll-x":!0},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.scroll.apply(void 0,arguments)}}},[t._l(t.images,(function(e,o){return[e.isImg?a("v-uni-image",{key:o+"_0",staticClass:"img5",attrs:{src:e.url,"data-src":e.url,mode:!0},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showImage.apply(void 0,arguments)}}}):t._e(),!e.isImg&&e.url?a("v-uni-view",{key:o+"_1",staticClass:"videoContainer",staticStyle:{display:"inline-block",position:"relative"},attrs:{"data-id":e.id,"hover-class":"none","hover-stop-propagation":!1},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showVideo.apply(void 0,arguments)}}},[a("v-uni-video",{staticClass:"img5",attrs:{id:e.id,"data-id":e.id,src:e.url,"show-fullscreen-btn":!1,"show-play-btn":!1,"show-center-play-btn":!1,"enable-play-gesture":!0},on:{fullscreenchange:function(e){arguments[0]=e=t.$handleEvent(e),t.fullScreenFun.apply(void 0,arguments)}}})],1):t._e()]}))],2):t._e()],1),a("v-uni-view",{staticClass:"p020"},[a("v-uni-view",{staticClass:"f14"},["1"==t.currIndex?[a("v-uni-view",[a("v-uni-view",{staticClass:"detailH3"},[a("v-uni-view",{staticClass:"fl mr12",staticStyle:{width:"4px",height:"19px",background:"#0dcc91","border-radius":"2px"}}),t._v("职位描述")],1),a("v-uni-view",{staticClass:"pri f16",staticStyle:{"line-height":"24px",padding:"3px 0px","border-radius":"4px",color:"#777"}},[t._v(t._s(t.jobDetail.jobInfo))])],1),a("v-uni-view",{staticStyle:{height:"40px"}})]:t._e(),"2"==t.currIndex?[a("v-uni-view",{staticClass:"detailH3"},[t._v("面试")]),a("v-uni-view",{staticClass:"outSp"},[a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("面试时间")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.interviewDuration))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("出行方式")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.tripMode))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("面试说明")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.interviewDesp))])],1)],1),a("v-uni-view",{staticClass:"detailH3"},[t._v("入离职")]),a("v-uni-view",{staticClass:"outSp"},[a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("入职说明")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.entryDesp))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("入职说明")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.leaveRequire))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("返厂")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.leaveDesp))])],1)],1)]:t._e(),"3"==t.currIndex?[a("v-uni-view",{staticClass:"detailH3"},[t._v("报名须知")]),a("v-uni-view",{staticClass:"pri border1",staticStyle:{"line-height":"24px",padding:"3px 8px","border-radius":"4px",color:"#333"}},[t._v(t._s(t.jobDetail.agencyStatement))])]:t._e(),"4"==t.currIndex?[a("v-uni-view",{staticClass:"detailH3"},[t._v("财务信息")]),t.isAgency?a("v-uni-view",{staticClass:"outSp"},[a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("服务费详情")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.agencyProfit))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1"},[t._v("扣税说明")]),a("v-uni-view",{staticClass:"textb1"},[t._v(t._s(t.jobDetail.deductTaxDesp))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1 vsb"},[a("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("账单日")]),a("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("(出名单时间)")])],1),a("v-uni-view",{staticClass:"textb1 fsa"},[t._v(t._s(t.jobDetail.outListTime))])],1),a("v-uni-view",{staticClass:"display-flex"},[a("v-uni-view",{staticClass:"rb1 vsb"},[a("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("结算日")]),a("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("(结算时间)")])],1),a("v-uni-view",{staticClass:"textb1 fsa"},[t._v(t._s(t.jobDetail.settlementTime))])],1)],1):a("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showTobe.apply(void 0,arguments)}}},[t._v("仅代理可见")])]:t._e(),"5"==t.currIndex?[a("v-uni-view",{staticClass:"pri",staticStyle:{"line-height":"24px",padding:"5px 8px","border-radius":"4px",color:"#333"}},[a("v-uni-view",{attrs:{"data-content":t.jobDetail.jobDesp},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.setCopy.apply(void 0,arguments)}}},[a("span",{staticClass:"desp-copy"},[t._v("复制")])]),a("v-uni-rich-text",{attrs:{"hover-class":"none","hover-stop-propagation":!1,nodes:t.jobDetail.jobDesp1}}),a("v-uni-view",{staticClass:"contactInfo",attrs:{"hover-class":"none","data-info":1==t.userInfo.agencyStatus?t.userInfo.noticeEndStr?t.userInfo.noticeEndStr:"详情咨询:"+t.userInfo.tel:t.serviceInfo.userName+" "+(t.serviceInfo.workPhone||"-"),"hover-stop-propagation":!1}},[t._v(t._s(1==t.userInfo.agencyStatus?t.userInfo.noticeEndStr?t.userInfo.noticeEndStr:"详情咨询:"+t.userInfo.tel:"详情咨询:"+t.serviceInfo.aliasName+(t.serviceInfo.workPhone||"-")))]),1==t.userInfo.agencyStatus?a("v-uni-view",{staticClass:"f14 tac mt16",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("以上联系人,可以"),a("span",{staticClass:"fw500",staticStyle:{color:"#576b95","text-decoration":"underline"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeContact.apply(void 0,arguments)}}},[t._v("改成我的")])]):t._e()],1)]:t._e()],2)],1)],1)],1),a("v-uni-view",{staticClass:"bottomBtn",staticStyle:{height:"calc(env(safe-area-inset-bottom) + 64px)"}},[t.isMaskShow?a("v-uni-view",{staticClass:"norecruit"},[t._v("该职位暂时停招")]):t._e(),a("v-uni-view",{staticClass:"fsa tc bottomBox"},[t.jobDetail.customServiceUser.tel?a("v-uni-view",{staticStyle:{width:"56px","padding-left":"8px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showphone.apply(void 0,arguments)}}},[a("v-uni-view",{staticStyle:{position:"relative",top:"2px"}},[a("i",{staticClass:"iconfont icon-dianhua2 lh1",staticStyle:{color:"#787878","font-size":"18px",position:"relative",top:"1px"}}),a("v-uni-view",{staticClass:"btext",staticStyle:{"margin-top":"2px"}},[t._v("电话")])],1)],1):t._e(),t.jobDetail.customServiceUser.weChat?a("v-uni-view",{staticStyle:{width:"56px","padding-right":"10px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.textPaste.apply(void 0,arguments)}}},[a("v-uni-view",{staticStyle:{position:"relative",top:"2px"}},[a("i",{staticClass:"iconfont icon-weixin lh1",staticStyle:{color:"#787878","font-size":"18px"}}),a("v-uni-view",{staticClass:"btext",staticStyle:{"margin-top":"2px"}},[t._v("微信")])],1)],1):t._e(),t.isMaskShow?a("v-uni-view",{staticClass:"flex-1 pr16"},[a("v-uni-button",{staticClass:"loginOut",staticStyle:{"background-color":"#ccc"},attrs:{"hover-class":"none","hover-stop-propagation":!0}},[t._v("暂时停招")])],1):a("v-uni-view",{staticClass:"flex-1 pr16 pl16"},[a("v-uni-button",{staticClass:"loginOut",attrs:{type:!0,"data-job":t.jobDetail},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goNewEnroll.apply(void 0,arguments)}}},[t._v("立即报名")])],1)],1)],1),t.isMaskShow?a("v-uni-view",{staticClass:"mask"}):t._e(),a("bottom-drawer",{staticClass:"bottomDrawer",attrs:{show:t.recordShow,info:t.currentInfo,drawerType:"recordShow",cancerShow:!1,touchClose:!0,height:"494px"},on:{hidedrawer:function(e){arguments[0]=e=t.$handleEvent(e),t.hidedrawershow.apply(void 0,arguments)}},nativeOn:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.cth.apply(void 0,arguments)}}})],1)},i=[]},7946:function(t,e,a){var o=a("24fb");e=o(!1),e.push([t.i,'.goback[data-v-809ff5a6]{position:absolute;color:#000;left:0;\n /* top: 40px; */margin-left:6px;font-size:18px;font-weight:700;z-index:99999}uni-page-body[data-v-809ff5a6],\n.pb180[data-v-809ff5a6]{padding-bottom:120px;background:#fff!important}body.?%PAGE?%[data-v-809ff5a6]{background:#fff!important}.p14[data-v-809ff5a6]{padding:14px}.mg020[data-v-809ff5a6]{margin:0 20px}.pb10[data-v-809ff5a6]{padding-bottom:10px}.desp-copy[data-v-809ff5a6]{color:#f40;font-size:12px;float:right;\n /* top: 11px;\n right: 8px;\n position: relative; */border:1px solid #f40;border-radius:%?25?%;padding:0 8px;height:16px;line-height:16px;margin-top:16px;margin-right:16px}.jobMoney[data-v-809ff5a6]{font-size:16px;font-weight:601;line-height:20px}.bottomBtn[data-v-809ff5a6]{position:fixed;width:100%;left:0;bottom:0;background-color:#fff;border-top:%?1?% solid rgba(0,0,0,.1)}.bottomBtn > uni-view[data-v-809ff5a6]{justify-content:start}.servicePrice[data-v-809ff5a6]{border:%?1?% solid var(--color-ysd);background-color:#ffeee7;justify-content:space-between;border-right-color:transparent;border-left-color:transparent}.servicePrice .left .display-flex[data-v-809ff5a6]{align-items:center;line-height:20px;margin-bottom:12px}.servicePrice .left .display-flex .icon-zhuyi[data-v-809ff5a6]{width:14px;height:20px;margin-right:4px}.servicePrice .left .display-flex .iconfont[data-v-809ff5a6]::before{position:absolute}.servicePrice .right[data-v-809ff5a6]{display:flex;align-items:center;margin-right:8px}.servicePrice .right .iconfont[data-v-809ff5a6]{font-size:24px}.price[data-v-809ff5a6]{font-size:18px;line-height:20px;font-weight:700}.mt3[data-v-809ff5a6]{margin-top:3px}.sharebtn[data-v-809ff5a6]{padding-right:0;margin:0;display:inline;background-color:initial;line-height:1;float:right;margin-top:5px}.ml2[data-v-809ff5a6]{margin-left:2px}.am-button[data-v-809ff5a6]{margin-top:0;margin-bottom:0}.activeList[data-v-809ff5a6]{display:flex;text-align:center}uni-button[data-v-809ff5a6]::after{border:0}\n/* .menu {\n flex: 1;\n line-height: 1.5;\n font-size: 16px;\n color: rgba(0, 0, 0, 0.65);\n border-bottom: 4px solid transparent;\n}\n\n.menu.active {\n font-weight: 601;\n color: rgba(0, 0, 0, 0.85);\n border-bottom: 4px solid #FE633F;\n} */.scrollImgBox[data-v-809ff5a6]{position:relative;border-radius:4px;width:60px;height:60px;margin:12px 5px;overflow:hidden}.scrollImg[data-v-809ff5a6],\nuni-swiper[data-v-809ff5a6],\n.theVideo[data-v-809ff5a6]{width:100vw;height:calc(100vw * 281 / 375)\n /* position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%,-50%); */\n /* margin: 0;\n /* margin-top: 16px; */}.show[data-v-809ff5a6]{display:show}.hide[data-v-809ff5a6]{display:none}.scroll-header[data-v-809ff5a6]{display:flex;white-space:nowrap}.scroll-header uni-view[data-v-809ff5a6]{display:inline-block}.scroll-header uni-video[data-v-809ff5a6]{width:100%;height:100%;border-radius:8px}.scroll-header uni-image[data-v-809ff5a6]:first-child{margin-left:0}.bottomBtn .flex-1[data-v-809ff5a6]{flex:1}.bottomBtn .flex-3[data-v-809ff5a6]{flex:1}uni-button.loginOut[data-v-809ff5a6]{\n /* width: 280px; */width:100%;padding:7px 0;line-height:26px;margin-right:16px;margin-left:0}.bottomBox[data-v-809ff5a6]{\n /* padding-bottom: 16px; */}.button-hover[type="primary"][data-v-809ff5a6]{color:#fff;\n /* opacity: 0.8; */background-color:#fc7617}.flex-1.f14.c085[data-v-809ff5a6]{\n /* white-space: pre-wrap; */font-size:17px;line-height:28px}uni-button.collectBtn[data-v-809ff5a6]{margin:0;padding:0;line-height:1.4;padding:0;background-color:#fff\n /* text-align: left; */}.tagsLi[data-v-809ff5a6]{height:20px;font-size:14px;font-weight:400;margin-right:8px;margin-bottom:0;color:#888;line-height:18px;padding:0 4px}.t-icon-ziying1[data-v-809ff5a6]{background-repeat:no-repeat;display:inline-block;width:32px;height:20px;margin-right:6px}.dName[data-v-809ff5a6]{font-size:16px;font-weight:601;color:#262626;line-height:22px}.dsName[data-v-809ff5a6]{font-size:12px;font-weight:400;color:#8c8c8c;line-height:17px}.ava[data-v-809ff5a6]{width:48px;height:48px;border-radius:50%;margin-right:14px}.f25[data-v-809ff5a6]{font-size:25px}.p20-0[data-v-809ff5a6]{padding:20px 0;margin-bottom:20px}.p020[data-v-809ff5a6]{padding:0 20px}.dianhua[data-v-809ff5a6]{color:#787878}.achover .dianhua[data-v-809ff5a6]{color:#999}.storeTitle[data-v-809ff5a6]{font-size:18px;font-weight:601;color:#262626;line-height:25px\n /* margin-bottom: 10px; */}.storeInfo[data-v-809ff5a6]{font-size:15px;font-weight:400;color:#939393;line-height:21px;white-space:pre-line}.address[data-v-809ff5a6]{font-size:15px;font-weight:400;color:#787878;line-height:21px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btext[data-v-809ff5a6]{font-size:11px;font-weight:400;color:#444;line-height:16px;margin-top:2px}.flex-3[data-v-809ff5a6]{flex:3}.noShow[data-v-809ff5a6]{position:absolute;top:-9999px}.onMune[data-v-809ff5a6]{font-size:16px;flex:inherit}.topMenu[data-v-809ff5a6]{justify-content:space-around;padding:0}.topMenu > uni-view[data-v-809ff5a6]{padding:12px 0}.onMune.active[data-v-809ff5a6]{position:relative;font-size:16px;font-weight:500;text-align:center}.onMune.active[data-v-809ff5a6]:after{display:block;content:"";width:20px;height:3px;background-color:var(--color-ysd);position:absolute;bottom:0;left:50%;-webkit-transform:translateX(-10px);transform:translateX(-10px)}\n/* .menuBorder {\n display: block;\n content: "";\n width: 20px;\n height: 3px;\n background-color: var(--color-ysd);\n position: absolute;\n bottom: -8px;\n left: 50%;\n transform: translateX(-10px);\n} */.detailH3[data-v-809ff5a6]{font-size:16px;font-weight:400;color:#000;line-height:22px;margin-top:16px;margin-bottom:8px}.pri[data-v-809ff5a6]{white-space:pre-line}.pri[data-v-809ff5a6]:empty:before,\n.textb1[data-v-809ff5a6]:empty:before{content:"-"!important;color:#333}.outSp[data-v-809ff5a6]{border:1px solid #f3f3f3;border-radius:4px\n /* line-height: 56rpx; */}.outSp .display-flex:last-child .rb1[data-v-809ff5a6],\n.outSp .display-flex:last-child .textb1[data-v-809ff5a6]{border-bottom:0}.sbb1[data-v-809ff5a6]{border-bottom:%?1?% solid #eee!important}.tabBox .display-flex[data-v-809ff5a6]{flex-wrap:wrap}.tabBox .display-flex > uni-view[data-v-809ff5a6]{margin-bottom:8px}.rb1[data-v-809ff5a6]{font-size:14px;color:#666;text-align:center;width:60px;border-right:1px solid #f3f3f3;border-bottom:1px solid #f3f3f3;display:flex;align-items:center;justify-content:flex-start;padding:0 8px}.textb1[data-v-809ff5a6]{white-space:pre-line;color:#000;border-bottom:1px solid #f3f3f3;padding:0 8px;flex:1;line-height:1.8;padding-top:3px}.jobMoney[data-v-809ff5a6]{color:var(--color-ysd)}.c633[data-v-809ff5a6]{color:var(--color-ysd)}.navigatorBar[data-v-809ff5a6]{position:relative;letter-spacing:1px;\n /* z-index: 999; */padding-bottom:8px}.navigatorBar[data-v-809ff5a6]{position:absolute;letter-spacing:1px;background-color:#fff;padding-bottom:8px;z-index:999;left:0;right:0;opacity:0}.navigatorBar .tabs[data-v-809ff5a6]{position:relative;left:50%;color:#000;font-size:%?35?%;-webkit-transform:translateX(-50%);transform:translateX(-50%);\n /* justify-content: center; */box-sizing:border-box}.navigatorBar .tabs > uni-view[data-v-809ff5a6]{flex:1;line-height:26px;width:56px;color:#666;text-align:center}.mask[data-v-809ff5a6]{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.3);top:0;left:0;z-index:99;pointer-events:none\n /* display: none; */}.norecruit[data-v-809ff5a6]{position:absolute;width:100%;height:38px;line-height:38px;top:-38px;font-size:14px;text-align:center;background-color:#666;color:#fff\n /* display: none; */}.transparentBtn[data-v-809ff5a6]{background-color:initial!important;color:#f40!important}.drawerMask[data-v-809ff5a6]{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0;transition:opacity .3s,visibility .3s;background:rgba(0,0,0,.6);visibility:hidden;opacity:0}.drawerMask.showDrawer[data-v-809ff5a6]{opacity:1;visibility:visible}.drawer.showDrawer[data-v-809ff5a6]{\n /* position: relative; */border-radius:8px 8px 0 0;width:100vw;height:92vh\n /* bottom: -44px; */}.drawer[data-v-809ff5a6]{position:fixed;left:0;right:0;bottom:0;z-index:2000;width:100vw;background-color:#fff;height:0;transition:all .3s}.showDrawer .title[data-v-809ff5a6]{padding:6px 16px}.showDrawer .title[data-v-809ff5a6]{position:relative}.showDrawer .title .icon-guanbi[data-v-809ff5a6]{content:"";position:absolute;right:12px;top:0\n /* transform: translate(0%, -50%); */}.showDrawer .content[data-v-809ff5a6]{height:100%;padding-top:16px;display:flex;align-items:start;justify-content:center}.showDrawer .annunciate[data-v-809ff5a6]{height:calc(100% - 112px);overflow:auto}.showDrawer .annunciate .info[data-v-809ff5a6]{width:100%;padding:12px 22px;padding-bottom:120px;box-sizing:border-box}.showDrawer .footer[data-v-809ff5a6]{display:flex;justify-content:space-between;text-align:center;align-items:center;padding-top:15px;padding-right:48px;padding-left:48px;border-top:1px dashed #ccc}.drawerBox .bottom[data-v-809ff5a6]{position:-webkit-sticky;position:sticky;bottom:24px;width:100%;text-align:center}.drawerBox .bottom .loginOut[data-v-809ff5a6]{width:260px!important}.posterImg[data-v-809ff5a6]{height:75vh;width:calc(75vh * .52)}.img5[data-v-809ff5a6]{width:60px;height:60px;margin:0 4px}.videoContainer[data-v-809ff5a6]::after{content:"";width:0;height:0;border:10px solid hsla(0,0%,100%,.7333333333333333);border-right-color:transparent;border-top-color:transparent;border-left-width:16px;border-right-width:0;border-bottom-color:transparent;left:50%;top:30px;border-radius:3px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);\n /* background-color: #ffffff; */position:absolute;z-index:10}.theVideo[data-v-809ff5a6]{position:relative}',""]),t.exports=e},9523:function(t,e,a){a("7a82");var o=a("a395");t.exports=function(t,e,a){return e=o(e),e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},b9df:function(t,e,a){"use strict";a.r(e);var o=a("e0b7"),i=a.n(o);for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);e["default"]=i.a},e0b7:function(t,a,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i(o("ade3"));o("ac1f"),o("841c"),o("c740"),o("d3b7"),o("159b"),o("14d9"),o("a9e3"),o("5319"),o("e25e"),o("00b4"),o("5b81"),o("e9c4");var s,l=i(o("3d9f")),r=i(o("3d9f")),c=getApp(),d=o("233b"),f=o("f438"),g=f.wxml,u=f.style,p=o("fcd7"),h={components:{bottomDrawer:l.default},data:function(){return{recordShow:!1,images:[],isLogin:!1,statusBarHeight:uni.getStorageSync("statusBarHeight"),navigationBarHeight:uni.getStorageSync("navigationBarHeight"),menuButtonHeight:uni.getStorageSync("menuButtonHeight"),menuButton:uni.getStorageSync("menuButtonInfo"),backHeight:uni.getMenuButtonBoundingClientRect().top+uni.getMenuButtonBoundingClientRect().height/2+"px",storeJobId:"",iosDialog:!1,searchForm:{storeJobId:"",lng:"",lat:""},fullScreen:!1,bclr:"",djxx:"",currIndex:"1",jobDetail:{jobName:"",genderRestrict:"",jobSpecialLabelNames:[],jobRequestLabelNames:[],storeAddr:"",jobInfo:"",interviewDuration:"",tripMode:"",interviewDesp:"",entryDesp:"",leaveRequire:"",leaveDesp:"",agencyStatement:"",agencyProfit:"",deductTaxDesp:"",outListTime:"",settlementTime:"",jobDesp:"",jobDesp1:"",customServiceUser:{tel:"",weChat:""}},wxCode:"",pbtm:0,shareTitle:"",isCollect:!1,src:"",word:"woca",phoneDialog:!1,isImg:!0,labelColor:["#c41d7f","#096dd9","#531dab","#d46b08","#389e0d","#08979c","#cf1322"],bgColor:["#fff0f6","#e6f7ff","#f9f0ff","#fff7e6","#f6ffed","#e6fffb","#fff1f0"],wxml:{text:"啊啊按"},addressNew:"",citys:"",showSexAgeText:"",fuWuFei:"",isServicePriceShow:!0,isAgency:!0,isShareShow:!1,managerRoleClassify:!1,serviceInfo:c.globalData.serviceInfo,isMaskShow:!1,onSiteRemark:"",img:"https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/bg.png",canvasImg:"",isLoading:!0,iosDialogTobe:!1,userInfo:{agencyStatus:0,noticeEndStr:!1,tel:""},shareListImg:"https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/detail830-1.png",shareDetailImg:"https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/posterbg1.1.png",posterImg:"",safeBottom:uni.getWindowInfo().screenHeight-uni.getWindowInfo().safeArea.height+"px",swiperHeight:0,bottomLift:0,showfixToast:!1,current:0,corpUserFlag:"",posterShow:!1,currentInfo:""}},onShow:function(){var t=this;uni.getSystemInfo({success:function(e){t.bottomLift=e.screenHeight-e.safeArea.bottom+60},fail:function(t){console.log(t)}}),console.log(t.bottomLift),this.setData({bottomLift:t.bottomLift,isLogin:c.globalData.isLogin,isLoading:!0}),c.globalData.isLogin?t.setData({userInfo:c.globalData.loginUserInfo}):this.wxLogin()},onLoad:function(t){var e=this;if(console.log(c.globalData.loginUserInfo),new p({key:"5PTBZ-YI7C6-MZGS3-ES7QN-4T5O2-EJFVR"}),e.setData({isAgency:1==c.globalData.loginUserInfo.agencyStatus,corpUserFlag:c.globalData.loginUserInfo.corpUserFlag,managerRoleClassify:c.globalData.loginUserInfo.managerRoleClassify,userInfo:c.globalData.loginUserInfo}),e.widget=e.zpSelectComponent(".widget"),uni.getSystemInfo({success:function(t){console.log("手机信息res"+t.model);var a=t.model;console.log(a.search("iPhone X")),-1==a.search("iPhone 12 Pro")&&-1==a.search("iPhone X")&&-1==a.search("iPhone XR")&&-1==a.search("iPhone XS max")&&-1==a.search("iPhone 11")||e.setData({pbtm:40})}}),console.log(t),console.log("HHHHHHHHHHHHH"+t.storeJobId),c.globalData.isNotEmptyCheck(t.storeJobId))console.log("HHHHHHHHHHHHH"),this.searchForm.storeJobId=t.storeJobId;else if(c.globalData.isNotEmptyCheck(t.scene)){console.log("XXXXXXXXXXXX");var a=decodeURIComponent(t.scene),o=d.sceneToJson(a);console.log("sceneJson===",o),this.searchForm.storeJobId=o.storeJobId}this.getStoreJobDetailById(),uni.setStorageSync({key:"storeJobId",data:t.storeJobId});var i=t.agencyUserId;i&&(uni.setStorageSync("storageSyncAgencyUserId",i),console.log("agencyUserId",i),c.globalData.isCommission=1)},onShareAppMessage:function(){},methods:(s={cth:function(){return!1},showVideo:function(t){console.log(t.target.dataset.id),console.log(uni.getSystemInfo());this.videoContext=uni.createVideoContext("".concat(t.target.dataset.id),this),console.log(this.videoContext),console.log("========================="),this.videoContext.requestFullScreen(),this.videoContext.hideStatusBar(),this.videoContext.play()},fullScreenFun:function(){e.detail.fullScreen||(this.setData({isShareShow:!1}),this.videoContext.stop())},doNothing:function(){},closeFix:function(){this.setData({showfixToast:!1})},bindchange:function(t){console.log(t.detail.current),this.setData({current:t.detail.current})},showFix:function(t){console.log(t.currentTarget.dataset.id);var e=t.currentTarget.dataset.id,a=this.jobDetail.storeImage,o=(a||[]).findIndex((function(t){return t.id===e}));console.log(o),this.setData({current:o,showfixToast:!0})},showdialog:function(){this.setData({iosDialog:!0})},closeDialog:function(){this.setData({iosDialog:!1})},showphone:function(){uni.makePhoneCall({phoneNumber:this.jobDetail.customServiceUser.tel||"0371-6611 3723"})},close:function(){this.setData({phoneDialog:!1})},wxLogin:function(){var t=this;uni.login({success:function(e){e.code?t.setData({wxCode:e.code}):console.log("获取code失败"+e.errMsg)}})},showImage:function(t){t.currentTarget.dataset.src;var e=[];this.images.forEach((function(t){t.isImg&&e.push(t.url)})),uni.previewImage({current:t.currentTarget.dataset.src,urls:e})},renderToCanvas:function(){var t=this,e=this.widget.renderToCanvas({wxml:g(that.data.wxml),style:u});e.then((function(e){console.log("container",e.layoutBox),t.container=e,console.log(e)}))},extraImage:function(){var t=this;t.widget.renderToCanvas({wxml:g(t.wxml),style:u}).then((function(e){var a=t.widget.canvasToTempFilePath();a.then((function(e){console.log(e),t.setData({src:e.tempFilePath})}))}))},searchAnimate:function(){var t=this,e=this;uni.createSelectorQuery().in(uni).select("#listBox").fields({scrollOffset:!0,size:!0},(function(a){t.animate(".navigatorBar",[{opacity:0},{opacity:1}],800,{scrollSource:"#listBox",timeRange:1e3,startScrollOffset:0,endScrollOffset:e.swiperHeight-34}),t.animate(".noBack",[{opacity:1},{opacity:0}],800,{scrollSource:"#listBox",timeRange:1e3,startScrollOffset:0,endScrollOffset:1})})).exec()},getAgencyInfo:function(t){console.log(t),console.log("打印基本信息");var e={returnFeeDesp:t.returnFeeDesp,returnFeeType:t.returnFeeType,transferFee:t.transferFee,returnFee:null!=t.returnFee?new Number(t.returnFee).toFixed(2):null},a="";c.globalData.isNotEmptyCheck(t.transferFee)&&(a="伯才利润:"+t.transferFee+";"),0==t.returnFeeType?a+="\n服务费xxx元/时":1==t.returnFeeType?a+="\n服务费xxx元/天":2==t.returnFeeType?a+="\n服务费xxx元/月":3==t.returnFeeType&&(a+="\n服务费xxx元/次"),a=e.returnFee>0?a.replace("xxx",e.returnFee):c.globalData.isNotEmptyCheck(t.transferFee)?"伯才利润:"+t.transferFee+";":"-",c.globalData.isEmptyCheck(e.returnFeeDesp)?this.setData({bclr:a}):this.setData({bclr:a+"\n"+e.returnFeeDesp})},toMapChoice:function(t){console.log(t.currentTarget.dataset.address);var e=t.currentTarget.dataset.address;uni.openLocation({latitude:Number(e.storeLat),longitude:Number(e.storeLng),name:e.storeName,address:e.storeAddr,scale:15,success:function(t){console.log(t)},fail:function(t){console.log(t)}})},changeMenu:function(t){parseInt(t.currentTarget.dataset.id);this.setData({currIndex:t.currentTarget.dataset.id})},getLocation:function(){var t=this;uni.getSetting({success:function(e){console.log(e),e.authSetting.location?uni.getLocation({success:function(e){console.log("获取位置"),console.log(e),c.globalData.isNotEmptyCheck(e.latitude)&&c.globalData.isNotEmptyCheck(e.longitude)&&(t.searchForm.lat=e.latitude,t.searchForm.lng=e.longitude),t.getStoreJobDetailById()},fail:function(){t.getStoreJobDetailById()}}):t.getStoreJobDetailById()}})},getCanvas:function(){var t=this;return new Promise((function(e){var a=uni.createSelectorQuery();a.select("#canvasId").fields({node:!0,size:!0}).exec((function(a){console.log(a);var o=a[0].node,i=o.getContext("2d");new Promise((function(e){uni.getImageInfo({src:t.img,success:function(t){console.log(t);var a=t.width,n=t.height;a/2,n,o.width=a,o.height=n;var s=o.createImage();console.log(i),s.src=t.path,s.onload=function(){i.drawImage(s,0,0,a,n),e(!0)}}})})).then((function(){i.font="500 70px Arial",i.textAlign="left",i.fillStyle="#fff",i.fillText("职位详情",40,210)})).then((function(){uni.canvasToTempFilePath({canvas:o,success:function(a){console.log(a),t.setData({canvasImg:a.tempFilePath}),e()}})})).catch((function(t){}))}))}))}},(0,n.default)(s,"getCanvas",(function(){var t=this;return new Promise((function(e){var a=uni.createSelectorQuery();a.select("#canvasId").fields({node:!0,size:!0}).exec((function(a){console.log(a);var o=a[0].node,i=o.getContext("2d");new Promise((function(e){uni.getImageInfo({src:t.shareDetailImg,success:function(t){console.log(t);var a=t.width,n=t.height;a/2,n,o.width=a,o.height=n;var s=o.createImage();console.log(i),s.src=t.path,s.onload=function(){i.drawImage(s,0,0,a,n),e(!0)}}})})).then((function(){console.log(530);var a=function(t,e,a,o,i,n){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"#333",l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"32",r=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"500",c=0,d=0,f=-1;t.font=r+" "+l+"px Arial",t.fillStyle=s;while(c<e.length){while(t.measureText(e.substring(d,c)).width<i&&c<e.length)c++;f++,t.fillText(e.substring(d,c),a,o+n*f),d=c}};function n(t,e,a,o,i,n,s){t.save(),t.fillStyle=s,t.strokeStyle=s,t.lineJoin="round",t.lineWidth=n,t.strokeRect(e+n/2,a+n/2,o-n,i-n),t.fillRect(e+n,a+n,o-2*n,i-2*n),t.stroke(),t.closePath()}new Promise((function(e){console.log(587);var s=0;console.log(603),n(i,48,640,1104,520,32,"#fff"),console.log(t.jobDetail.store),t.jobDetail.jobSpecialLabelNames.forEach((function(t,e){e<=2&&(a(i,t,120+s,1090,800,20,"#333",56),n(i,104+s,1030,i.measureText(t).width+32,80,64,"#00000008"),s+=i.measureText(t).width+64)})),console.log(t.jobDetail.store),console.log(t.jobDetail),a(i,t.jobDetail.store.aliasName,112,740,1e3,20,"#333",72,"600"),console.log(630),a(i,t.jobDetail.hourlyPay,352,848,800,20,"#ff4400",72,"600"),a(i,t.jobDetail.monthlyPay,352+i.measureText(t.jobDetail.monthlyPay).width,848,800,20,"#ff4400",56,"400"),a(i,t.jobDetail.store.districtStr+"丨",352,960,600,20,"#333",56),a(i,t.jobDetail.age,352+i.measureText(t.jobDetail.store.districtStr+"丨").width,960,600,20,"#333",56),console.log(t.jobDetail.store.logo),uni.downloadFile({url:t.jobDetail.store.logo,success:function(t){console.log(t);var a=o.createImage();a.src=t.tempFilePath,a.onload=function(){(function(t,e,a,o,i,n,s){t.save(),t.beginPath(),t.arc(a+s,o+s,s,Math.PI,1.5*Math.PI),t.arc(a+i-s,o+s,s,1.5*Math.PI,2*Math.PI),t.arc(a+i-s,o+n-s,s,0,.5*Math.PI),t.arc(a+s,o+n-s,s,.5*Math.PI,Math.PI),t.clip(),t.drawImage(e,a,o,i,n),t.restore()})(i,a,112,780,192,192,8),setTimeout((function(){e()}),200)}},fail:function(t){console.log(t)}})})).then((function(){uni.canvasToTempFilePath({canvas:o,success:function(a){console.log(a),t.setData({canvasImg:a.tempFilePath}),e(a)},fail:function(t){uni.hideLoading(),uni.showToast({title:t.errMsg,icon:"error"})}})})).catch((function(t){console.log(t)}))}))}))}))})),(0,n.default)(s,"sharePoster",(function(){var t=this;uni.showLoading({title:"生成中..."}),this.getCanvas().then((function(e){console.log(e),uni.hideLoading(),t.setData({posterImg:e.tempFilePath,posterShow:!0})}))})),(0,n.default)(s,"hidePoster",(function(){this.setData({posterShow:!1})})),(0,n.default)(s,"saveToalbum",(function(){uni.saveImageToPhotosAlbum({filePath:this.posterImg,success:function(t){console.log(t),"saveImageToPhotosAlbum:ok"==t.errMsg&&uni.showToast({title:"图片已保存",icon:"none",duration:1500})},fail:function(t){console.log(t),uni.showToast({title:"图片保存失败",icon:"none",duration:1500})}})})),(0,n.default)(s,"goBack",(function(){uni.navigateBack({delta:-1})})),(0,n.default)(s,"getStoreJobDetailById",(function(){var t=this;uni.showLoading({title:"加载中..."}),uni.request({url:c.globalData.ip+"/yishoudan/custom/job/detailApp/"+t.searchForm.storeJobId,method:"get",header:c.globalData.headers,success:function(e){if(console.log(e),200==e.data.status){var a={};a=e.data.data.record;var o=a.jobName,i=/\.(jpg|jpeg|png)(\?.*)?$/;if(e.data.data.images.forEach((function(t){t.isImg=i.test(t.url.toLowerCase())})),a.genderRestrict=d.getGenderByMinAge(a),t.setData({shareTitle:o,images:e.data.data.images,onSiteRemark:a.onSiteRemark}),o=c.globalData.isNotEmptyCheck(o)?a.jobName:a.store.aliasName,uni.setNavigationBarTitle({title:o}),a.workType=d.getWorkTypeById(a.workTypeMulti),c.globalData.isNotEmptyCheck(a.calculationSalaryType)&&(a.calculationSalaryType=a.calculationSalaryType.split("#")[0]),c.globalData.isNotEmptyCheck(a.jobDesp)&&(a.jobDesp=a.jobDesp.replaceAll("*****","").split("————————")[0],a["jobDesp1"]=a.jobDesp.replace("⚠","<i class='t-icon t-icon-zhuyi' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>"),a["jobDesp1"]=a.jobDesp1.replace("[红包]","<i class='t-icon t-icon-hongbao' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>")),c.globalData.isNotEmptyCheck(a.paymentSalaryType)&&(a.paymentSalaryType=a.paymentSalaryType.split("")),c.globalData.isNotEmptyCheck(a.salaryDesp)&&(a.salaryDesp=a.salaryDesp.split("")),c.globalData.isNotEmptyCheck(a.workDurationDesp)&&(a.workDurationDesp=a.workDurationDesp.split("")),c.globalData.isNotEmptyCheck(a.probationDesp)&&(a.probationDesp=a.probationDesp.split("")),c.globalData.isNotEmptyCheck(a.workingLunchDesp)&&(a.workingLunchDesp=a.workingLunchDesp.split("")),c.globalData.isNotEmptyCheck(a.dormitoryDesp)&&(a.dormitoryDesp=a.dormitoryDesp.split("")),c.globalData.isNotEmptyCheck(a.foregift)){a.foregift=a.foregift.split("");var n=[];a.foregift.forEach((function(t){var e=t.split("");c.globalData.length>0&&n.push({item0:e[0].split("#")[0],item1:e[1].split("#")[0]})})),a.foregift=n}else a.foregift="无押金";t.disposeJobListData(a),console.log("isout"),c.globalData.isNotEmptyCheck(a.returnFeeType)||"0"==a.returnFeeType||"0"==a.returnFee?t.setData({fuWuFei:d.getReturnFeeTypeName1ById(a.returnFeeType,a.returnFee)}):t.setData({fuWuFei:"-"}),console.log(a),console.log(d);var s=d.setJobInfoPosition(a.storeDistrict);t.jobDetail["storeName"]=a.storeName,t.jobDetail["notes"]=a.jobInfo,t.setData({jobDetail:a,isMaskShow:!("1"==a.recruitment),citys:s||"-"}),t.showSexAge(),console.log(t.jobDetail)}uni.hideLoading()}})})),(0,n.default)(s,"showSexAge",(function(){var t="",e="";(c.globalData.isNotEmptyCheck(this.jobDetail.minAgeMan)||c.globalData.isNotEmptyCheck(this.jobDetail.maxAgeMan))&&(t="男 "),c.globalData.isNotEmptyCheck(this.jobDetail.minAgeMan)&&(t+=this.jobDetail.minAgeMan),c.globalData.isNotEmptyCheck(this.jobDetail.maxAgeMan)&&(t=t+"-"+this.jobDetail.maxAgeMan),(c.globalData.isNotEmptyCheck(this.jobDetail.minAgeWoman)||c.globalData.isNotEmptyCheck(this.jobDetail.maxAgeWoman))&&(e="女 "),c.globalData.isNotEmptyCheck(this.jobDetail.minAgeWoman)&&(e+=this.jobDetail.minAgeWoman),c.globalData.isNotEmptyCheck(this.jobDetail.maxAgeWoman)&&(e=e+"-"+this.jobDetail.maxAgeWoman),""!=e&&(t=t+"".concat(""==t?"":"")+e),this.setData({showSexAgeText:t})})),(0,n.default)(s,"disposeJobListData",(function(t){console.log(t);var e="";c.globalData.isNotEmptyCheck(t.minAge)&&c.globalData.isNotEmptyCheck(t.maxAge)?e=t.minAge+"-"+t.maxAge+"岁":c.globalData.isNotEmptyCheck(t.minAge)?e=t.minAge+"岁以上":c.globalData.isNotEmptyCheck(t.maxAge)&&(e=t.maxAge+"岁以下"),t["age"]=e;var a="";c.globalData.isNotEmptyCheck(t.minMonthlyPay)&&c.globalData.isNotEmptyCheck(t.maxMonthlyPay)?a=t.minMonthlyPay==t.maxMonthlyPay?t.minMonthlyPay/100:t.minMonthlyPay/100+"-"+t.maxMonthlyPay/100:c.globalData.isNotEmptyCheck(t.minMonthlyPay)?a=t.minMonthlyPay/100:c.globalData.isNotEmptyCheck(t.maxMonthlyPay)&&(a=t.maxMonthlyPay/100),t["monthlyPay"]=a,t["hourlyPay"]=d.getSalaryClassifyValue(t.salaryClassify,t.salaryClassifyValue,a),c.globalData.isNotEmptyCheck(t.jobSpecialLabelNames)&&(t["jobSpecialLabelNames"]=this.getJobSpecialLabelNamesArray(t.jobSpecialLabelNames)),c.globalData.isNotEmptyCheck(t.jobRequestLabelNames)&&(t["jobRequestLabelNames"]=this.getJobRequestLabelNamesArray(t.jobRequestLabelNames))})),(0,n.default)(s,"getJobSpecialLabelNamesArray",(function(t){return c.globalData.isNotEmptyCheck(t)?t.split(", "):[]})),(0,n.default)(s,"getJobRequestLabelNamesArray",(function(t){return console.log(t),c.globalData.isNotEmptyCheck(t)?t.split(", "):[]})),(0,n.default)(s,"goSimilar",(function(){console.log(this.jobDetail),console.log(this.jobDetail.jobLabelId),uni.navigateTo({url:"../similar/index?brandId="+this.jobDetail.store.brandId+"&jobLabelId="+this.jobDetail.jobLabelId+"&classify=99"})})),(0,n.default)(s,"makePhoneCall",(function(){console.log(1);uni.makePhoneCall({phoneNumber:this.jobDetail.customServiceUser.tel||"0371-6611 3723"})})),(0,n.default)(s,"textPaste",(function(){console.log("jobDetail",this.jobDetail),uni.setClipboardData({data:this.jobDetail.customServiceUser.weChat,success:function(t){console.log(t),uni.getClipboardData({success:function(t){uni.showToast({icon:"none",title:"复制成功请去微信添加您的专属客服",duration:0}),uni.showModal({title:"已复制微信号",content:"复制成功请去微信添加您的专属客服",showCancel:!1,success:function(t){t.confirm?console.log("用户点击确定"):t.cancel&&console.log("用户点击取消")}}),console.log(t.data)}})},fail:function(t){console.log(t)}})})),(0,n.default)(s,"goNewEnroll",(function(t){console.log(t.currentTarget.dataset.job),this.setData({recordShow:!0,currentInfo:t.currentTarget.dataset.job}),console.log(this.recordShow),uni.hideTabBar({animation:!1,success:function(t){},fail:function(){},complete:function(){}})})),(0,n.default)(s,"emptyMethod",(function(){})),(0,n.default)(s,"wxLogin",(function(){var t=this;uni.login({success:function(e){e.code?t.setData({wxCode:e.code}):console.log("获取code失败"+e.errMsg)}})})),(0,n.default)(s,"getPhoneNumber",(function(t){var e=this;if(console.log(t),console.log(t.detail.errMsg),console.log(e.jobDetail),uni.setStorageSync("jobDetailStorage",e.jobDetail),console.log(t.detail.iv),"getPhoneNumber:ok"==t.detail.errMsg){var a=t.detail.iv,o=t.detail.encryptedData;uni.checkSession({success:function(){uni.request({url:c.globalData.ip+"/getWechatTel",data:{code:e.wxCode,iv:a,encryptedData:o,type:"yishoudan",appId:c.globalData.appId},success:function(a){console.log(a),c.globalData.openId=a.data.data.openId;var o=c.globalData.setLoginUserTokenInfo(a.data.data.phoneNumber,null),i=t.currentTarget.dataset.collected;console.log(e.isAgency),i?o.then((function(a){e.setData({isLogin:c.globalData.isLogin}),e.doCollected(i,t.currentTarget.dataset.jobid)})):o.then((function(t){var a;a=JSON.stringify(e.jobDetail).replace(/\=|\&/g,"3D"),uni.navigateTo({url:"../newEnroll/enroll/index?applyType=1&info=".concat(a)})})),o.then((function(){console.log(c.globalData.loginUserInfo.agencyStatus),e.setData({isAgency:1==c.globalData.loginUserInfo.agencyStatus})}))},fail:function(t){console.log("获取用户手机号错误")}})},fail:function(){uni.login({success:function(i){i.code?(console.log(i.code),uni.request({url:c.globalData.ip+"/getWechatTel",data:{code:i.code,iv:a,encryptedData:o,type:"yishoudan",appId:c.globalData.appId},success:function(a){console.log(a);var o=c.globalData.setLoginUserTokenInfo(a.data.data.phoneNumber,null),i=t.currentTarget.dataset.collected;i?o.then((function(a){e.setData({isLogin:c.globalData.isLogin}),e.doCollected(i,t.currentTarget.dataset.jobid)})):o.then((function(t){var a;a=JSON.stringify(e.jobDetail).replace(/\=|\&/g,"3D"),uni.navigateTo({url:"../newEnroll/enroll/index?applyType=1&info=".concat(a)})})),o.then((function(){console.log(c.globalData.loginUserInfo.agencyStatus),e.setData({isAgency:1==c.globalData.loginUserInfo.agencyStatus})}))},fail:function(t){console.log("获取用户手机号错误")}})):console.log("获取手机号失败!"+i.errMsg)}})}})}else{var i=t.currentTarget.dataset.collected;if(i){try{uni.setStorageSync("comeFromPage","detail"),uni.setStorageSync("comeFromPageParam",{storeJobId:e.searchForm.storeJobId})}catch(t){console.log("CatchClause",t),console.log("CatchClause",t),console.log("detail-页面跳转,设置参数错误:",t)}uni.navigateTo({url:"/pages/login/index"})}else uni.navigateTo({url:"../enroll/index?applyType=1"})}return!1})),(0,n.default)(s,"setCopy",(function(t){var e,a=uni.createSelectorQuery().in(this);a.select(".contactInfo").boundingClientRect((function(a){e=a.dataset.info,uni.setClipboardData({data:t.currentTarget.dataset.content+e,success:function(t){uni.getClipboardData({success:function(t){console.log(t.data),uni.showToast({title:"内容已复制",icon:"none",duration:1500})}})}})})).exec()})),(0,n.default)(s,"changeContact",(function(){console.log(2123),uni.navigateTo({url:"/pages/configAnnunciate/index"})})),(0,n.default)(s,"collectPaste",(function(t){if(!this.isLogin)return uni.setStorageSync("comeFromPage","detail"),void uni.navigateTo({url:"/pages/login/index"});var e=t.currentTarget.dataset.collected,a=t.currentTarget.dataset.jobid;this.doCollected(e,a)})),(0,n.default)(s,"doCollected",(function(t,e){var a=this,o="/user/collect/job/add";t-1==0&&(o="/user/collect/job/remove"),uni.request({url:c.globalData.ip+o,data:{storeJobId:e},header:c.globalData.headers,method:"GET",success:function(e){var o;t-1==0?(a.jobDetail.collected=2,o="取消收藏"):(a.jobDetail.collected=1,o="收藏成功"),a.setData({jobDetail:a.jobDetail,isLogin:c.globalData.isLogin}),console.log(a.jobDetail),uni.showToast({icon:"none",title:o})},fail:function(t){console.log("操作失败")}})})),(0,n.default)(s,"toggleprice",(function(t){console.log(t),1==t.target.dataset.index?this.setData({isServicePriceShow:!1}):this.setData({isServicePriceShow:!0})})),(0,n.default)(s,"imageLoad",(function(){this.setData({isLoading:!1})})),(0,n.default)(s,"modalMove",(function(){return!1})),(0,n.default)(s,"showTobe",(function(){this.setData({iosDialogTobe:!0})})),(0,n.default)(s,"closeTobe",(function(){this.setData({iosDialogTobe:!1})})),(0,n.default)(s,"hidedrawershow",(function(t){console.log(t),this.setData((0,n.default)({},t.detail.type,!1)),uni.showTabBar({animation:!1,success:function(t){},fail:function(){},complete:function(){}})})),(0,n.default)(s,"scroll",(function(){console.log("占位:函数 scroll 未声明")})),s)};a.default=h,a.default.components=Object.assign({"bottom-drawer":r.default},a.default.components||{})},e8d3:function(t,e,a){"use strict";var o=a("539e"),i=a.n(o);i.a},f438:function(t,e,a){var o,i=a("9523").default,n={container:{width:300,height:240,lingHeight:1,backgroundColor:"#f8f8f8"},df:{width:300,height:30,padding:12,marginTop:10,flexDirection:"row"},df1:{width:300,height:30,padding:12,marginTop:10,flexDirection:"row"},df2:{width:300,height:30,padding:12,marginTop:10,flexDirection:"row"},df4:{width:300,height:30,padding:12,marginTop:10,flexDirection:"row"},logo:{width:30,height:30},next:{width:12,height:12,marginLeft:54,marginTop:3},dib2:{width:32,height:32,borderWidth:1,borderColor:"#fff",borderStyle:"dashed"},itembox:{width:184,height:24},itemboxTag:{width:300,height:24,flexDirection:"row"},text:{width:180,height:30,color:"#1a1a1a",marginTop:4,marginLeft:8,fontSize:20},text1:{width:180,height:30,marginLeft:10,marginTop:30,fontSize:16},tag:{width:64,height:20,marginRight:10,backgroundColor:"rgba(212,212,212,0.50)",borderRadius:16,fontSize:12,lineHeight:20,color:"#353535",textAlign:"center"},money:(o={width:180,height:36,fontSize:24,fontWeight:"blod"},i(o,"fontWeight",700),i(o,"color","#ff6a00"),o),moneyD:{width:180,height:24,fontSize:16},detail:{color:"#353535",width:180,height:24,fontSize:12}};t.exports={wxml:function(t){console.log(t.storeJob.hourlyPay);for(var e="",a=0;a<t.storeJob.jobSpecialLabelNames.length;a++)e+='\n <text class="tag">'+t.storeJob.jobSpecialLabelNames[a]+"</text>\n ";return'<view class="container">\n <view class="df">\n <view class="dib2" >\n <image src="https://matripe.oss-cn-beijing.aliyuncs.com/logo-01.png" class="logo"/>\n </view>\n <view class="itembox" >\n <text class="text">'+t.storeJob.jobName+'</text>\n </view>\n </view>\n <view class="df1">\n <view class="itembox" >\n <text class="money">'+t.storeJob.hourlyPay+'</text>\n </view>\n </view>\n <view class="df2">\n <view class="itembox" >\n <text class="moneyD">'+t.storeJob.monthlyPay+'</text>\n </view>\n</view>\n\n<view class="df4">\n<view class="itemboxTag">\n '+e+'\n</view>\n</view>\n<view class="df">\n<view class="itembox" >\n <text class="detail">查看详情 </text>\n</view>\n</view>\n\n \n \n</view>'},style:n}}}]);