1 line
15 KiB
JavaScript
1 line
15 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-aaed61b2"],{"18f2":function(t,e,i){var a=i("aedc");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("499e").default;n("1c07b911",a,!0,{sourceMap:!1,shadowMode:!1})},3610:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".pcStyle[data-v-5031211c]{width:375px!important}#bottom-bar[data-v-5031211c]{position:fixed;bottom:0;left:0;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#bottom-bar .active-home-color[data-v-5031211c]{color:#4978f8!important}#bottom-bar .skill-service-sty[data-v-5031211c]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#bottom-bar .skill-service-sty .mobile-row[data-v-5031211c]{width:60%!important}#bottom-bar .bottom-bar-card[data-v-5031211c]{padding:.8rem}#bottom-bar .bottom-bar-card[data-v-5031211c],#bottom-bar .bottom-bar-card .icon-pane[data-v-5031211c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#bottom-bar .bottom-bar-card .icon-pane[data-v-5031211c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:3.5rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#bottom-bar .bottom-bar-card .icon-pane .icon-img[data-v-5031211c]{width:.85rem;height:.85rem}#bottom-bar .bottom-bar-card .icon-pane .icon-name[data-v-5031211c]{font-size:.82rem;font-weight:400;color:#333;margin-top:.2rem;white-space:nowrap}#bottom-bar .bottom-bar-card .mobile-row[data-v-5031211c]{margin-left:.5rem;background:#4978f8;border-radius:1.025rem 1.025rem 1.025rem 1.025rem;font-size:.95rem;font-weight:400;color:#fff;line-height:1;height:2.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:-webkit-fill-available}#bottom-bar .bottom-bar-card .box-mobile-popup[data-v-5031211c]{width:14rem;height:9.8rem;background:#fff;border-radius:.3rem .3rem .3rem .3rem;padding:.975rem .6rem 1.075rem .6rem}#bottom-bar .bottom-bar-card .box-mobile-popup .call-sty[data-v-5031211c]{font-size:.9rem;font-weight:400;color:#333;margin-bottom:1.075rem;text-align:left}#bottom-bar .bottom-bar-card .box-mobile-popup .copy-sty[data-v-5031211c]{font-size:.9rem;font-weight:400;color:#333;padding:.975rem 0 1.075rem 0;border-top:.025rem solid #e7e7e7;border-bottom:.025rem solid #e7e7e7;text-align:left}#bottom-bar .bottom-bar-card .box-mobile-popup .add-stye[data-v-5031211c]{font-size:.9rem;font-weight:400;color:#333;margin-top:1.075rem;text-align:left}#bottom-bar .bottom-bar-enterprise[data-v-5031211c]{-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}#bottom-bar .bottom-bar-enterprise[data-v-5031211c],#bottom-bar .bottom-bar-individual[data-v-5031211c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#bottom-bar .bottom-bar-individual[data-v-5031211c]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#bottom-bar .grab-pane[data-v-5031211c]{color:#fff;padding:.575rem 0;background:#4978f8;border-radius:1.025rem 1.025rem 1.025rem 1.025rem;width:15rem;line-height:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#bottom-bar .img-icon[data-v-5031211c]{width:1.2rem;height:1.2rem}#bottom-bar .phone-icon[data-v-5031211c]{font-size:1.4rem;color:#999}#bottom-bar .other-icon[data-v-5031211c]{width:1.2rem;height:1.2rem;font-size:1.2rem;color:#999}",""]),t.exports=e},3708:function(t,e,i){"use strict";i("d0e4")},"615c":function(t,e,i){"use strict";i("18f2")},"8c6b":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"bottom-bar"}},[i("div",{class:[3==this.fun.getPhoneEnv()?"pcStyle":""],staticStyle:{background:"white",width:"100%"}},["home"==t.type?i("div",{staticClass:"bottom-bar-enterprise bottom-bar-card"},[i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("大厅")}}},[i("img",{staticClass:"img-icon",attrs:{src:"大厅"==t.tab_type?"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating.png":"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating_1.png",alt:""}}),i("span",{class:"大厅"==t.tab_type?"icon-name active-home-color":"icon-name"},[t._v("抢单大厅")])]),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("发布需求")}}},[i("i",{staticClass:"iconfont icon-icon_publish other-icon"}),i("span",{class:"发布需求"==t.tab_type?"icon-name active-home-color":"icon-name"},[t._v("发布需求")])]),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("技能需求")}}},[i("i",{staticClass:"iconfont icon-icon_skill other-icon"}),i("span",{class:"技能需求"==t.tab_type?"icon-name active-home-color":"icon-name"},[t._v("技能需求")])]),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("我的")}}},[i("img",{staticClass:"img-icon",attrs:{src:"我的"==t.tab_type?"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_me.png":"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_me_1.png",alt:""}}),i("span",{class:"我的"==t.tab_type?"icon-name active-home-color":"icon-name"},[t._v("我的")])])]):t._e(),"individual"==t.type?i("div",{staticClass:"bottom-bar-individual bottom-bar-card"},[i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("大厅")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("大厅")])]),i("div",{staticClass:"icon-pane"},[i("van-icon",{staticClass:"phone-icon",attrs:{name:"phone-o"}}),i("a",{attrs:{href:t.mobile}},[i("span",{staticClass:"icon-name"},[t._v("电话")])])],1),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("我的")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_me_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("我的")])]),i("div",{staticClass:"grab-pane",on:{click:t.receive}},[t._v("抢单")])]):t._e(),"skill_service"==t.type?i("div",{staticClass:"bottom-bar-card skill-service-sty",staticStyle:{"justify-content":"space-around"}},[i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("大厅")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("大厅")])]),i("div",{staticClass:"mobile-row",on:{click:t.tabAppointment}},[t._v("预约")])]):t._e(),"technician"==t.type?i("div",{staticClass:"bottom-bar-card",staticStyle:{"justify-content":"space-around"}},[i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("大厅")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("大厅")])]),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("我的")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_me_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("我的")])])]):t._e(),"enterprise"==t.type?i("div",{staticClass:"bottom-bar-enterprise bottom-bar-card"},[i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("大厅")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_dating_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("大厅")])]),i("div",{staticClass:"icon-pane"},[i("van-icon",{staticClass:"phone-icon",attrs:{name:"phone-o"}}),i("a",{attrs:{href:t.mobile}},[i("span",{staticClass:"icon-name"},[t._v("电话")])])],1),i("div",{staticClass:"icon-pane",on:{click:function(e){return t.chooseType("我的")}}},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_me_1.png",alt:""}}),i("span",{staticClass:"icon-name"},[t._v("我的")])])]):t._e()])])},n=[],o=(i("14d9"),{props:{type:{type:null,default:"home"},tab_type:{type:null,default:"大厅"},mobile:{type:null,default:""},order_id:{type:null,default:""},skillService:{type:null,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{chooseType:function(t){switch(t){case"订单":this.$router.push(this.fun.getUrl("anyOrderIndex",{}));break;case"大厅":this.$router.push(this.fun.getUrl("anytimeService",{}));break;case"我的":this.$router.push(this.fun.getUrl("anytimeMy",{}));break;case"发布需求":this.$router.push(this.fun.getUrl("anytimeDemand",{type:1}));break;case"技能需求":this.$router.push(this.fun.getUrl("anytimeSkillMasterManage",{}));break;default:break}},tabAppointment:function(){this.$router.push(this.fun.getUrl("anyOrder",{id:this.skillService.id}))},receive:function(){var t=this;$http.get("plugin.be-within-call.frontend.need-order-operate.grab",{oid:this.order_id}).then((function(e){e.data;var i=e.result,a=e.msg;t.$toast(a),i&&t.$router.push(t.fun.getUrl("anytimeAreaOrder",{}))}))}},components:{}}),s=o,c=s,r=(i("3708"),i("2877")),l=Object(r["a"])(c,a,n,!1,null,"5031211c",null);e["a"]=l.exports},aedc:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#individual-needs .bg-img[data-v-2b7c1ce2]{height:16.55rem;margin:0;width:100%;-o-object-fit:contain;object-fit:contain}#individual-needs .top-name[data-v-2b7c1ce2]{background:#fff;padding:.6rem}#individual-needs .top-name .name-op[data-v-2b7c1ce2]{font-size:.9rem;font-weight:700;color:#333;margin-bottom:.6rem;line-height:1;text-align:left}#individual-needs .top-name .op-pane[data-v-2b7c1ce2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#individual-needs .top-name .op-pane .price-op[data-v-2b7c1ce2]{font-size:.9rem;font-weight:500;color:#ff9c43}#individual-needs .top-name .op-pane .price-op .price-sym[data-v-2b7c1ce2]{font-size:.55rem;font-weight:400;color:#ff9c43}#individual-needs .top-name .op-pane .sold[data-v-2b7c1ce2]{font-size:.7rem;font-weight:400;color:#999}#individual-needs .content-pane[data-v-2b7c1ce2]{background:#fff;padding:.6rem;margin-top:.6rem}#individual-needs .content-pane[data-v-2b7c1ce2],#individual-needs .content-pane .left[data-v-2b7c1ce2]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#individual-needs .content-pane .left .technician-name[data-v-2b7c1ce2]{font-size:.85rem;font-weight:400;color:#999;white-space:nowrap}#individual-needs .content-pane .left .actor-img[data-v-2b7c1ce2]{width:1.2rem;height:1.2rem;margin:0;border-radius:50%}#individual-needs .content-pane .left .true-name[data-v-2b7c1ce2]{font-size:.8rem;font-weight:400;color:#090909;margin-left:.2rem;text-align:left;width:80%}#individual-needs .content-pane .location-sty[data-v-2b7c1ce2]{font-size:.8rem;font-weight:400;color:#999;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;white-space:nowrap}#individual-needs .content-detail[data-v-2b7c1ce2]{margin-top:.6rem;padding:.6rem;background:#fff;text-align:left;font-size:.8rem}#individual-needs .img-icon[data-v-2b7c1ce2]{width:.85rem!important;height:.85rem!important}",""]),t.exports=e},d0e4:function(t,e,i){var a=i("3610");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("499e").default;n("444e77f8",a,!0,{sourceMap:!1,shadowMode:!1})},dd21:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"individual-needs"}},[i("c-title",{attrs:{text:"技能服务"}}),i("van-swipe",{staticClass:"bg-img",attrs:{"show-indicators":!1}},[i("van-swipe-item",[i("img",{staticClass:"bg-img",attrs:{src:t.dataDetail.pic_url,alt:""}})]),i("van-swipe-item",[i("video",{staticClass:"bg-img",attrs:{src:t.dataDetail.video_url,controls:"","webkit-playsinline":"true",playsinline:"true","x5-video-ignore-metadata":"true"}})])],1),i("div",{staticClass:"top-name"},[i("div",{staticClass:"name-op"},[t._v(t._s(t.dataDetail.title))]),i("div",{staticClass:"op-pane"},[i("div",{staticClass:"price-op"},[t._v(t._s(t.dataDetail.fee)),i("span",{staticClass:"price-sym"},[t._v("元/次")])]),i("span",{staticClass:"sold"},[t._v("已售 "+t._s(t.dataDetail.service_order_num))])])]),i("div",{staticClass:"content-pane"},[i("div",{staticClass:"left"},[i("span",{staticClass:"technician-name"},[t._v("技师:")]),t.dataDetail.has_one_shifu&&t.dataDetail.has_one_shifu.personal_pic?i("img",{staticClass:"actor-img",attrs:{src:t.dataDetail.has_one_shifu?t.dataDetail.has_one_shifu.personal_pic:"",alt:""}}):t._e(),i("span",{staticClass:"true-name"},[t._v(t._s(t.dataDetail.has_one_shifu?t.dataDetail.has_one_shifu.realname:""))])]),i("div",{staticClass:"location-sty"},[i("img",{staticClass:"img-icon",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/anytime_service/icon_local (1).png",alt:""}}),t._v(t._s(t.dataDetail.has_one_shifu?t.dataDetail.has_one_shifu.distance:"")+" "+t._s(t.dataDetail.has_one_shifu?t.dataDetail.has_one_shifu.unit:""))])]),i("div",{staticClass:"content-detail"},[t._v(t._s(t.dataDetail.desc))]),t.info?i("bottom-bar",{attrs:{type:"skill_service",mobile:"tel:"+t.dataDetail.has_one_shifu.mobile,skillService:t.dataDetail}}):t._e()],1)},n=[],o=(i("b64b"),i("8c6b")),s={data:function(){return{content:"<h1>产地四川省调查</h1>",myLocation:{},id:"",dataDetail:{},info:!1}},mounted:function(){this.id=this.$route.params.id,this.myLocation=JSON.parse(localStorage.getItem("myLocation")),this.getData()},methods:{getData:function(){var t=this;$http.get("plugin.be-within-call.frontend.index.ability",{lng:this.myLocation?this.myLocation.point.lng:"",lat:this.myLocation?this.myLocation.point.lat:"",aid:this.id}).then((function(e){var i=e.data,a=e.result;e.msg;a?(t.dataDetail=i,t.info=!0):t.$toast(res.msg)}))}},components:{bottomBar:o["a"]}},c=s,r=c,l=(i("615c"),i("2877")),m=Object(l["a"])(r,a,n,!1,null,"2b7c1ce2",null);e["default"]=m.exports}}]); |