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
27 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPages2-homemaking-postDemand-postDemand"],{"1374e":function(t,e,n){var a=n("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/* 文章场景相关 */.postDemand[data-v-4ad4774f]{padding-bottom:%?100?%}.postDemand .line[data-v-4ad4774f]{height:%?20?%;background-color:#f8f8f8}.postDemand .requirement[data-v-4ad4774f]{padding:%?30?%}.postDemand .requirement .text[data-v-4ad4774f]{padding:%?20?% 0}.postDemand .requirement .text .textarea[data-v-4ad4774f]{width:100%;height:%?160?%;font-size:%?28?%}.postDemand .issue[data-v-4ad4774f]{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}.postDemand .uploading[data-v-4ad4774f]{padding:%?30?%}.postDemand .uploading .imgs[data-v-4ad4774f]{padding:%?30?% 0;display:flex;flex-wrap:wrap;align-content:flex-center;align-items:center;justify-content:left}.postDemand .uploading .imgs .img-item[data-v-4ad4774f]{height:%?158?%;border-radius:%?20?%;flex:auto;margin:%?10?%;width:%?158?%;min-width:%?158?%;max-width:%?158?%;position:relative}.postDemand .uploading .imgs .img-item uni-image[data-v-4ad4774f]{width:100%;height:100%;border-radius:%?20?%}.postDemand .uploading .imgs .img-item .imgclise[data-v-4ad4774f]{width:%?30?%;height:%?30?%;position:absolute;right:%?10?%;top:%?10?%}.postDemand .formItem[data-v-4ad4774f]{padding:0 %?30?%}.postDemand .formItem .menu-item[data-v-4ad4774f]{display:flex;padding:%?30?% 0;border-bottom:%?1?% solid #eee}.postDemand .formItem .menu-item .menu-name[data-v-4ad4774f]{font-size:%?28?%;color:#333;width:%?130?%;padding-right:%?50?%}.postDemand .formItem .menu-item .menu-content[data-v-4ad4774f]{font-size:%?28?%;color:#333}.postDemand .formItem .menu-item .menu-content .menu-input[data-v-4ad4774f]{height:100%;font-size:%?28?%}.postDemand .p-t-30[data-v-4ad4774f]{padding-top:%?30?%}',""]),t.exports=e},"1da1":function(t,e,n){"use strict";function a(t,e,n,a,i,o,r){try{var s=t[o](r),l=s.value}catch(u){return void n(u)}s.done?e(l):Promise.resolve(l).then(a,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function s(t){a(r,i,o,s,l,"next",t)}function l(t){a(r,i,o,s,l,"throw",t)}s(void 0)}))}}n("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=i},"266a":function(t,e,n){var a=n("dde5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("26196458",a,!0,{sourceMap:!1,shadowMode:!1})},"2f88":function(t,e,n){"use strict";n.r(e);var a=n("4a58"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"33ef":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.TabBarsData?n("v-uni-view",[n("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 n("v-uni-view",{key:a,staticClass:"tabbar-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onTabItem(e.linkurl,e.name,a)}}},["1"===t.TabBarsData.params.navstyle?n("v-uni-view",[n("v-uni-image",{staticClass:"image",attrs:{src:e.imgurl}})],1):t._e(),"0"===t.TabBarsData.params.navstyle?n("v-uni-view",["pages/subPages2/homemaking/postDemand/postDemand"==e.page_path?n("v-uni-view",{staticClass:"tabbar-sever"},[n("v-uni-image",{staticClass:"tabbar-severImg",attrs:{src:t.imgfixUrls+"homemakingImg/enterCheck.png",mode:""}})],1):n("v-uni-view",[n("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}),n("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?n("v-uni-view",{staticClass:"navstyle-3-item"},[n("v-uni-view",{staticClass:"navstyle-image",style:{"background-image":t.current===a?"url("+e.select_img+")":"url("+e.default_img+")"}}),n("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()},o=[]},"3c24":function(t,e,n){"use strict";n.r(e);var a=n("58fc"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"4a58":function(t,e,n){"use strict";var a=n("4ea4");n("d81d"),n("a434"),n("a9e3"),n("ac1f"),n("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var i=a(n("1da1")),o=a(n("2c7c")),r=a(n("fbf7")),s=a(n("ec93")),l=a(n("8f6e")),u=a(n("6f85")),c=a(n("089d")),d=a(n("63bd")),f={data:function(){return{index:0,visible:!1,isOpenLaction:!1,time:"",site:"",pospt:{label:"title",value:"id",children:"list"},Arr:[],visibletimeone:!1,localIds:null,uploadlength:0,imglinks:[],phoneHight:null,phoneWidth:null,phone:"",latlngs:{},loadlogo:!1,uesrInfo:{},editorText:"",lng:"",lat:"",categoryText:"",pageId:0,userInfo:{},lblis:{},upimg:!1,popShow:!1,vxshow:!1}},onLoad:function(t){var e=this;e.pageId=t.id,e.latlngs=uni.getStorageSync("curLoction"),e.uesrInfo=uni.getStorageSync("userinfo"),uni.getSystemInfo({success:function(t){console.log(t),e.phoneHight=t.windowHeight+"px",e.phoneWidth=t.windowWidth+"px"}})},onShow:function(){var t=this;window.addEventListener("message",(function(e){var n=e.data;n&&"locationPicker"==n.module&&({lat:n.latlng.lat,lng:n.latlng.lng,detailed_address:n.poiaddress},t.site=n.poiaddress,t.lat=n.latlng.lat,t.lng=n.latlng.lng,t.isOpenLaction=!1)}),!1),t.upimg?t.upimg=!1:t.getTypeinitialize(t.pageId)},components:{wPicker:r.default,PopManager:l.default,TabBars:u.default,PhoneMask:c.default,getvxphone:d.default},methods:{showFalse:function(t){console.log("进了showfalse"),this.vxshow=!1,t&&this.getTypeinitialize(this.pageId)},closePop:function(t){var e=this;e.popShow=!1,t&&e.getTypeinitialize(this.pageId)},onConfirm:function(t){var e=this;console.log(t),this.categoryId=t.value[1],this.Arr.map((function(n,a){n.id==t.value[0]&&n.list.map((function(n,a){n.id==t.value[1]&&(e.categoryText=n.title)}))}))},getTimeData:function(t){var e=new Date(Number(t)),n=e.getFullYear()+"-",a=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",i=e.getDate()+" ",o=e.getHours()+":",r=e.getMinutes();e.getSeconds();return{label:n+a+i+o+r}},getDataTime:function(t){var e;e=t.replace(/-/g,"/");var n=new Date(e),a=n.getTime()/1e3;return a},issueclick:function(){var t=this,e=this;if(e.time)if(e.site){var n={visitingtime:e.getDataTime(e.time),thumbs:e.imglinks,detail:e.editorText,lng:e.lng,lat:e.lat,type:e.categoryId,address:e.site,mobile:e.phone};console.log(n);var a={id:this.pageId},i=JSON.stringify(n),r=new this.$util.Base64;i=r.encode(i),a.demandinfo=i,o.default._post_form("&p=housekeep&do=editDemandApi",a,(function(e){console.log(e),t.pageId||!e.data.orderid?o.default.navigationTo({url:"pages/subPages2/homemaking/myDemand/myDemand",navType:"reLaunch"}):o.default.navigationTo({url:"pages/mainPages/payment/payment?orderid="+e.data.orderid+"&plugin=housekeep",navType:"reLaunch"})}),!1,(function(){}))}else uni.showToast({title:"具体地址不能为空",icon:"none"});else uni.showToast({title:"上门时间不能为空",icon:"none"})},getTypeinitialize:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this;o.default._post_form("&p=housekeep&do=editDemandPage",{id:e},(function(a){n.Arr=a.data.cate,n.categoryText=n.Arr[0].list[0].title,n.categoryId=n.Arr[0].list[0].id;var i=a.data.demand;e&&(n.Arr.map((function(n,a){n.list.map((function(n,a){n.id==e&&(t.categoryText=n.title)}))})),n.time=n.getTimeData(1e3*i.visitingtime).label,n.site=i.address,n.lat=i.lat,n.lng=i.lng,n.editorText=i.detail,n.imglinks=i.thumbs),n.phone=i.mobile,console.log(a)}),(function(t){"认证后才能发布需求"==t.data.message&&o.default.navigationTo({url:"pages/subPages/attestationCenter/index?rzType=1&type=1",navType:"reLaunch"}),"未绑定手机号"==t.data.message&&(n.popShow=!0)}))},goLocation:function(){var t=this;t.upimg=!0,t.isOpenLaction=!0},deletImg:function(t){this.imglinks.splice(t,1)},openTime:function(){this.visibletimeone=!0},openlink:function(){this.visible=!0},Change:function(t){console.log(t),this.index=t.detail.value},bindTimeChangeStar:function(t){console.log(t),this.time=t.result},onCancel:function(){},uplodephone:function(t,e){var n=this;s.default.uoloadIg(e[t],(function(e){if("uploadImage:ok"===e.errMsg){uni.showLoading({});var a={upload_type:2,id:e.serverId};o.default._post_form("&do=uploadFiles",a,(function(e){if(0===e.errno){var a=t+1;n.imglinks.push(e.data.img),a<n.uploadlength&&uni.setTimeout(n.uplodephone(a,n.localIds),500)}}),!1,(function(){uni.hideLoading()}))}else uni.hideLoading(),o.default.showError("上传失败")}))},uploadFiles:function(t,e){var n=this;return(0,i.default)(regeneratorRuntime.mark((function a(){var i,r,l,u;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i=n,i.upimg=!0,2!=o.default.getClientType()){a.next=16;break}return a.next=5,o.default.browser_upload(e);case 5:r=a.sent,l=0;case 7:if(!(l<r.tempFilePaths.length)){a.next=15;break}return a.next=10,o.default._upLoad(r.tempFilePaths[l]);case 10:u=a.sent,2==t&&(i.imglinks.push(u.data.img),console.log(i.imglinks,u.data.img));case 12:l++,a.next=7;break;case 15:return a.abrupt("return");case 16:s.default.choseImage((function(t){i.localIds=t.localIds,i.uploadlength=t.localIds.length,i.uplodephone(0,i.localIds)}),5);case 17:case"end":return a.stop()}}),a)})))()}}};e.default=f},"58fc":function(t,e,n){"use strict";var a=n("4ea4");n("99af"),n("c740"),n("caad"),n("c975"),n("a9e3"),n("ac1f"),n("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("2c7c")),o={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 n=e.model,a=["iPhone10,3","iPhone10,6","iPhone11,8","iPhone11,2","iPhone11,6"];t.isPadding=a.includes(n)||-1!==n.indexOf("iPhone X")||-1!==n.indexOf("iPhone12")}}),t.getbtmNavBar()},methods:{onTabItem:function(t,e,n){if(uni.setStorageSync("tabbarindex",n),-1!=t.indexOf("indet"))return i.default.navigationToH5(!1,"".concat(i.default.base,"#/").concat(t)),void window.location.reload();i.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 n=getCurrentPages(),a=n[n.length-1],o=a.route||a.__route__,r=[],s=!1;for(var l in r=t.menu.data,r)r[l].page_path.split("?")[0]==o&&(s=!0);s||(uni.removeStorageSync("tabbarindex"),t.current=0)}else i.default._post_form("&do=BottomMenu",e,(function(e){t.setData({menu:e.data.data});var n=getCurrentPages(),a=n[n.length-1],i=a.route||a.__route__,o=[],r=!1;for(var s in o=t.menu.data,o)o[s].page_path.split("?")[0]==i&&(r=!0);r||(uni.removeStorageSync("tabbarindex"),t.current=0)}))}},computed:{TabBarsData:function(){var t,e=getCurrentPages(),n=e[e.length-1],a=n.route||n.__route__,i={data:this.tabBarData&&this.tabBarData.length>0?this.tabBarData:this.menu},o=n.$mp.query;if(i.data){var r=[];for(var s in i.data.data)r.push(i.data.data[s]);return"pages/mainPages/index/diypage"===a?(a=a+"?i="+o.i+(o["aid"]?"&aid="+o["aid"]:"")+(o["id"]?"&id="+o["id"]:"")+"&type="+o["type"],t=r.findIndex((function(t){return t.linkurl===a})),this.current=t):(t=r.findIndex((function(t){return t.linkurl.split("?")[0]===a})),this.current=t),i.data.data=r,i.data}}}};e.default=o},"6f85":function(t,e,n){"use strict";n.r(e);var a=n("33ef"),i=n("3c24");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("a780");var r,s=n("f0c5"),l=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"e1dd56ac",null,!1,a["a"],r);e["default"]=l.exports},"91fa":function(t,e,n){var a=n("1374e");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("9c818fec",a,!0,{sourceMap:!1,shadowMode:!1})},"96cf":function(t,e){!function(e){"use strict";var n,a=Object.prototype,i=a.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",u="object"===typeof t,c=e.regeneratorRuntime;if(c)u&&(t.exports=c);else{c=e.regeneratorRuntime=u?t.exports:{},c.wrap=w;var d="suspendedStart",f="suspendedYield",p="executing",v="completed",h={},g={};g[r]=function(){return this};var m=Object.getPrototypeOf,y=m&&m(m(O([])));y&&y!==a&&i.call(y,r)&&(g=y);var b=C.prototype=_.prototype=Object.create(g);k.prototype=b.constructor=C,C.constructor=k,C[l]=k.displayName="GeneratorFunction",c.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(b),t},c.awrap=function(t){return{__await:t}},T(D.prototype),D.prototype[s]=function(){return this},c.AsyncIterator=D,c.async=function(t,e,n,a){var i=new D(w(t,e,n,a));return c.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},T(b),b[l]="Generator",b[r]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var a=e.pop();if(a in t)return n.value=a,n.done=!1,n}return n.done=!0,n}},c.values=O,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},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,i){return s.type="throw",s.arg=t,e.next=a,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],s=r.completion;if("root"===r.tryLoc)return a("end");if(r.tryLoc<=this.prev){var l=i.call(r,"catchLoc"),u=i.call(r,"finallyLoc");if(l&&u){if(this.prev<r.catchLoc)return a(r.catchLoc,!0);if(this.prev<r.finallyLoc)return a(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return a(r.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return a(r.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var r=o?o.completion:{};return r.type=t,r.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(r)},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),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var a=n.completion;if("throw"===a.type){var i=a.arg;P(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:O(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=n),h}}}function w(t,e,n,a){var i=e&&e.prototype instanceof _?e:_,o=Object.create(i.prototype),r=new S(a||[]);return o._invoke=I(t,n,r),o}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(a){return{type:"throw",arg:a}}}function _(){}function k(){}function C(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function D(t){function e(n,a,o,r){var s=x(t[n],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,r)}),(function(t){e("throw",t,o,r)})):Promise.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return e("throw",t,o,r)}))}r(s.arg)}var n;function a(t,a){function i(){return new Promise((function(n,i){e(t,a,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=a}function I(t,e,n){var a=d;return function(i,o){if(a===p)throw new Error("Generator is already running");if(a===v){if("throw"===i)throw o;return B()}n.method=i,n.arg=o;while(1){var r=n.delegate;if(r){var s=E(r,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=p;var l=x(t,e,n);if("normal"===l.type){if(a=n.done?v:f,l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function E(t,e){var a=t.iterator[e.method];if(a===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,E(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=x(a,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function L(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 P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function O(t){if(t){var e=t[r];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function e(){while(++a<t.length)if(i.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:B}}function B(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a780:function(t,e,n){"use strict";var a=n("266a"),i=n.n(a);i.a},aaf6:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={wPicker:n("fbf7").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"postDemand"},[n("v-uni-view",{staticClass:"formItem"},[n("v-uni-view",{staticClass:"f-w col-3 f-32 p-t-30"},[t._v("基础信息")]),n("v-uni-view",{staticClass:"menu-item"},[n("v-uni-view",{staticClass:"menu-name"},[t._v("需求类型"),n("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),n("v-uni-view",{staticClass:"menu-content flex-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openlink.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.categoryText))])],1),n("v-uni-view",{staticClass:" t-r iconfont icon-right",staticStyle:{"font-size":"24upx",color:"#333333"}})],1),n("v-uni-view",{staticClass:"menu-item"},[n("v-uni-view",{staticClass:"menu-name"},[t._v("上门时间"),n("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),t.time?n("v-uni-view",{staticClass:"menu-content flex-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openTime.apply(void 0,arguments)}}},[n("v-uni-input",{staticClass:"menu-input",attrs:{type:"text",disabled:!0,value:""},model:{value:t.time,callback:function(e){t.time=e},expression:"time"}})],1):n("v-uni-view",{staticClass:"menu-content flex-box col-9",staticStyle:{color:"#999999"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openTime.apply(void 0,arguments)}}},[t._v("请选择上门时间")]),n("v-uni-view",{staticClass:" t-r iconfont icon-right",staticStyle:{"font-size":"24upx",color:"#333333"}})],1),n("v-uni-view",{staticClass:"menu-item"},[n("v-uni-view",{staticClass:"menu-name"},[t._v("具体地址"),n("v-uni-text",{staticClass:"f-20 c-ff4444"},[t._v("*")])],1),t.site?n("v-uni-view",{staticClass:"menu-content flex-box",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLocation.apply(void 0,arguments)}}},[n("v-uni-input",{staticClass:"menu-input",attrs:{type:"text",disabled:!0,value:""},model:{value:t.site,callback:function(e){t.site=e},expression:"site"}})],1):n("v-uni-view",{staticClass:"menu-content flex-box col-9",staticStyle:{color:"#999999"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLocation.apply(void 0,arguments)}}},[t._v("请选择具体地址")]),n("v-uni-view",{staticClass:" t-r",staticStyle:{"font-size":"24upx",color:"#FF4444","border-left":"1upx solid #EEEEEE",width:"100upx"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goLocation.apply(void 0,arguments)}}},[t._v("定位")])],1),n("v-uni-view",{staticClass:"menu-item",staticStyle:{border:"none"}},[n("v-uni-view",{staticClass:"menu-name"},[t._v("联系方式")]),n("v-uni-view",{staticClass:"menu-content flex-box"},[n("v-uni-input",{staticClass:"menu-input",attrs:{type:"number",maxlength:"11",placeholder:"填写后服务商可直接通过电话联系您",value:""},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1)],1)],1),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"requirement"},[n("v-uni-view",{staticClass:"f-w f-32 col-3"},[t._v("需求说明")]),n("v-uni-view",{staticClass:"text"},[n("v-uni-textarea",{staticClass:"textarea",attrs:{placeholder:"请输入需求说明"},model:{value:t.editorText,callback:function(e){t.editorText=e},expression:"editorText"}})],1)],1),n("v-uni-view",{staticClass:"line"}),n("v-uni-view",{staticClass:"uploading"},[n("v-uni-view",{staticClass:"f-w f-32 col-3"},[t._v("上传照片")]),n("v-uni-view",{staticClass:"col-9 f-24",staticStyle:{"padding-top":"20upx"}},[t._v("(上传照片,最多上传5张照片)")]),n("v-uni-view",{staticClass:"imgs"},[t._l(t.imglinks,(function(e,a){return n("v-uni-view",{key:a,staticClass:"img-item"},[n("v-uni-image",{attrs:{src:e,mode:""}}),n("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(a)}}})],1)})),t.imglinks.length<5?n("v-uni-view",{staticClass:"img-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadFiles(2,6)}}},[n("v-uni-image",{attrs:{src:t.imgfixUrls+"homemakingImg/upload.png",mode:""}})],1):t._e()],2)],1),n("v-uni-view",{staticClass:"issue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.issueclick.apply(void 0,arguments)}}},[t._v("发布需求")]),n("w-picker",{ref:"time",attrs:{visible:t.visibletimeone,mode:"date",fields:"minute",value:t.time,current:!1,second:!1},on:{"update:visible":function(e){arguments[0]=e=t.$handleEvent(e),t.visibletimeone=e},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTimeChangeStar(e)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.onCancel.apply(void 0,arguments)}}}),n("w-picker",{ref:"linkage",attrs:{visible:t.visible,mode:"linkage",value:"94",options:t.Arr,level:2,"default-type":"id","default-props":t.pospt},on:{"update:visible":function(e){arguments[0]=e=t.$handleEvent(e),t.visible=e},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.onConfirm(e,"linkage")}}}),n("PopManager",{attrs:{show:t.isOpenLaction,type:"bottom",overlay:"false",showOverlay:"false"}},[t.latlngs.latitude?n("v-uni-view",{staticClass:"iframe-wid-hgt",style:{height:t.phoneHight,width:t.phoneWidth}},[n("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():n("v-uni-view",{staticClass:"iframe-wid-hgt",style:{height:t.phoneHight,width:t.phoneWidth}},[n("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),n("PhoneMask",{attrs:{show1:t.popShow},on:{clickmask1:function(e){arguments[0]=e=t.$handleEvent(e),t.closePop.apply(void 0,arguments)}}}),n("getvxphone",{attrs:{show:t.vxshow},on:{showFalse:function(e){arguments[0]=e=t.$handleEvent(e),t.showFalse.apply(void 0,arguments)}}})],1)},o=[]},c167:function(t,e,n){"use strict";var a=n("91fa"),i=n.n(a);i.a},dde5:function(t,e,n){var a=n("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},fd28:function(t,e,n){"use strict";n.r(e);var a=n("aaf6"),i=n("2f88");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("c167");var r,s=n("f0c5"),l=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"4ad4774f",null,!1,a["a"],r);e["default"]=l.exports}}]);