12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5814491e"],{"13e7":function(t,i,s){},"4fe8":function(t,i,s){"use strict";s.r(i);var n=function(){var t=this,i=t._self._c;return i("div",{staticClass:"wrap"},[i("div",{staticClass:"header"},[i("img",{staticClass:"return-img",attrs:{src:s("f5a4")},on:{click:function(i){return t.$router.back()}}}),i("p",{staticClass:"header-title"},[t._v(t._s(t.title))])]),t.showContact&&"supplier"===t.key?i("div",{staticClass:"box"},["recruit"===t.key?i("img",{staticClass:"code-img",attrs:{src:t.config.qrcode}}):t._e(),"supplier"===t.key?i("img",{staticClass:"code-img",attrs:{src:t.config.qr_code}}):t._e(),i("span",{staticClass:"msg blue",on:{click:function(i){return t.copy(t.config.phone)}}},[i("img",{staticClass:"icon",attrs:{src:s("b358")}}),t._v("电话:"+t._s(t.config.phone))]),i("span",{staticClass:"msg",on:{click:function(i){return t.copy(t.config.email)}}},[t._v("邮箱:"+t._s(t.config.email))]),"supplier"===t.key?i("button",{staticClass:"btn",attrs:{type:"button"},on:{click:function(i){t.callPhone=t.config.phone,t.showCall=!0}}},[t._v("联系供应商")]):t._e(),"recruit"===t.key?i("button",{staticClass:"btn",attrs:{type:"button"},on:{click:function(i){t.callPhone=t.config.phone,t.showCall=!0}}},[t._v("联系HR")]):t.showBtn?i("button",{staticClass:"btn",attrs:{type:"button"},on:{click:function(i){t.callPhone=t.config.phone,t.showCall=!0}}},[t._v("联系我们")]):t._e()]):t._e(),t.info[t.key]?i("div",{staticClass:"box"},[i("img",{staticClass:"code-img",attrs:{src:t.info[t.key].qrcode}}),i("span",{staticClass:"msg blue",on:{click:function(i){return t.copy(t.info[t.key].phone)}}},[i("img",{staticClass:"icon",attrs:{src:s("b358")}}),t._v("电话:"+t._s(t.info[t.key].phone))]),i("span",{staticClass:"msg",on:{click:function(i){return t.copy(t.info[t.key].email)}}},[t._v("邮箱:"+t._s(t.info[t.key].email))]),i("button",{staticClass:"btn",attrs:{type:"button"},on:{click:function(i){t.callPhone=t.info[t.key].phone,t.showCall=!0}}},[t._v("联系我们")])]):i("div",{staticClass:"box"},[i("img",{staticClass:"code-img",attrs:{src:t.globalSearchContact.service_qr_code}}),i("span",{staticClass:"msg blue",on:{click:function(i){return t.copy(t.globalSearchContact.service_phone)}}},[i("img",{staticClass:"icon",attrs:{src:s("b358")}}),t._v("电话:"+t._s(t.globalSearchContact.service_phone))]),i("span",{staticClass:"msg",on:{click:function(i){return t.copy(t.globalSearchContact.service_email)}}},[t._v("邮箱:"+t._s(t.globalSearchContact.service_email))]),i("button",{staticClass:"btn",attrs:{type:"button"},on:{click:function(i){t.callPhone=t.globalSearchContact.service_phone,t.showCall=!0}}},[t._v("联系我们")])]),t.showCall?i("div",{staticClass:"mask-layer",on:{click:function(i){t.showCall=!1}}}):t._e(),t.showCall?i("div",{staticClass:"window"},[i("p",{staticClass:"window-title"},[t._v("拨打电话")]),i("p",{staticClass:"window-msg"},[t._v("您确定拨打:"+t._s(t.callPhone))]),i("div",{staticClass:"window-btn-box"},[i("button",{staticClass:"border-btn",attrs:{type:"button"},on:{click:function(i){t.showCall=!1}}},[t._v("取消")]),i("button",{attrs:{type:"button"},on:{click:function(i){t.window.location.href="tel:".concat(t.callPhone)}}},[t._v("确定拨打")])])]):t._e()])},o=[],c=s("f523"),e=s("325c"),a=s("d399"),r={components:{},data:function(){return{window:window,showCall:!1,showContact:!1,showBtn:!1,key:"官方",title:"联系我们",info:{activity:{},article:{},datum:{},demand:{},forum:{},mall:{},press:{},recruit:{},supplier:{},video:{}},config:{},callPhone:"",recruit_id:0,supplier_id:0,globalSearchContact:{},huanxin:"https://104968.kefu.easemob.com/webim/im.html?configId=3cf9af90-d18a-4ace-8a05-eeaa3cd43206",userInfo:{}}},mounted:function(){var t=this.$route.query;this.key=t.key||this.key,this.title=t.title||this.title,this.showContact="1"===t.showContact,this.showBtn="1"===t.showBtn,this.recruit_id=t.recruit_id||0,this.supplier_id=t.supplier_id||0;parseInt(t.online||0);this.getContact(),this.getMore()},methods:{getUserInfo:function(){var t=this;return c["v"].getUserInfo().then((function(i){var s=i.data;t.userInfo=s.detail}))},toHuanxin:function(){window.open(this.huanxin)},getContact:function(){var t=this;c["i"].getContact().then((function(i){var s=i.data;t.info=s}))},getMore:function(){var t=this,i={supplier:c["t"].getSupplierContact,recruit:c["r"].getRecruitContact},s={supplier:{supplier_id:this.supplier_id},recruit:{id:this.recruit_id}};this.showContact&&i[this.key]&&i[this.key](s[this.key]).then((function(i){var s=i.data;t.config=s})),c["i"].getServiceSet().then((function(i){var s=i.data;t.globalSearchContact=s}))},copy:function(t){Object(e["c"])(t),Object(a["a"])("已复制粘贴板")}},beforeRouteLeave:function(t,i,s){window.easemobim.minimize(),s()}},l=r,u=(s("945b"),s("2877")),h=Object(u["a"])(l,n,o,!1,null,"2b00d4d8",null);i["default"]=h.exports},"945b":function(t,i,s){"use strict";s("13e7")},b358:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAwNJREFUWEfNll9IU3EUx7/nzqn7py4o6B8I+XdT9CEMhMLwKd+KCsGIseksw15qgdFLDxWBvRSl5O60oAcZEQRZPkRRGEQEge1uRFREWC+Wtn+0du+JzSK3tbm5DbuP955zvp9zfuec+yOs8UNrrI//E6DO/r2hRKYLAHYx+L3A5PC4DI+KUa2UCphsgU6A7wLQ/hWkCBPt9Tp1U4WGSACot7JBhcBbEDYkCzF4kdXqVt+o5kMhIRIATFb/QRAm0wkwCc+8m7U7cZaUQkEkAJhtgVMMvpg5uGCTRJ2rKACNNv8AAVczB6f7kqjvKgpAU1+oXVHkmUzBGXzDK1ZYigKADi4xbQvOAbw+jcC8SpHbZser3hUHAICpNzAM5hP/EmAIx7yi7lqhxGNxUvZATW9oi1qR3xBBkzKKgmqfd0x7p6gAseAmW+A8wEMpQsSXJGfFyaID1PRwhbo84CVgU5LYN+Un1/puVswXCiLtz8hkDe4BKfeSj4mASY9o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