test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
37 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPages2-homemaking-serviceIn-serviceIn"],{"1d5b":function(t,e,i){"use strict";var a=i("b4ad"),n=i.n(a);n.a},"1da1":function(t,e,i){"use strict";function a(t,e,i,a,n,r,o){try{var c=t[r](o),s=c.value}catch(l){return void i(l)}c.done?e(s):Promise.resolve(s).then(a,n)}function n(t){return function(){var e=this,i=arguments;return new Promise((function(n,r){var o=t.apply(e,i);function c(t){a(o,n,r,c,s,"next",t)}function s(t){a(o,n,r,c,s,"throw",t)}c(void 0)}))}}i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n},"266a":function(t,e,i){var a=i("dde5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("26196458",a,!0,{sourceMap:!1,shadowMode:!1})},"33ef":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.TabBarsData?i("v-uni-view",[i("v-uni-view",{staticClass:"diy-tabbar",style:{background:t.TabBarsData?t.TabBarsData.style.bgcolor:"#ffffff","padding-bottom":t.isPadding?"20px":""}},t._l(t.TabBarsData.data,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tabbar-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onTabItem(e.linkurl,e.name,a)}}},["1"===t.TabBarsData.params.navstyle?i("v-uni-view",[i("v-uni-image",{staticClass:"image",attrs:{src:e.imgurl}})],1):t._e(),"0"===t.TabBarsData.params.navstyle?i("v-uni-view",["pages/subPages2/homemaking/postDemand/postDemand"==e.page_path?i("v-uni-view",{staticClass:"tabbar-sever"},[i("v-uni-image",{staticClass:"tabbar-severImg",attrs:{src:t.imgfixUrls+"homemakingImg/enterCheck.png",mode:""}})],1):i("v-uni-view",[i("v-uni-view",{staticClass:"iconfont tabbar-item-icon",class:e.iconclass,style:t.current===a?"color:"+t.TabBarsData.style.iconcoloron:"color:"+t.TabBarsData.style.iconcolor}),i("v-uni-view",{staticClass:"f-24",style:t.current===a?"color:"+t.TabBarsData.style.textcoloron:"color:"+t.TabBarsData.style.textcolor},[t._v(t._s(e.text))])],1)],1):t._e(),"2"===t.TabBarsData.params.navstyle?i("v-uni-view",{staticClass:"navstyle-3-item"},[i("v-uni-view",{staticClass:"navstyle-image",style:{"background-image":t.current===a?"url("+e.select_img+")":"url("+e.default_img+")"}}),i("v-uni-view",{staticClass:"f-24 t-c",style:t.current===a?"color:"+t.TabBarsData.style.textcoloron:"color:"+t.TabBarsData.style.textcolor},[t._v(t._s(e.text))])],1):t._e()],1)})),1)],1):t._e()},r=[]},"3c24":function(t,e,i){"use strict";i.r(e);var a=i("58fc"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},4661:function(t,e,i){"use strict";var a=i("4ea4");i("d81d"),i("a434"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("1da1")),r=a(i("2c7c")),o=a(i("8f6e")),c=a(i("6f85")),s=a(i("ec93")),l={data:function(){return{index:0,items:[{value:"1",name:"男"},{value:"2",name:"女"}],current:0,isOpenLaction:!1,phoneHight:null,phoneWidth:null,latlngs:{},site:"",loadlogo:!1,showoccupation:!1,areas:[],artificer:{},cate:[],meals:[],rightList:[],showodistrict:!1,addshow:!1,newTag:"",localIds:null,uploadlength:0,id:"",userInfo:{},lblis:{},islocation:!1}},components:{PopManager:o.default,TabBars:c.default},onLoad:function(t){var e=this;e.id=t.id||"",e.latlngs=uni.getStorageSync("curLoction"),uni.getSystemInfo({success:function(t){console.log(t),e.phoneHight=t.windowHeight+"px",e.phoneWidth=t.windowWidth+"px"}}),this.getinitialize()},onShow:function(){var t=this;this.islocation?this.islocation=!1:this.getinitialize(),window.addEventListener("message",(function(e){var i=e.data;t.islocation=!0,i&&"locationPicker"==i.module&&({lat:i.latlng.lat,lng:i.latlng.lng,detailed_address:i.poiaddress},t.artificer.address=i.poiaddress,t.artificer.lat=i.latlng.lat,t.artificer.lng=i.latlng.lng,t.isOpenLaction=!1)}),!1)},methods:{deletImg:function(t,e){1==t?this.artificer.thumb="":2==t?this.artificer.thumbs.splice(e,1):this.artificer.casethumbs.splice(e,1)},Change:function(t){console.log(t),this.index=t.detail.value},issueclick:function(){var t=this,e=JSON.parse(JSON.stringify(t.artificer));if(e.name)if(e.mobile)if(e.address)if(0!=e.region.length)if(0!=e.catearray.length){var i={artificerinfo:null,id:t.id||e.id};t.meals&&(i={mealid:t.meals[t.index].id}),e.gender=t.items[t.current].value;var a=[],n=[];e.catearray.map((function(t,e){a.push(t.id)})),e.region.map((function(t,e){n.push(t.id)})),e.region=n,e.catearray=a,console.log(e);var o=JSON.stringify(e),c=new this.$util.Base64;o=c.encode(o),i.artificerinfo=o,r.default._post_form("&p=housekeep&do=editArtificerApi",i,(function(t){0==t.data.orderid?r.default.navigationTo({url:"pages/subPages2/homemaking/homeUser/homeUser",navType:"reLaunch"}):r.default.navigationTo({url:"pages/mainPages/payment/payment?orderid="+t.data.orderid+"&plugin=housekeep",navType:"reLaunch"})}),!1,(function(){}))}else uni.showToast({title:"请至少选择一个服务类型",icon:"none"});else uni.showToast({title:"请至少选择一个服务区域",icon:"none"});else uni.showToast({title:"详细地址不能为空",icon:"none"});else uni.showToast({title:"手机号不能为空",icon:"none"});else uni.showToast({title:"联系人不能为空",icon:"none"})},deletTag:function(t){this.artificer.tagarray.splice(t,1)},uplodephone:function(t,e,i){var a=this;s.default.uoloadIg(e[t],(function(e){if("uploadImage:ok"===e.errMsg){uni.showLoading({});var n={upload_type:2,id:e.serverId};r.default._post_form("&do=uploadFiles",n,(function(e){if(0===e.errno){var n=t+1;2==i?a.artificer.thumbs.push(e.data.img):3==i?a.artificer.casethumbs.push(e.data.img):a.artificer.thumb=e.data.img,n<a.uploadlength&&uni.setTimeout(a.uplodephone(n,a.localIds,i),500)}}),!1,(function(){uni.hideLoading()}))}else uni.hideLoading(),r.default.showError("上传失败")}))},uploadFiles:function(t,e){var i=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var n,o,c,l;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=i,n.islocation=!0,2!=r.default.getClientType()){a.next=16;break}return a.next=5,r.default.browser_upload(e);case 5:o=a.sent,c=0;case 7:if(!(c<o.tempFilePaths.length)){a.next=15;break}return a.next=10,r.default._upLoad(o.tempFilePaths[c]);case 10:l=a.sent,2==t?(n.artificer.thumbs.push(l.data.img),console.log(n.artificer.thumbs,l.data.img)):3==t?n.artificer.casethumbs.push(l.data.img):n.artificer.thumb=l.data.img;case 12:c++,a.next=7;break;case 15:return a.abrupt("return");case 16:s.default.choseImage((function(e){n.localIds=e.localIds,n.uploadlength=e.localIds.length,n.uplodephone(0,n.localIds,t)}),e);case 17:case"end":return a.stop()}}),a)})))()},addtagItem:function(){this.newTag?(this.artificer.tagarray.push(this.newTag),this.addshow=!1,this.newTag=""):uni.showToast({icon:"none",title:"新增标签不能为空"})},closeAdd:function(){this.addshow=!1,this.newTag=""},checkCity:function(t){var e=this;e.areas.map((function(i,a){i.id==t&&(i.checked=!i.checked,i.checked?e.artificer.region.push(i):e.artificer.region.map((function(i,a){i.id==t&&e.artificer.region.splice(a,1)})))})),e.loadlogo=!e.loadlogo,e.loadlogo=!e.loadlogo},deletcheck:function(t){var e=this;e.cate.map((function(e,i){e.list.map((function(e,i){e.id==t&&(e.checked=!1)}))})),e.artificer.catearray.map((function(i,a){i.id==t&&e.artificer.catearray.splice(a,1)})),e.rightList.map((function(e,i){e.id==t&&(e.checked=!1)}))},checkRight:function(t){var e=this;e.rightList.map((function(i,a){i.id==t&&(i.checked=!i.checked,i.checked?e.artificer.catearray.push(i):e.artificer.catearray.map((function(t,a){t.id==i.id&&e.artificer.catearray.splice(a,1)})))})),e.loadlogo=!e.loadlogo,e.loadlogo=!e.loadlogo},checkLeft:function(t){var e=this;e.cate.map((function(i,a){i.checked=!1,i.id==t&&(i.checked=!0,e.rightList=i.list)})),e.loadlogo=!e.loadlogo,e.loadlogo=!e.loadlogo},getinitialize:function(){var t=this;r.default._post_form("&p=housekeep&do=editArtificerPage",{id:this.id},(function(e){console.log(e),t.areas=e.data.areas,t.artificer=e.data.artificer,t.artificer.region||(t.artificer.region=[]);var i=[];t.areas.map((function(t,e){t.checked=!1})),t.artificer.region.map((function(e,a){t.areas.map((function(t,a){t.id==e&&(t.checked=!0,i.push(t))}))})),t.artificer.region=i,t.cate=e.data.cate,t.meals=e.data.meals||null,t.items.map((function(e,i){e.value==t.artificer.gender&&(t.current=i)})),t.cate.map((function(e,i){e.checked=!1,e.list.map((function(e,i){e.checked=!1,t.artificer.catearray.map((function(t,i){e.id==t.id&&(e.checked=!0)}))}))})),t.loadlogo=!0}),(function(t){"认证后才能入驻成为服务者"==t.data.message&&r.default.navigationTo({url:"pages/subPages/attestationCenter/index?rzType=1&type=1",navType:"reLaunch"}),console.log(t)}))},radioChange:function(t){var e=this;console.log(t.target.value),this.items.map((function(i,a){i.value==t.target.value&&(e.current=a)}))},goLocation:function(){var t=this;t.upimg=!0,t.isOpenLaction=!0}}};e.default=l},"524d":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.loadlogo?i("v-uni-view",{staticClass:"serviceIn"},[i("v-uni-view",{staticClass:"from"},[i("v-uni-view",{staticClass:"title"},[t._v("基础信息")]),i("v-uni-view",{staticClass:"fromItem"},[i("v-uni-view",{staticClass:"fromName"},[t._v("联系人"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),i("v-uni-view",{staticClass:"fromContent"},[i("v-uni-input",{staticClass:"inputs",attrs:{type:"text",value:"","placeholder-class":"col-9",placeholder:"请输入姓名"},model:{value:t.artificer.name,callback:function(e){t.$set(t.artificer,"name",e)},expression:"artificer.name"}})],1)],1),i("v-uni-view",{staticClass:"fromItem"},[i("v-uni-view",{staticClass:"fromName"},[t._v("性别")]),i("v-uni-view",{staticClass:"fromContent"},[i("v-uni-radio-group",{staticClass:"dis-flex f-28",staticStyle:{"justify-content":"flex-end"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.radioChange.apply(void 0,arguments)}}},t._l(t.items,(function(e,a){return i("v-uni-label",{key:e.value,staticClass:"uni-list-cell uni-list-cell-pd dis-flex",style:{paddingRight:1!=a?"50rpx":"0px"}},[i("v-uni-view",[i("v-uni-radio",{attrs:{color:"#70A8FD",value:e.value,checked:a===t.current}})],1),i("v-uni-view",[t._v(t._s(e.name))])],1)})),1)],1)],1),i("v-uni-view",{staticClass:"fromItem"},[i("v-uni-view",{staticClass:"fromName"},[t._v("手机号"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),i("v-uni-view",{staticClass:"fromContent"},[i("v-uni-input",{staticClass:"inputs",attrs:{type:"number",maxlength:"11",value:"","placeholder-class":"col-9",placeholder:"请输入手机号码"},model:{value:t.artificer.mobile,callback:function(e){t.$set(t.artificer,"mobile",e)},expression:"artificer.mobile"}})],1)],1),i("v-uni-view",{staticClass:"fromItem"},[i("v-uni-view",{staticClass:"fromName"},[t._v("联系地址"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),i("v-uni-view",{staticClass:"fromContent",staticStyle:{overflow:"hidden"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLocation.apply(void 0,arguments)}}},[t.artificer.address?i("v-uni-view",{staticClass:"f-28 col-3"},[t._v(t._s(t.artificer.address))]):i("v-uni-input",{staticClass:"inputLeft",attrs:{type:"number",maxlength:"11",disabled:!0,value:"","placeholder-class":"col-9",placeholder:"点击定位详细地址"}})],1),i("v-uni-view",{staticClass:"textbox t-r f-28 c-ff4444",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLocation.apply(void 0,arguments)}}},[t._v("定位"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1)],1),i("v-uni-view",{staticClass:"fromItem",staticStyle:{"line-height":"0",height:"auto"}},[i("v-uni-view",{staticClass:"fromName",staticStyle:{"line-height":"110upx"}},[t._v("服务类型"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),i("v-uni-view",{staticClass:"fromContent",staticStyle:{padding:"30upx 0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showoccupation=!0}}},[0==t.artificer.catearray.length?i("v-uni-input",{staticClass:"inputLeft",staticStyle:{"line-height":"40upx",height:"50upx"},attrs:{type:"number",maxlength:"11",disabled:!0,value:"","placeholder-class":"col-9",placeholder:"点击选择所属服务"}}):i("v-uni-view",{staticClass:"f-28 col-3"},t._l(t.artificer.catearray,(function(e,a){return i("v-uni-view",{key:a,staticClass:"check-item"},[t._v(t._s(e.title)),i("v-uni-image",{attrs:{src:t.imgfixUrls+"homemakingImg/imgcolse.png",mode:""},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.deletcheck(e.id)}}})],1)})),1)],1),i("v-uni-view",{staticClass:"iconfont icon-right t-r f-28",staticStyle:{"font-size":"28upx",color:"#999999","line-height":"110upx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showoccupation=!0}}})],1),i("v-uni-view",{staticClass:"fromItem",staticStyle:{"line-height":"0",height:"auto",border:"none"}},[i("v-uni-view",{staticClass:"fromName",staticStyle:{"line-height":"110upx"}},[t._v("服务区域"),i("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),i("v-uni-view",{staticClass:"fromContent",staticStyle:{padding:"30upx 0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showodistrict=!0}}},[0==t.artificer.region.length?i("v-uni-input",{staticClass:"inputLeft",staticStyle:{"line-height":"40upx",height:"50upx"},attrs:{type:"number",maxlength:"11",disabled:!0,value:"","placeholder-class":"col-9",placeholder:"点击选择服务区域"}}):i("v-uni-view",{staticClass:"f-28 col-3"},t._l(t.artificer.region,(function(e,a){return i("v-uni-view",{key:a,staticClass:"check-item"},[t._v(t._s(e.name))])})),1)],1),i("v-uni-view",{staticClass:"iconfont icon-right t-r f-28",staticStyle:{"font-size":"28upx",color:"#999999","line-height":"110upx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showodistrict=!0}}})],1)],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"workingPhoto"},[i("v-uni-view",{staticClass:"f-32 f-w"},[t._v("入驻头像")]),i("v-uni-view",{staticClass:"f-24 col-9",staticStyle:{"padding-top":"20upx"}},[t._v("(上传真实的照片,更容易接单成功)")]),i("v-uni-view",{staticClass:"imgs"},[t.artificer.thumb?i("v-uni-view",{staticClass:"img-item"},[i("v-uni-image",{attrs:{src:t.artificer.thumb,mode:""}}),i("v-uni-image",{staticClass:"imgclise",attrs:{src:t.imgfixUrls+"homemakingImg/imgcolse.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deletImg(1,t.index)}}})],1):i("v-uni-view",{staticClass:"img-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFiles(1,1)}}},[i("v-uni-image",{attrs:{src:t.imgfixUrls+"homemakingImg/upload.png",mode:""}})],1)],1)],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"workingPhoto"},[i("v-uni-view",{staticClass:"f-32 f-w"},[t._v("工作照片")]),i("v-uni-view",{staticClass:"f-24 col-9",staticStyle:{"padding-top":"20upx"}},[t._v("(上传真实的照片,最多上传5张,推荐尺寸750x430)")]),i("v-uni-view",{staticClass:"imgs"},[t._l(t.artificer.thumbs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"img-item"},[i("v-uni-image",{attrs:{src:e,mode:""}}),i("v-uni-image",{staticClass:"imgclise",attrs:{src:t.imgfixUrls+"homemakingImg/imgcolse.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deletImg(2,a)}}})],1)})),t.artificer.thumbs.length<5?i("v-uni-view",{staticClass:"img-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFiles(2,5)}}},[i("v-uni-image",{attrs:{src:t.imgfixUrls+"homemakingImg/upload.png",mode:""}})],1):t._e()],2)],1),i("v-uni-view",{staticClass:"line"}),i("v-uni-view",{staticClass:"workingPhoto"},[i("v-uni-view",{staticClass:"f-32 f-w"},[t._v("真实案例")]),i("v-uni-view",{staticClass:"f-24 col-9",staticStyle:{"padding-top":"20upx"}},[t._v("(上传真实案例,最多上传9张照片)")]),i("v-uni-view",{staticClass:"imgs"},[t._l(t.artificer.casethumbs,(function(e,a){return i("v-uni-view",{key:a,staticClass:"img-item"},[i("v-uni-image",{attrs:{src:e,mode:""}}),i("v-uni-image",{staticClass:"imgclise",attrs:{src:t.imgfixUrls+"homemakingImg/imgcolse.png",mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deletImg(3,a)}}})],1)})),t.artificer.casethumbs.length<9?i("v-uni-view",{staticClass:"img-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFiles(3,9)}}},[i("v-uni-image",{attrs:{src:t.imgfixUrls+"homemakingImg/upload.png",mode:""}})],1):t._e()],2)],1),t.meals?i("v-uni-view",{staticClass:"line"}):t._e(),t.meals?i("v-uni-view",{staticClass:"from"},[i("v-uni-view",{staticClass:"f-32 f-w"},[t._v("入驻套餐")]),i("v-uni-view",{staticClass:"fromItem",staticStyle:{border:"none"}},[i("v-uni-view",{staticClass:"fromName"},[t._v("套餐选择")]),i("v-uni-view",{staticClass:"fromContent f-28"},[i("v-uni-picker",{attrs:{value:t.index,range:t.meals,"range-key":"name"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.Change.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.meals[t.index].name))])],1),i("v-uni-view",{staticClass:" t-r iconfont icon-right",staticStyle:{"font-size":"24upx",color:"#333333"}})],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"issue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issueclick.apply(void 0,arguments)}}},[t._v("立即入驻")]),i("PopManager",{attrs:{show:t.addshow,type:"center",overlay:"false",showOverlay:"false"},on:{clickmask:function(e){arguments[0]=e=t.$handleEvent(e),t.addshow=!1}}},[i("v-uni-view",{staticClass:"addbox"},[i("v-uni-view",{staticClass:"addinput"},[i("v-uni-input",{staticClass:"input",attrs:{type:"text",value:""},model:{value:t.newTag,callback:function(e){t.newTag=e},expression:"newTag"}})],1),i("v-uni-view",{staticClass:"dis-flex btnbox f-30"},[i("v-uni-view",{staticClass:"btnleft",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAdd.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-view",{staticClass:"btnright",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addtagItem.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1),i("PopManager",{attrs:{show:t.showoccupation,type:"bottom",overlay:"false",showOverlay:"false"},on:{clickmask:function(e){arguments[0]=e=t.$handleEvent(e),t.showoccupation=!1}}},[i("v-uni-view",{staticClass:"cicupation"},[i("v-uni-view",{staticClass:"cicupation-left"},t._l(t.cate,(function(e,a){return i("v-uni-view",{key:a,class:e.checked?"left-item":"left-nocheck",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.checkLeft(e.id)}}},[t._v(t._s(e.title))])})),1),i("v-uni-view",{staticClass:"cicupation-right"},t._l(t.rightList,(function(e,a){return i("v-uni-view",{key:a,class:e.checked?"right-item":"right-nocheck",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.checkRight(e.id)}}},[t._v(t._s(e.title))])})),1)],1)],1),i("PopManager",{attrs:{show:t.showodistrict,type:"bottom",overlay:"false",showOverlay:"false"},on:{clickmask:function(e){arguments[0]=e=t.$handleEvent(e),t.showodistrict=!1}}},[i("v-uni-view",{staticClass:"district"},t._l(t.areas,(function(e,a){return i("v-uni-view",{key:a,class:e.checked?"district-item":"district-nocheck",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.checkCity(e.id)}}},[t._v(t._s(e.name))])})),1)],1),i("PopManager",{attrs:{show:t.isOpenLaction,type:"bottom",overlay:"false",showOverlay:"false"}},[t.latlngs.latitude?i("v-uni-view",{staticClass:"iframe-wid-hgt",style:{height:t.phoneHight,width:t.phoneWidth}},[i("iframe",{attrs:{id:"mapPage",width:"100%",height:"100%",frameborder:"0",src:"https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=KIQBZ-6OT3G-AOMQD-IHW6J-PEUDV-VCFAF&referer=myapp&coord="+t.latlngs.latitude+","+t.latlngs.longitude}})]):t._e(),t.latlngs.latitude?t._e():i("v-uni-view",{staticClass:"iframe-wid-hgt",style:{height:t.phoneHight,width:t.phoneWidth}},[i("iframe",{attrs:{id:"mapPage",width:"100%",height:"100%",frameborder:"0",src:"https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=KIQBZ-6OT3G-AOMQD-IHW6J-PEUDV-VCFAF&referer=myapp"}})])],1)],1):t._e()},r=[]},"58fc":function(t,e,i){"use strict";var a=i("4ea4");i("99af"),i("c740"),i("caad"),i("c975"),i("a9e3"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("2c7c")),r={data:function(){return{current:0,isPadding:null,menu:null}},props:{tabBarAct:{type:Number,default:function(){return 0}},tabBarData:{default:function(){return null}},pageType:{type:String,default:function(){return""}},pageId:{type:String,default:function(){return""}},menuList:{default:function(){return""}}},mounted:function(){var t=this;t.current=uni.getStorageSync("tabbarindex"),uni.getSystemInfo({success:function(e){var i=e.model,a=["iPhone10,3","iPhone10,6","iPhone11,8","iPhone11,2","iPhone11,6"];t.isPadding=a.includes(i)||-1!==i.indexOf("iPhone X")||-1!==i.indexOf("iPhone12")}}),t.getbtmNavBar()},methods:{onTabItem:function(t,e,i){if(uni.setStorageSync("tabbarindex",i),-1!=t.indexOf("indet"))return n.default.navigationToH5(!1,"".concat(n.default.base,"#/").concat(t)),void window.location.reload();n.default.navigationTo({url:t})},getbtmNavBar:function(){var t=this,e={};if(t.pageType&&(e={type:t.pageType}),t.pageId&&Object.assign(e,{id:t.pageId}),"draw"==t.pageType){t.setData({menu:t.tabBarData});var i=getCurrentPages(),a=i[i.length-1],r=a.route||a.__route__,o=[],c=!1;for(var s in o=t.menu.data,o)o[s].page_path.split("?")[0]==r&&(c=!0);c||(uni.removeStorageSync("tabbarindex"),t.current=0)}else n.default._post_form("&do=BottomMenu",e,(function(e){t.setData({menu:e.data.data});var i=getCurrentPages(),a=i[i.length-1],n=a.route||a.__route__,r=[],o=!1;for(var c in r=t.menu.data,r)r[c].page_path.split("?")[0]==n&&(o=!0);o||(uni.removeStorageSync("tabbarindex"),t.current=0)}))}},computed:{TabBarsData:function(){var t,e=getCurrentPages(),i=e[e.length-1],a=i.route||i.__route__,n={data:this.tabBarData&&this.tabBarData.length>0?this.tabBarData:this.menu},r=i.$mp.query;if(n.data){var o=[];for(var c in n.data.data)o.push(n.data.data[c]);return"pages/mainPages/index/diypage"===a?(a=a+"?i="+r.i+(r["aid"]?"&aid="+r["aid"]:"")+(r["id"]?"&id="+r["id"]:"")+"&type="+r["type"],t=o.findIndex((function(t){return t.linkurl===a})),this.current=t):(t=o.findIndex((function(t){return t.linkurl.split("?")[0]===a})),this.current=t),n.data.data=o,n.data}}}};e.default=r},"6f85":function(t,e,i){"use strict";i.r(e);var a=i("33ef"),n=i("3c24");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("a780");var o,c=i("f0c5"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"e1dd56ac",null,!1,a["a"],o);e["default"]=s.exports},"96cf":function(t,e){!function(e){"use strict";var i,a=Object.prototype,n=a.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag",l="object"===typeof t,u=e.regeneratorRuntime;if(u)l&&(t.exports=u);else{u=e.regeneratorRuntime=l?t.exports:{},u.wrap=y;var d="suspendedStart",f="suspendedYield",h="executing",v="completed",g={},m={};m[o]=function(){return this};var p=Object.getPrototypeOf,b=p&&p(p($([])));b&&b!==a&&n.call(b,o)&&(m=b);var w=_.prototype=k.prototype=Object.create(m);C.prototype=w.constructor=_,_.constructor=C,_[s]=C.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===C||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(w),t},u.awrap=function(t){return{__await:t}},I(T.prototype),T.prototype[c]=function(){return this},u.AsyncIterator=T,u.async=function(t,e,i,a){var n=new T(y(t,e,i,a));return u.isGeneratorFunction(e)?n:n.next().then((function(t){return t.done?t.value:n.next()}))},I(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){while(e.length){var a=e.pop();if(a in t)return i.value=a,i.done=!1,i}return i.done=!0,i}},u.values=$,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=i)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(a,n){return c.type="throw",c.arg=t,e.next=a,n&&(e.method="next",e.arg=i),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],c=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return a(o.catchLoc,!0);if(this.prev<o.finallyLoc)return a(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return a(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return a(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,g):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),S(i),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var n=a.arg;S(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:$(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=i),g}}}function y(t,e,i,a){var n=e&&e.prototype instanceof k?e:k,r=Object.create(n.prototype),o=new O(a||[]);return r._invoke=L(t,i,o),r}function x(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(a){return{type:"throw",arg:a}}}function k(){}function C(){}function _(){}function I(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function T(t){function e(i,a,r,o){var c=x(t[i],t,a);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"===typeof l&&n.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,r,o)}),(function(t){e("throw",t,r,o)})):Promise.resolve(l).then((function(t){s.value=t,r(s)}),(function(t){return e("throw",t,r,o)}))}o(c.arg)}var i;function a(t,a){function n(){return new Promise((function(i,n){e(t,a,i,n)}))}return i=i?i.then(n,n):n()}this._invoke=a}function L(t,e,i){var a=d;return function(n,r){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===n)throw r;return z()}i.method=n,i.arg=r;while(1){var o=i.delegate;if(o){var c=E(o,i);if(c){if(c===g)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(a===d)throw a=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a=h;var s=x(t,e,i);if("normal"===s.type){if(a=i.done?v:f,s.arg===g)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(a=v,i.method="throw",i.arg=s.arg)}}}function E(t,e){var a=t.iterator[e.method];if(a===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=i,E(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=x(a,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,g;var r=n.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=i),e.delegate=null,g):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function $(t){if(t){var e=t[o];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function e(){while(++a<t.length)if(n.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=i,e.done=!0,e};return r.next=r}}return{next:z}}function z(){return{value:i,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a780:function(t,e,i){"use strict";var a=i("266a"),n=i.n(a);n.a},b4ad:function(t,e,i){var a=i("c972");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("1fcfdf11",a,!0,{sourceMap:!1,shadowMode:!1})},bf63:function(t,e,i){"use strict";i.r(e);var a=i("524d"),n=i("db71");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("1d5b");var o,c=i("f0c5"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"2fcf478c",null,!1,a["a"],o);e["default"]=s.exports},c972:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.serviceIn[data-v-2fcf478c]{padding-bottom:%?100?%}.serviceIn .from[data-v-2fcf478c]{padding:%?30?% %?30?% 0}.serviceIn .from .title[data-v-2fcf478c]{font-size:%?32?%;font-weight:700;color:#333}.serviceIn .from .fromItem[data-v-2fcf478c]{display:flex;height:%?110?%;line-height:%?110?%;border-bottom:%?1?% solid #eee}.serviceIn .from .fromItem .fromName[data-v-2fcf478c]{width:%?172?%;font-size:%?28?%;color:#333}.serviceIn .from .fromItem .fromContent[data-v-2fcf478c]{flex:1}.serviceIn .from .fromItem .fromContent .inputs[data-v-2fcf478c]{font-size:%?28?%;height:%?110?%;line-height:%?110?%;width:100%;text-align:right}.serviceIn .from .fromItem .fromContent .inputLeft[data-v-2fcf478c]{font-size:%?28?%;height:%?110?%;line-height:%?110?%;width:100%;text-align:left}.serviceIn .from .fromItem .fromContent .check-item[data-v-2fcf478c]{padding:0 %?10?%;border-radius:%?10?%;background-color:#f44;color:#fff;height:%?40?%;line-height:%?40?%;text-align:center;display:inline-block;margin-right:%?10?%;margin-bottom:%?10?%;position:relative}.serviceIn .from .fromItem .fromContent .check-item uni-image[data-v-2fcf478c]{width:%?30?%;height:%?30?%;margin-top:%?5?%;vertical-align:top;margin-left:%?10?%}.serviceIn .from .fromItem .textbox[data-v-2fcf478c]{width:%?116?%;border-left:%?1?% solid #eee;margin:%?20?% 0;line-height:%?70?%}.serviceIn .workingPhoto[data-v-2fcf478c]{padding:%?30?%}.serviceIn .workingPhoto .imgs[data-v-2fcf478c]{padding:%?30?% 0;display:flex;flex-wrap:wrap;align-content:flex-center;align-items:center;justify-content:left}.serviceIn .workingPhoto .imgs .img-item[data-v-2fcf478c]{height:%?158?%;border-radius:%?20?%;flex:auto;margin:%?10?%;width:%?158?%;min-width:%?158?%;max-width:%?158?%;position:relative}.serviceIn .workingPhoto .imgs .img-item uni-image[data-v-2fcf478c]{width:100%;height:100%;border-radius:%?20?%}.serviceIn .workingPhoto .imgs .img-item .imgclise[data-v-2fcf478c]{width:%?30?%;height:%?30?%;position:absolute;right:%?10?%;top:%?10?%}.serviceIn .line[data-v-2fcf478c]{height:%?20?%;background-color:#f8f8f8}.serviceIn .addTag[data-v-2fcf478c]{padding:%?30?%}.serviceIn .addTag .tag[data-v-2fcf478c]{padding:%?30?% 0}.serviceIn .addTag .tag .tag-item[data-v-2fcf478c]{padding:0 %?70?% 0 %?30?%;height:%?50?%;line-height:%?50?%;font-size:%?24?%;color:#333;border:%?1?% solid #707070;border-radius:%?60?%;display:inline-block;position:relative;margin-right:%?30?%;margin-bottom:%?20?%}.serviceIn .addTag .tag .tag-item .icong[data-v-2fcf478c]{position:absolute;right:%?20?%;top:%?-5?%;font-weight:700}.serviceIn .addTag .tag .addbtn[data-v-2fcf478c]{font-size:%?20?%;width:%?50?%;background:linear-gradient(1turn,#6096fd,#6ea6fd);height:%?50?%;line-height:%?50?%;border-radius:50%;text-align:center;color:#fff;display:inline-block}.serviceIn .issue[data-v-2fcf478c]{width:%?750?%;height:%?90?%;background:linear-gradient(1turn,#6094fd,#70a8fd);line-height:%?90?%;position:fixed;bottom:0;left:0;text-align:center;font-size:%?32?%;color:#fff;font-weight:700;border-radius:%?30?% %?30?% 0 0}.serviceIn .addbox[data-v-2fcf478c]{width:%?630?%;padding:%?30?%;background-color:#fff;border-radius:%?20?%;box-sizing:border-box}.serviceIn .addbox .addinput[data-v-2fcf478c]{padding:%?30?%;border:%?1?% solid #eee;border-radius:%?20?%}.serviceIn .addbox .addinput .input[data-v-2fcf478c]{font-size:%?28?%}.serviceIn .addbox .btnbox .btnleft[data-v-2fcf478c]{flex:1;margin:%?30?% %?30?% 0 0;height:%?60?%;line-height:%?60?%;text-align:center;border-radius:%?60?%;background-color:#fff;border:%?1?% solid #eee;color:#333}.serviceIn .addbox .btnbox .btnright[data-v-2fcf478c]{flex:1;margin:%?30?% %?0?% 0 %?30?%;background-color:#f44;height:%?60?%;line-height:%?60?%;text-align:center;border-radius:%?60?%;color:#fff}.serviceIn .cicupation[data-v-2fcf478c]{width:%?750?%;height:%?550?%;padding:%?30?%;box-sizing:border-box;background-color:#fff;border-radius:%?30?% %?30?% 0 0;display:flex}.serviceIn .cicupation .cicupation-left[data-v-2fcf478c]{padding-right:%?10?%;height:%?450?%;flex:1;overflow:auto}.serviceIn .cicupation .cicupation-left .left-item[data-v-2fcf478c]{line-height:%?60?%;font-size:%?26?%;text-align:center;background-color:#f44;color:#fff;border-bottom:%?1?% solid #eee;border-radius:%?15?%;margin-bottom:%?20?%;font-weight:700}.serviceIn .cicupation .cicupation-left .left-nocheck[data-v-2fcf478c]{line-height:%?60?%;font-size:%?26?%;text-align:center;background-color:#f8f8f8;border-bottom:%?1?% solid #eee;border-radius:%?15?%;margin-bottom:%?20?%}.serviceIn .cicupation .cicupation-right[data-v-2fcf478c]{flex:1;padding-left:%?10?%;height:%?450?%;overflow:auto}.serviceIn .cicupation .cicupation-right .right-item[data-v-2fcf478c]{line-height:%?60?%;font-size:%?26?%;text-align:center;background-color:#f44;border-bottom:%?1?% solid #eee;border-radius:%?15?%;margin-bottom:%?20?%;color:#fff}.serviceIn .cicupation .cicupation-right .right-nocheck[data-v-2fcf478c]{line-height:%?60?%;font-size:%?26?%;text-align:center;background-color:#f8f8f8;border-bottom:%?1?% solid #eee;border-radius:%?15?%;margin-bottom:%?20?%}.serviceIn .district[data-v-2fcf478c]{width:%?750?%;height:%?550?%;padding:%?30?%;box-sizing:border-box;border-radius:%?30?% %?30?% 0 0;background-color:#fff}.serviceIn .district .district-item[data-v-2fcf478c]{height:%?50?%;line-height:%?50?%;padding:0 %?20?%;margin-right:%?10?%;margin-bottom:%?10?%;text-align:center;font-size:%?28?%;color:#fff;border-radius:%?10?%;background-color:#f44;display:inline-block}.serviceIn .district .district-nocheck[data-v-2fcf478c]{height:%?50?%;line-height:%?50?%;padding:0 %?20?%;margin-right:%?10?%;margin-bottom:%?10?%;text-align:center;font-size:%?28?%;color:#333;border-radius:%?10?%;background-color:#f8f8f8;display:inline-block}',""]),t.exports=e},db71:function(t,e,i){"use strict";i.r(e);var a=i("4661"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},dde5:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".diy-tabbar[data-v-e1dd56ac]{border-color:rgba(0,0,0,.33);position:fixed;z-index:9999;height:%?130?%;left:0;background-color:#fff;color:#6e6d6b;bottom:0;width:100%;display:flex}.tabbar-item[data-v-e1dd56ac]{display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;font-size:0;color:#6e6d6b;text-align:center;z-index:5;padding-bottom:%?30?%}.tabbar-severImg[data-v-e1dd56ac]{width:%?84?%;height:%?84?%;position:relative;top:%?-20?%}.tabbar-item .tabbar-item-icon[data-v-e1dd56ac]{font-size:%?44?%}.tabbar-item.item-on[data-v-e1dd56ac]{\n\t/* color: #fd4a5f; */}.tabbar-item .image[data-v-e1dd56ac]{display:inline-block;width:%?100?%;height:%?100?%}.tabbat-item-text[data-v-e1dd56ac]{padding-top:0;padding-bottom:0;font-size:%?20?%;line-height:1.8;text-align:center}.navstyle-image[data-v-e1dd56ac]{width:%?60?%;height:%?60?%;background-repeat:no-repeat;background-size:%?60?% %?60?%;display:block;margin:0 auto}.navstyle-3-item[data-v-e1dd56ac]{padding:%?10?% 0}",""]),t.exports=e}}]);