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

!function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e){t.exports={".box-shadow":{"":{MozBoxShadow:["2px 2px 10px rgba(150, 150, 150, 0.2)",0,0,0],WebkitBoxShadow:["2px 2px 10px rgba(150, 150, 150, 0.2)",0,0,0],boxShadow:["2px 2px 10px rgba(150, 150, 150, 0.2)",0,0,0]}},".row":{"":{display:["flex",0,0,1],flexDirection:["row",0,0,1]}},".column":{"":{display:["flex",0,0,2],flexDirection:["column",0,0,2]}},".oneline":{"":{lines:[1,0,0,4],textOverflow:["ellipsis",0,0,4],overflow:["hidden",0,0,4],WebkitLineClamp:[1,0,0,4],WebkitBoxOrient:["vertical",0,0,4],whiteSpace:["pre-wrap",0,0,4],wordWrap:["break-word",0,0,4]}},".twoline":{"":{lines:[2,0,0,5],textOverflow:["ellipsis",0,0,5],overflow:["hidden",0,0,5],WebkitLineClamp:[2,0,0,5],WebkitBoxOrient:["vertical",0,0,5],whiteSpace:["pre-wrap",0,0,5],wordWrap:["break-word",0,0,5]}},".uni-mask":{"":{position:["fixed",0,0,10],zIndex:[999,0,0,10],width:[100,0,0,10],height:[100,0,0,10],top:[0,0,0,10],right:[0,0,0,10],bottom:[0,0,0,10],left:[0,0,0,10],backgroundColor:["rgba(0,0,0,0.1)",0,0,10],display:["flex",0,0,10],alignItems:["center",0,0,10],justifyContent:["center",0,0,10]}},".text-main":{"":{color:["#1E1E1E",0,0,11],fontSize:["14",0,0,11],fontWeight:["bold",0,0,11],position:["relative",0,0,11],"backgroundColor::after":["#FE6422",0,0,13],"height::after":["2",0,0,13],"width::after":["28",0,0,13],"borderRadius::after":["2",0,0,13],"content::after":['""',0,0,13],"position::after":["absolute",0,0,13],"left::after":[0,0,0,13],"right::after":[0,0,0,13],"bottom::after":["-5",0,0,13],"marginTop::after":[0,0,0,13],"marginBottom::after":[0,0,0,13]}},".text-light-muted":{"":{color:["#4A4A4A",0,0,12],fontSize:["14",0,0,12]}},"@VERSION":2}},function(t,e,i){"use strict";function s(t,e,i,s,n,a,o,r,c,l){var p,d="function"==typeof t?t.options:t;if(c){d.components||(d.components={});var u=Object.prototype.hasOwnProperty;for(var f in c)u.call(c,f)&&!u.call(d.components,f)&&(d.components[f]=c[f])}if(l&&((l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),s&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),o?(p=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=p):n&&(p=r?function(){n.call(this,this.$root.$options.shadowRoot)}:n),p)if(d.functional){d._injectStyles=p;var g=d.render;d.render=function(t,e){return p.call(e),g(t,e)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,p):[p]}return{exports:t,options:d}}i.d(e,"a",(function(){return s}))},function(t,e,i){"use strict";var s=i(17),n=i(5),a=i(1);var o=Object(a.a)(n.default,s.b,s.c,!1,null,null,"7fb96fe5",!1,s.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(26).default,this.options.style):Object.assign(this.options.style,i(26).default)}).call(o),e.default=o.exports},,function(t,e,i){"use strict";function s(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function n(){return"string"==typeof __channelId__&&__channelId__}function a(t,e){switch(s(e)){case"Function":return"function() { [native code] }";default:return e}}Object.defineProperty(e,"__esModule",{value:!0}),e.log=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];console[t].apply(console,i)},e.default=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=e.shift();if(n())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var r=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,a)+"---END:JSON---"}catch(i){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=s(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(r.length>1){var l=r.pop();c=r.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=r[0];console[o](c)}},function(t,e,i){"use strict";var s=i(6),n=i.n(s);e.default=n.a},function(t,e,i){"use strict";(function(t,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i(29)),a=o(i(30));function o(t){return t&&t.__esModule?t:{default:t}}var r=t("bindingx"),c=new(i(31).AMapWX)({key:getApp().globalData.GaoDeKey_amapkey}),l={components:{Transferorder:a.default,phoneinput:n.default},data:function(){return{showphoneCode:!1,AppdrapviewHeight:0,draptop:0,drapbottom:0,polyline:[],showorderview:!1,Transferorderbtn:"\u8f6c\u5355",Transferorder:"\u60a8\u4eca\u65e5\u8f6c\u5355\u6b21\u6570\u5df2\u8fbe\u4e0a\u9650\uff0c\u82e5\u7ee7\u7eed\u8f6c\u5355\u5c06\u88ab\u7981\u6b62\u4eca\u65e5\u63a5\u5355",safeAreaBottom:0,top:20,minheight:60,StartY:0,StartX:0,windowHeight:0,drapHeight:0,markers:[],distance:0,scale:16,longitude:"",latitude:"",platform:"",position:{y:0},oid:0,info:null,mylocation:{latitude:0,longitude:0}}},onShow:function(){this.finishedThumb()},mounted:function(){var t=this.getEl(this.$refs.drapview);r.bind({anchor:t,eventType:"pan",props:[{element:t,property:"transform.translateY",expression:"y+".concat(this.position.y)}]},(function(t){t.state}))},onLoad:function(t){this.oid=t.oid,this.mylocation=uni.getStorageSync("mylocation"),this.latitude=this.mylocation.latitude,this.longitude=this.mylocation.longitude,this.safeAreaBottom=getApp().globalData.safeAreaBottom+66,this.top=getApp().globalData.top,this.minheight=40,this.windowHeight=getApp().globalData.windowHeight-getApp().globalData.top-44,this.drapHeight=this.safeAreaBottom+100,this.drapbottom=this.safeAreaBottom,this.draptop=this.windowHeight/1.5},onReady:function(){s("log","onReady"," at pages/detailmap/index.nvue:420"),this.getdata()},methods:{cancleinput:function(){this.showphoneCode=!1},relaxcancle:function(){this.showorderview=!1},relaxsure:function(){var t=this;this.showorderview=!1,"\u786e\u5b9a"==this.Transferorderbtn?uni.navigateBack({delta:1}):this.sendRequest("Rider.Orders.Trans",{oid:this.info.id}).then((function(e){t.Transferorderbtn="\u786e\u5b9a",t.Transferorder="\u60a8\u7684\u8ba2\u5355\u5c06\u88ab\u8f6c\u5230\u540e\u53f0\u8fdb\u884c\u7533\u8bf7,\u8ba9\u914d\u9001\u7ad9\u8c03\u5ea6",t.showorderview=!0})).catch((function(t){uni.showToast({title:t.msg,icon:"none"})}))},RiderOrdersTrans:function(){var t=uni.getStorageSync("userinfo"),e=this;6!=this.info.status&&(uni.showLoading({title:"",mask:!1}),this.sendRequest("Rider.Orders.CheckTrans",{cityid:t.cityid}).then((function(t){1==parseInt(t.info[0].istip)?e.showorderview=!0:e.sendRequest("Rider.Orders.Trans",{oid:e.info.id}).then((function(t){e.Transferorderbtn="\u786e\u5b9a",e.Transferorder="\u60a8\u7684\u8ba2\u5355\u5c06\u88ab\u8f6c\u5230\u540e\u53f0\u8fdb\u884c\u7533\u8bf7,\u8ba9\u914d\u9001\u7ad9\u8c03\u5ea6",e.showorderview=!0})).catch((function(t){uni.showToast({title:t.msg,icon:"none"})}))})))},finishcode:function(t){uni.showLoading({title:"",mask:!1});var e=this;this.sendRequest("Rider.Orders.Complete",{oid:this.info.id,code:t},!0).then((function(t){s("log",t," at pages/detailmap/index.nvue:494"),e.getdata(),setTimeout((function(){uni.navigateBack({delta:1})}),1e3),e.showphoneCode=!1}))},serviceCompleted:function(){this.showphoneCode=!0},getdata:function(){var t=this;this.sendRequest("Rider.Orders.GetDetail",{oid:this.oid}).then((function(e){t.info=e.info[0],t.makeline()})).catch((function(t){uni.showToast({title:t.msg,icon:"none"}),setTimeout((function(){uni.navigateBack({delta:1})}),1e3)}))},StartService:function(){uni.navigateTo({url:"../uploadphoto/index"})},finishedThumb:function(){var t=this;uni.getStorage({key:"finishthumb",success:function(e){e.data.length>0&&(s("log","pppppppppppppppppppppppppp"," at pages/detailmap/index.nvue:538"),s("log",e," at pages/detailmap/index.nvue:539"),t.sendRequest("Rider.Orders.Start",{oid:t.info.id,thumbs:JSON.stringify(e.data)},!0).then((function(e){s("log",e," at pages/detailmap/index.nvue:544"),uni.setStorage({key:"finishthumb",data:""}),t.getdata()})).catch((function(t){uni.setStorage({key:"finishthumb",data:""})})))}})},connect:function(){var t=this;uni.getStorage({key:"Config",success:function(e){var i=t.decypt(e.data.service_url);uni.setStorage({key:"weburl",data:i,success:function(){uni.navigateTo({url:"../webview/index"})}})}})},previamge:function(t){uni.previewImage({current:t,urls:this.info.thumbs})},makeline:function(){var t,e,i=this;s("log",i.info," at pages/detailmap/index.nvue:587"),3==i.info.status&&(1==i.info.type||2==i.info.type||3==i.info.type)?(t=i.info.f_lat,e=i.info.f_lng,3==i.info.type&&""==i.info.f_lng&&(t=i.info.t_lat,e=i.info.t_lng)):(t=i.info.t_lat,e=i.info.t_lng),i.markers=[{iconPath:"../../static/image/qidianicon.png",id:1,latitude:i.latitude,longitude:i.longitude,width:40,height:40,coordType:"wgs84"},{iconPath:"../../static/image/zhongdianicon.png",id:2,latitude:t,longitude:e,width:40,height:40,coordType:"wgs84"}],setTimeout((function(){c.getRidingRoute({origin:i.longitude+","+i.latitude,destination:e+","+t,success:function(t){s("log","\u8def\u5f84\u89c4\u5212\u5b8c\u6210"," at pages/detailmap/index.nvue:632"),s("log","\u8ddd\u79bb\uff1a"+t.paths[0].distance," at pages/detailmap/index.nvue:633"),i.scale=i.scalesize(t.paths[0].distance);var e=0;e=t.paths[0].distance>1e3?i.fomatFloat(t.paths[0].distance/1e3,1)+"km":t.paths[0].distance+"m",i.info.myDistance=e;var n=parseFloat(t.paths[0].distance)+parseFloat(i.info.extra.distance);n>1e3?n=i.fomatFloat(n/1e3,1)+"km":n+="m",i.info.allDistance=n,s("log","mydistance\uff1a"+i.info.myDistance," at pages/detailmap/index.nvue:655"),s("log","allDistance\uff1a"+i.info.allDistance," at pages/detailmap/index.nvue:656");var a=[];if(t.paths&&t.paths[0]&&t.paths[0].rides)for(var o=t.paths[0].rides,r=0;r<o.length;r++)for(var c=o[r].polyline.split(";"),l=0;l<c.length;l++)a.push({longitude:parseFloat(c[l].split(",")[0]),latitude:parseFloat(c[l].split(",")[1])});i.polyline=[{points:a,color:"#FF4D29",width:6}]},fail:function(t){uni.hideLoading(),uni.showModal({title:"\u8def\u5f84\u89c4\u5212\u5931\u8d25,\u8bf7\u91cd\u65b0\u8fdb\u5165",content:"",showCancel:!1,cancelText:"",confirmText:"\u786e\u5b9a",success:function(t){},fail:function(){},complete:function(){}}),s("log",t," at pages/detailmap/index.nvue:699")}})}),0)},qudaohang:function(t,e,i){this.openLocation("__UNI__7350749",t,e,i)},openLocation:function(t,e,i,n){var a=this.wgs84togcj02(e,i);e=a[0],i=a[1],s("log",a," at pages/detailmap/index.nvue:712"),uni.openLocation({latitude:parseFloat(i),longitude:parseFloat(e),success:function(){s("log","success"," at pages/detailmap/index.nvue:717")},fail:function(t){s("log",t," at pages/detailmap/index.nvue:720")}})},getEl:function(t){return"string"==typeof t||"number"==typeof t?t:WXEnvironment?t.ref:t instanceof HTMLElement?t:t.$el},fomatFloat:function(t,e){var i=(Math.round(t*Math.pow(10,e))/Math.pow(10,e)).toString();i.indexOf(".")<0&&(i+=".");for(var s=i.length-i.indexOf(".");s<=e;s++)i+="0";return i},scalesize:function(t){return t>=1e6?3:t>=5e5&&t<1e6?5:t>=2e5&&t<5e5?7:t>=1e5&&t<2e5||t>=5e4&&t<1e5?9:t>=2e4&&t<5e4?11:t>=1e4&&t<2e4?12:13},back:function(){uni.navigateBack({delta:1})},touchStart:function(t){this.bindstart(t)},wgs84togcj02:function(t,e){var i=3.141592653589793,s=6378245,n=.006693421622965943,a=this.transformlat(t-105,e-35),o=this.transformlng(t-105,e-35),r=e/180*i,c=Math.sin(r);c=1-n*c*c;var l=Math.sqrt(c);return a=180*a/(s*(1-n)/(c*l)*i),[t+(o=180*o/(s/l*Math.cos(r)*i)),e+a]},transformlat:function(t,e){var i=3.141592653589793,s=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return s+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,s+=2*(20*Math.sin(e*i)+40*Math.sin(e/3*i))/3,s+=2*(160*Math.sin(e/12*i)+320*Math.sin(e*i/30))/3},transformlng:function(t,e){var i=3.141592653589793,s=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return s+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,s+=2*(20*Math.sin(t*i)+40*Math.sin(t/3*i))/3,s+=2*(150*Math.sin(t/12*i)+300*Math.sin(t/30*i))/3},bindstart:function(t){var e=this,i=this.getEl(this.$refs.drapview);r.bind({anchor:i,eventType:"pan",props:[{element:i,property:"transform.translateY",expression:"y+".concat(this.position.y)}]},(function(t){if("end"===t.state){if(!t.deltaY)return;e.position.y+=t.deltaY,uni.createSelectorQuery().in(e).select("#drapview").boundingClientRect((function(t){var s=0;e.position.y<0?t.bottom<e.windowHeight&&(s=-(e.position.y+t.height-e.windowHeight/3)):e.position.y>200&&(s=0-e.position.y);var n="easeInOutCubic(t,".concat(e.position.y,",").concat(s,",").concat(460,")");r.bind({eventType:"timing",exitExpression:"t>=".concat(460),props:[{element:i,property:"transform.translateY",expression:n}]},(function(t){"end"!==t.state&&"exit"!==t.state||(e.position.y+=s)}))})).exec()}}))},touchMove:function(t){},decypt:function(t){for(var e="",i="1ecxXyLRB.COdrAi:q09Z62ash-QGn8VFNIlb=fM/D74WjS_EUzYuw?HmTPvkJ3otK5gp&*",s=0;s<t.length;s++)for(var n=t[s],a=0;a<i.length;a++){n==i[a]&&(e+=0==a?i[i.length-1]:i[a-1])}return e},sendRequest:function(t,e,i){return new Promise((function(n,a){var o=uni.getStorageSync("userinfo"),r={};"ios"==uni.getSystemInfoSync().platform?r.source=2:r.source=1,o&&(r.uid=o.id,r.token=o.token,r.cityid=o.cityid),uni.request({url:getApp().globalData.mainurl+t,data:Object.assign(r,e),success:function(t){setTimeout((function(){uni.hideLoading()}),400),i&&uni.showToast({title:t.data.data.msg,icon:"none"}),200==t.data.ret?0==t.data.data.code?n(t.data.data):a(t.data.data):uni.showToast({title:t.data.msg,icon:"none"})},fail:function(t){s("log",t," at pages/detailmap/index.nvue:968"),uni.hideLoading()}})}))}}};e.default=l}).call(this,i(23).default,i(4).default)},function(t,e,i){"use strict";i.r(e);var s=i(8),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{focus1:!0,focus2:!1,focus3:!1,focus4:!1,num1:"",num2:"",num3:"",num4:""}},created:function(){},methods:{cancleinput:function(){this.$emit("cancleinput")},focusno:function(){if(1==this.num1.length&&1==this.num2.length&&1==this.num3.length&&1==this.num4.length){this.focus1=!1,this.focus2=!1,this.focus3=!1,this.focus4=!1;var t=String(this.num1)+String(this.num2)+String(this.num3)+String(this.num4);this.$emit("finishcode",t)}},codeinput1:function(t){this.num1=t.detail.value,1==this.num1.length&&(this.focus1=!1,this.focus2=!0),this.focusno()},codeinput2:function(e){t("log",e.detail.value," at components/phoneinput/index.nvue:60"),this.num2=e.detail.value,1==this.num2.length&&(this.focus1=!1,this.focus2=!1,this.focus3=!0),this.focusno()},codeinput3:function(t){this.num3=t.detail.value,1==this.num3.length&&(this.focus1=!1,this.focus2=!1,this.focus3=!1,this.focus4=!0),this.focusno()},codeinput4:function(t){this.num4=t.detail.value,1==this.num4.length&&(this.focus1=!1,this.focus2=!1,this.focus3=!1,this.focus4=!1),this.focusno()}}};e.default=i}).call(this,i(4).default)},function(t,e){t.exports={".cancle":{"":{position:["absolute",0,0,0],right:[0,0,0,0],width:["20",0,0,0],height:["20",0,0,0]}},".input":{"":{width:["52",0,0,1],height:["52",0,0,1],lineHeight:["20",0,0,1],textAlign:["center",0,0,1],borderRadius:["2",0,0,1],borderWidth:["1",0,0,1],borderStyle:["solid",0,0,1],borderColor:["rgba(232,232,232,1)",0,0,1],flexShrink:[0,0,0,1]}},".inputrow":{"":{marginTop:["30",0,0,2],width:["536rpx",0,0,2],marginLeft:["40rpx",0,0,2],height:["60",0,0,2]}},".codetext":{"":{color:["rgba(50,50,50,1)",0,0,3],fontSize:["14",0,0,3],height:["40",0,0,3],width:["496rpx",0,0,3],marginLeft:["40rpx",0,0,3],marginTop:["40",0,0,3]}},".codeview":{"":{width:["576rpx",0,0,4],height:["196",0,0,4],backgroundColor:["#FFFFFF",0,0,4],borderRadius:["8",0,0,4],marginBottom:["100",0,0,4]}},".uni-masks":{"":{position:["fixed",0,0,5],zIndex:[999,0,0,5],width:["750rpx",0,0,5],top:[0,0,0,5],right:[0,0,0,5],bottom:[0,0,0,5],left:[0,0,0,5],backgroundColor:["rgba(0,0,0,0.2)",0,0,5],display:["flex",0,0,5],alignItems:["center",0,0,5],justifyContent:["center",0,0,5]}},"@VERSION":2}},function(t,e,i){"use strict";i.r(e);var s=i(11),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={props:{title:{type:String,default:""},surebtntitle:{type:String,default:"\u8f6c\u5355"}},data:function(){return{windowheight:0}},created:function(){this.windowheight=getApp().globalData.windowHeight},methods:{cancle:function(){this.$emit("relaxcancle")},sure:function(){this.$emit("relaxsure")}}};e.default=s},function(t,e){t.exports={".uni-mask":{"":{position:["fixed",0,0,0],zIndex:[999,0,0,0],width:["750rpx",0,0,0],top:[0,0,0,0],right:[0,0,0,0],bottom:[0,0,0,0],left:[0,0,0,0],backgroundColor:["rgba(0,0,0,0.2)",0,0,0],display:["flex",0,0,0],alignItems:["center",0,0,0],justifyContent:["center",0,0,0]}},".canclebtn":{"":{width:["92",0,0,1],height:["42",0,0,1],lineHeight:["42",0,0,1],textAlign:["center",0,0,1],color:["#FFFFFF",0,0,1],borderRadius:["21",0,0,1],backgroundColor:["rgba(209,209,209,1)",0,0,1]}},".surebtn":{"":{position:["absolute",0,0,2],right:[0,0,0,2],width:["92",0,0,2],height:["42",0,0,2],lineHeight:["42",0,0,2],textAlign:["center",0,0,2],color:["#FFFFFF",0,0,2],borderRadius:["21",0,0,2],backgroundColor:["rgba(255,77,41,1)",0,0,2]}},".surebtn2":{"":{width:["92",0,0,3],height:["42",0,0,3],lineHeight:["42",0,0,3],textAlign:["center",0,0,3],color:["#FFFFFF",0,0,3],borderRadius:["21",0,0,3],backgroundColor:["rgba(255,77,41,1)",0,0,3]}},".inputrow":{"":{position:["relative",0,0,4],marginTop:["30",0,0,4],width:["454rpx",0,0,4],marginLeft:["60rpx",0,0,4],height:["60",0,0,4],alignItems:["center",0,0,4]}},".codetext":{"":{color:["rgba(50,50,50,1)",0,0,5],fontSize:["16",0,0,5],fontWeight:["bold",0,0,5],height:["50",0,0,5],width:["454rpx",0,0,5],marginLeft:["60rpx",0,0,5],marginTop:["40",0,0,5]}},".codeview":{"":{width:["574rpx",0,0,6],height:["196",0,0,6],backgroundColor:["#FFFFFF",0,0,6],borderRadius:["8",0,0,6]}},"@VERSION":2}},function(t,e){t.exports={".row":{"":{flexDirection:["row",0,0,1]}},".section1-image-yu":{"":{marginTop:["4",0,0,2],width:["28",0,0,2],height:["22",0,0,2],flexShrink:[0,0,0,2]}},".section1-shijian":{"":{marginTop:["8",0,0,3],width:["14",0,0,3],height:["14",0,0,3],marginLeft:["15",0,0,3],flexShrink:[0,0,0,3]}},".column":{"":{flexDirection:["column",0,0,4]}},".page":{"":{width:["750rpx",0,0,5],overflow:["hidden",0,0,5]}},".backimage":{"":{width:["36",0,0,6],height:["36",0,0,6],position:["absolute",0,0,6],marginLeft:["15",0,0,6]}},".map":{"":{width:["750rpx",0,0,7]}},".drapview":{"":{position:["fixed",0,0,8],backgroundColor:["#FFFFFF",0,0,8],width:["750rpx",0,0,8]}},".scroll":{"":{width:["750rpx",0,0,9],backgroundColor:["#FFFFFF",0,0,9]}},".peisongxinxi":{"":{color:["rgba(50,50,50,1)",0,0,10],fontSize:["18",0,0,10],fontWeight:["bold",0,0,10],marginLeft:["20rpx",0,0,10]}},".drapbtn":{"":{width:["750rpx",0,0,11],height:["30",0,0,11],backgroundColor:["#FFFFFF",0,0,11]}},".drapbtnline":{"":{marginTop:["10",0,0,12],marginLeft:["330rpx",0,0,12],width:["90rpx",0,0,12],height:["4",0,0,12],borderRadius:["2",0,0,12],backgroundColor:["#D9D9D9",0,0,12]}},".drapbtntext":{"":{marginTop:["10",0,0,13],width:["750rpx",0,0,13],textAlign:["center",0,0,13],height:["20",0,0,13],lineHeight:["20",0,0,13],color:["#646464",0,0,13],fontSize:["16",0,0,13]}},".cell":{"":{width:["720rpx",0,0,14],marginLeft:["15rpx",0,0,14],marginTop:["15",0,0,14],borderRadius:["8",0,0,14],backgroundColor:["#FFFFFF",0,0,14],overflow:["hidden",0,0,14]}},".section1":{"":{height:["30",0,0,15],width:["630rpx",0,0,15],marginLeft:["60rpx",0,0,15],position:["relative",0,0,15],marginTop:["10",0,0,15]}},".section1-image":{"":{marginTop:["8",0,0,16],width:["14",0,0,16],height:["14",0,0,16]}},".section1-time":{"":{height:["30",0,0,17],lineHeight:["30",0,0,17],color:["#FF4D29",0,0,17],fontSize:["16",0,0,17],fontWeight:["bold",0,0,17],marginLeft:["5",0,0,17]}},".section1-times":{"":{height:["30",0,0,18],lineHeight:["30",0,0,18],color:["#323232",0,0,18],fontSize:["16",0,0,18],fontWeight:["bold",0,0,18]}},".section2":{"":{width:["630rpx",0,0,19],marginLeft:["60rpx",0,0,19],height:["40",0,0,19],marginTop:["20",0,0,19],position:["relative",0,0,19]}},".section2-left":{"":{width:["50",0,0,20],color:["#FFFFFF",0,0,20],fontSize:["16",0,0,20]}},".section2-leftimage":{"":{width:["22",0,0,21],height:["22",0,0,21],flexShrink:[0,0,0,21]}},".section2-lefttexts":{"":{color:["#323232",0,0,22],fontSize:["12",0,0,22],lines:[1,0,0,22],textOverflow:["ellipsis",0,0,22],textAlign:["left",0,0,22]}},".section2-right":{"":{width:["500rpx",0,0,23],marginLeft:["10rpx",0,0,23],height:["40",0,0,23]}},".daohangimgage":{"":{width:["32",0,0,24],height:["32",0,0,24],position:["absolute",0,0,24],right:[0,0,0,24],bottom:[0,0,0,24]}},".section2-right-title":{"":{height:["20",0,0,25],lineHeight:["20",0,0,25],color:["#323232",0,0,25],fontSize:["16",0,0,25],width:["440rpx",0,0,25]}},".section2-right-des":{"":{height:["30",0,0,26],lineHeight:["30",0,0,26],color:["#646464",0,0,26],fontSize:["12",0,0,26]}},".section3":{"":{position:["relative",0,0,27],width:["630rpx",0,0,27],marginLeft:["60rpx",0,0,27],height:["40",0,0,27],marginTop:["5",0,0,27]}},".line":{"":{backgroundColor:["#E4E4E4",0,0,28],width:["1",0,0,28],height:["22",0,0,28],marginLeft:["40",0,0,28]}},".section4":{"":{marginTop:["10",0,0,29],width:["500rpx",0,0,29],height:["40",0,0,29],marginLeft:["170rpx",0,0,29],alignItems:["center",0,0,29]}},".section6":{"":{width:["550rpx",0,0,30],marginLeft:["150rpx",0,0,30],marginBottom:["10",0,0,30],backgroundColor:["#EEEEEE",0,0,30]}},".sectionbeizhu":{"":{lines:[10,0,0,31],width:["500rpx",0,0,31],marginTop:["5",0,0,31],marginBottom:["5",0,0,31],marginLeft:["20rpx",0,0,31],marginRight:["10rpx",0,0,31],lineHeight:["15",0,0,31],color:["#323232",0,0,31],fontSize:["12",0,0,31],borderRadius:["2",0,0,31]}},".section4-type1":{"":{backgroundColor:["#01C382",0,0,32],width:["52",0,0,32],height:["20",0,0,32],lineHeight:["20",0,0,32],textAlign:["center",0,0,32],borderRadius:["2",0,0,32],fontSize:["12",0,0,32],color:["#FFFFFF",0,0,32],marginRight:["10",0,0,32]}},".section4-type2":{"":{backgroundColor:["#0BD3AC",0,0,33],paddingLeft:["5",0,0,33],paddingRight:["5",0,0,33],height:["20",0,0,33],lineHeight:["20",0,0,33],textAlign:["center",0,0,33],borderRadius:["2",0,0,33],fontSize:["12",0,0,33],color:["#FFFFFF",0,0,33],marginRight:["10",0,0,33]}},".section7":{"":{marginTop:["10",0,0,34],marginLeft:["20rpx",0,0,34],width:["710rpx",0,0,34],borderTopWidth:["1",0,0,34],borderTopStyle:["solid",0,0,34],borderTopColor:["rgba(240,240,240,1)",0,0,34],borderBottomWidth:["1",0,0,34],borderBottomStyle:["solid",0,0,34],borderBottomColor:["rgba(240,240,240,1)",0,0,34]}},".section7-title":{"":{marginTop:["10",0,0,35],height:["30",0,0,35],lineHeight:["30",0,0,35],marginBottom:["10",0,0,35],color:["rgba(50,50,50,1)",0,0,35],fontSize:["18",0,0,35],fontWeight:["bold",0,0,35]}},".section7-des":{"":{marginTop:["10",0,0,36],color:["rgba(50,50,50,1)",0,0,36],fontSize:["14",0,0,36],marginBottom:["10",0,0,36]}},".section7-beizhu":{"":{marginBottom:["15",0,0,37],backgroundColor:["rgba(255,240,237,1)",0,0,37],borderRadius:["4",0,0,37]}},".section7-beizhutext":{"":{lines:[1,0,0,38],marginTop:["5",0,0,38],marginBottom:["5",0,0,38],marginLeft:["20rpx",0,0,38],marginRight:["10rpx",0,0,38],lineHeight:["15",0,0,38],color:["rgba(255,77,41,1)",0,0,38],fontSize:["12",0,0,38],borderRadius:["2",0,0,38]}},".section8":{"":{marginLeft:["20rpx",0,0,39],width:["710rpx",0,0,39],borderBottomWidth:["1",0,0,39],borderBottomStyle:["solid",0,0,39],borderBottomColor:["rgba(240,240,240,1)",0,0,39]}},".section8-cell":{"":{position:["relative",0,0,40],height:["40",0,0,40]}},".section8-celltitle":{"":{height:["30",0,0,41],lineHeight:["30",0,0,41],color:["rgba(50,50,50,1)",0,0,41],fontSize:["14",0,0,41]}},".section8-celldes":{"":{position:["absolute",0,0,42],right:[0,0,0,42],height:["30",0,0,42],lineHeight:["30",0,0,42],color:["rgba(50,50,50,1)",0,0,42],fontSize:["14",0,0,42]}},".phtots":{"":{marginTop:["10",0,0,43],marginBottom:["10",0,0,43],width:["710rpx",0,0,43],height:["110",0,0,43],flexDirection:["row",0,0,43]}},".orderimage":{"":{width:["230rpx",0,0,44],height:["200rpx",0,0,44],marginRight:["10rpx",0,0,44]}},".section9":{"":{marginLeft:["20rpx",0,0,45],width:["710rpx",0,0,45],marginBottom:["10",0,0,45]}},".section9-times":{"":{marginTop:["10",0,0,46],marginLeft:["20rpx",0,0,46],width:["670rpx",0,0,46],height:["60",0,0,46]}},".section9-cell":{"":{width:["167.5rpx",0,0,47]}},".section9-celltext":{"":{width:["167.5rpx",0,0,48],textAlign:["center",0,0,48],color:["rgba(50,50,50,1)",0,0,48],fontSize:["14",0,0,48],height:["20",0,0,48],lineHeight:["20",0,0,48]}},".section9-celltime":{"":{width:["167.5rpx",0,0,49],color:["rgba(50,50,50,1)",0,0,49],fontSize:["16",0,0,49],textAlign:["center",0,0,49],height:["30",0,0,49],lineHeight:["30",0,0,49]}},".bottom":{"":{position:["fixed",0,0,50],bottom:[0,0,0,50],width:["750rpx",0,0,50],backgroundColor:["#FFFFFF",0,0,50]}},".bottom-lianxi":{"":{width:["180rpx",0,0,51],height:["66",0,0,51],alignItems:["center",0,0,51],justifyContent:["center",0,0,51]}},".bottom-lianxiimage":{"":{width:["24",0,0,52],height:["24",0,0,52]}},".bottom-lianxitext":{"":{color:["rgba(50,50,50,1)",0,0,53],fontSize:["14",0,0,53]}},".bottombtn":{"":{backgroundColor:["rgba(255,81,34,1)",0,0,54],height:["66",0,0,54],lineHeight:["66",0,0,54],color:["rgba(255,255,255,1)",0,0,54],fontSize:["16",0,0,54],fontWeight:["bold",0,0,54],textAlign:["center",0,0,54]}},"@VERSION":2}},,,,function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("scroll-view",{staticStyle:{flexDirection:"column"},attrs:{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true"}},[i("view",[i("view",{staticClass:["page"],style:"height:"+t.windowHeight+"px;"},[i("map",{staticClass:["map"],style:"height:"+t.windowHeight+"px;",attrs:{id:"mymap",scale:t.scale,latitude:t.latitude,longitude:t.longitude,markers:t.markers,polyline:t.polyline}},[i("u-image",{staticClass:["backimage"],style:"top:"+t.top+"px;",attrs:{src:"../../static/image/backback.png"},on:{click:t.back}})],1),i("view",{ref:"drapview",staticClass:["drapview"],style:"top:"+t.draptop+"px;",attrs:{id:"drapview"},on:{touchstart:t.touchStart}},[i("view",{staticClass:["drapbtn"]},[i("view",{staticClass:["drapbtnline"]})]),i("view",{staticClass:["scroll"]},[i("u-text",{staticClass:["peisongxinxi"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u914d\u9001\u4fe1\u606f")]),t.info?i("block",[6!=t.info.status?i("view",{staticClass:["section1","row"]},[1==t.info.ispre?i("u-image",{staticClass:["section1-image-yu"],attrs:{src:"../../static/image/yu.png"}}):i("u-image",{staticClass:["section1-image"],attrs:{src:"../../static/image/shijian.png"}}),4!=t.info.type&&5!=t.info.type||4!=t.info.status?t._e():i("block",[i("u-text",{staticClass:["section1-time"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u670d\u52a1\u4e2d")])]),4!=t.info.type&&5!=t.info.type||3!=t.info.status?t._e():i("block",{staticClass:["row"]},[i("u-text",{staticClass:["section1-time"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.service_time))]),i("u-text",{staticClass:["section1-times"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5230\u8fbe")])]),1==t.info.type||2==t.info.type?i("block",{staticClass:["row"]},[i("u-text",{staticClass:["section1-time"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.service_time))]),i("u-text",{staticClass:["section1-times"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u53d6\u4ef6")])]):t._e(),3==t.info.type?i("block",{staticClass:["row"]},[i("u-text",{staticClass:["section1-time"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.service_time))]),i("u-text",{staticClass:["section1-times"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u9001\u8fbe")])]):t._e()],1):t._e(),i("view",{staticClass:["section2","row"]},[i("view",{staticClass:["section2-left","column"]},[1==t.info.type||2==t.info.type?i("block",[4==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/quh.png"}}):t._e(),3==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/qu.png"}}):t._e()],1):t._e(),3==t.info.type?i("block",[4==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/maih.png"}}):t._e(),3==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/mai.png"}}):t._e()],1):t._e(),4==t.info.type?i("block",[3==t.info.status||4==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/pai.png"}}):i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/paih.png"}})],1):t._e(),5==t.info.type?i("block",[3==t.info.status||4==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/ban.png"}}):i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/banh.png"}})],1):t._e(),4==t.info.type||5==t.info.type?i("block",[t.info.myDistance?i("u-text",{staticClass:["section2-lefttexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.myDistance))]):t._e()]):i("block",[t.info.myDistance?i("block",[3==t.info.status?i("block",[3==t.info.type?i("block",[""==t.info.f_lng?i("block"):i("block",[i("u-text",{staticClass:["section2-lefttexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.myDistance))])])],1):i("block",[i("u-text",{staticClass:["section2-lefttexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.myDistance))])])],1):t._e()],1):t._e(),4==t.info.status?i("u-text",{staticClass:["section2-lefttexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("---")]):t._e()],1)],1),i("view",{staticClass:["section2-right","column"]},[4!=t.info.type&&5!=t.info.type?i("block",[3==t.info.type?i("block",[2==t.info.extra.type?i("block",[i("u-text",{staticClass:["section2-right-title","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5c31\u8fd1\u8d2d\u4e70")])]):i("block",[i("u-text",{staticClass:["section2-right-title","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.f_name))]),i("u-text",{staticClass:["section2-right-des","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.f_addr))])])],1):i("block",[i("u-text",{staticClass:["section2-right-title","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.f_name))]),i("u-text",{staticClass:["section2-right-des","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.f_addr))])])],1):i("block",[i("u-text",{staticClass:["section2-right-title","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.t_name))]),i("u-text",{staticClass:["section2-right-des","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.t_addr))])])],1),4==t.info.type||5==t.info.type?i("u-image",{staticClass:["daohangimgage"],attrs:{src:"../../static/image/daohang.png"},on:{click:function(e){t.qudaohang(t.info.t_lng,t.info.t_lat,t.info.t_name)}}}):i("u-image",{staticClass:["daohangimgage"],attrs:{src:"../../static/image/daohang.png"},on:{click:function(e){t.qudaohang(t.info.f_lng,t.info.f_lat,t.info.f_name)}}})],1),4!=t.info.type&&5!=t.info.type?i("view",{staticClass:["line"]}):t._e(),4!=t.info.type&&5!=t.info.type?i("view",{staticClass:["section3","row"]},[i("view",{staticClass:["section2-left","column"]},[5==t.info.status||6==t.info.status?i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/songh.png"}}):i("u-image",{staticClass:["section2-leftimage"],attrs:{src:"../../static/image/song.png"}}),t.info.allDistance?i("u-text",{staticClass:["section2-lefttexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.allDistance))]):t._e()],1),i("view",{staticClass:["section2-right","column"]},[i("u-text",{staticClass:["section2-right-title","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.t_name))]),i("u-text",{staticClass:["section2-right-des","oneline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.t_addr))])]),i("u-image",{staticClass:["daohangimgage"],attrs:{src:"../../static/image/daohang.png"},on:{click:function(e){t.qudaohang(t.info.t_lng,t.info.t_lat,t.info.t_name)}}})],1):t._e(),i("view",{staticClass:["section4","row"]},[t.info.type_t?i("u-text",{staticClass:["section4-type1"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.type_t))]):t._e(),t.info.tips?i("u-text",{staticClass:["section4-type2"],style:1==t.info.ispre?"background-color: #FDC208;":"",appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.tips))]):t._e()]),i("view",{staticClass:["section7","column"]},[1==t.info.type||2==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u7269\u54c1\u4fe1\u606f")]):t._e(),3==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u4ee3\u8d2d\u5546\u54c1")]):t._e(),4==t.info.type||5==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u670d\u52a1\u5185\u5bb9")]):t._e(),i("u-text",{staticClass:["section7-des","twoline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.des))]),3==t.info.type?i("view",{staticClass:["section7-beizhu"]},[i("u-text",{staticClass:["section7-beizhutext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5546\u54c1\u8d39\u7528\u9700\u8981\u9a91\u624b\u57ab\u4ed8,\u9001\u8fbe\u540e\u51ed\u5c0f\u7968\u5411\u7528\u6237\u6536\u53d6\u8d39\u7528")])]):t._e()]),i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8ba2\u5355\u4fe1\u606f")]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8ba2\u5355\u7f16\u53f7")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.orderno))])]),3!=t.info.type?i("view",{staticClass:["row","section8-cell"]},[1==t.info.type||2==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u53d6\u4ef6\u65f6\u95f4")]):t._e(),4==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u6392\u961f\u65f6\u95f4")]):t._e(),5==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u529e\u4e8b\u65f6\u95f4")]):t._e(),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.service_time))])]):t._e(),1==t.info.type||2==t.info.type||3==t.info.type?i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u671f\u671b\u9001\u8fbe")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.expect_time))])]):t._e(),4==t.info.type?i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u6392\u961f\u65f6\u957f")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.extra.length+"\u5206\u949f"))])]):t._e(),1==t.info.isdel?i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u53d6\u6d88\u8ba2\u5355")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.deltime))])]):t._e()]),t.info.thumbs.length>0?i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8ba2\u5355\u7167\u7247")]),i("view",{staticClass:["row","phtots"]},t._l(t.info.thumbs,(function(e,s){return i("block",[i("u-image",{staticClass:["orderimage"],attrs:{src:e},on:{click:function(e){t.previamge(s)}}})],1)})),1)]):t._e(),i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8ba2\u5355\u914d\u9001\u6536\u5165")]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u914d\u9001\u8d39")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s("\xa5"+t.info.rider_basic))])]),i("view",{staticClass:["row","section8-cell"]},[4==t.info.type||5==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u670d\u52a1\u8d39")]):i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8d85\u91cd\u8d39")]),4==t.info.type||5==t.info.type?i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s("\xa5"+t.info.rider_timemoney))]):i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s("\xa5"+t.info.rider_weight))])]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5c0f\u8d39")]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s("\xa5"+t.info.rider_fee))])]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5408\u8ba1")]),i("u-text",{staticClass:["section8-celldes"],staticStyle:{color:"rgba(238,0,2,1)",fontSize:"16px"},appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s("\xa5"+t.info.income))])])]),i("view",{staticClass:["section9","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8981\u6c42\u9001\u8fbe")]),i("view",{staticClass:["row","section9-times"]},[t._l(["\u4e0b\u5355","\u63a5\u5355","\u53d6\u4ef6","\u9001\u8fbe"],(function(e,s){return 1==t.info.type||2==t.info.type?i("view",{staticClass:["section9-cell"]},[0==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==s?i("block",[t.info.pick_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.pick_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),3==s?i("block",[t.info.complete_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.complete_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),i("u-text",{staticClass:["section9-celltext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e))])],1):t._e()})),t._l(["\u4e0b\u5355","\u63a5\u5355","\u8d2d\u4e70","\u9001\u8fbe"],(function(e,s){return 3==t.info.type?i("view",{staticClass:["section9-cell"]},[0==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==s?i("block",[t.info.pick_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.pick_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),3==s?i("block",[t.info.complete_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.complete_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),i("u-text",{staticClass:["section9-celltext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e))])],1):t._e()})),t._l(["\u4e0b\u5355","\u63a5\u5355","\u670d\u52a1","\u9001\u8fbe"],(function(e,s){return 4==t.info.type||5==t.info.type?i("view",{staticClass:["section9-cell"]},[0==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==s?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==s?i("block",[t.info.pick_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.pick_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),3==s?i("block",[t.info.complete_time2.length>0?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.complete_time2))]):i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("-")])]):t._e(),i("u-text",{staticClass:["section9-celltext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e))])],1):t._e()}))],2)])]):t._e()],1),i("view",{staticStyle:{height:"20px",width:"750rpx"}})])],1),i("view",{staticClass:["bottom","box-shadow","row"],style:"height:"+t.safeAreaBottom+"px;"},[i("view",{staticClass:["bottom-lianxi","column"],on:{click:t.connect}},[i("u-image",{staticClass:["bottom-lianxiimage"],attrs:{src:"../../static/image/lianxi.png"}}),i("u-text",{staticClass:["bottom-lianxitext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8054\u7cfb")])],1),i("view",{staticClass:["bottom-lianxi","column"],on:{click:t.RiderOrdersTrans}},[i("u-image",{staticClass:["bottom-lianxiimage"],attrs:{src:"../../static/image/zhuandan.png"}}),i("u-text",{staticClass:["bottom-lianxitext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8f6c\u5355")])],1),t.info?i("block",[1==t.info.type||2==t.info.type?i("block",[3==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.StartService}},[t._v("\u786e\u8ba4\u53d6\u4ef6")]):t._e(),4==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.serviceCompleted}},[t._v("\u786e\u8ba4\u9001\u8fbe")]):t._e()]):t._e(),3==t.info.type?i("block",[3==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.StartService}},[t._v("\u786e\u8ba4\u8d2d\u4e70")]):t._e(),4==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.serviceCompleted}},[t._v("\u786e\u8ba4\u9001\u8fbe")]):t._e()]):t._e(),4==t.info.type||5==t.info.type?i("block",[3==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.StartService}},[t._v("\u5f00\u59cb\u670d\u52a1")]):t._e(),4==t.info.status?i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"},on:{click:t.serviceCompleted}},[t._v("\u670d\u52a1\u5b8c\u6210")]):t._e()]):t._e(),6==t.info.status?i("block",[i("u-text",{staticClass:["bottombtn"],staticStyle:{width:"390rpx"},appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u5df2\u5b8c\u6210")])]):t._e()],1):t._e()],1),1==t.showorderview?i("Transferorder",{attrs:{title:t.Transferorder,surebtntitle:t.Transferorderbtn},on:{relaxcancle:t.relaxcancle,relaxsure:t.relaxsure}}):t._e(),1==t.showphoneCode?i("phoneinput",{on:{cancleinput:t.cancleinput,finishcode:t.finishcode}}):t._e()],1)])},n=[]},,function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:["uni-masks"]},[i("view",{staticClass:["codeview"]},[i("u-image",{staticClass:["cancle"],attrs:{src:"../../static/image/guanbi.png"},on:{click:t.cancleinput}}),i("u-text",{staticClass:["codetext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v("\u8bf7\u987e\u5ba2\u544a\u77e54\u4f4d\u5b8c\u6210\u7801\uff08\u7528\u6237\u7aef\u8ba2\u5355\u9875\u9762\u53ef \u67e5\u8be2\uff09\u9a8c\u8bc1\u6210\u529f\u540e\u8ba2\u5355\u5b8c\u6210")]),i("view",{staticClass:["inputrow","row"]},[i("u-input",{staticClass:["input"],staticStyle:{marginRight:"12px"},attrs:{focus:t.focus1,maxlength:1,type:"number",value:t.num1},on:{input:[function(e){t.num1=e.detail.value},t.codeinput1]}}),i("u-input",{staticClass:["input"],staticStyle:{marginRight:"12px"},attrs:{focus:t.focus2,maxlength:1,type:"number",value:t.num2},on:{input:[function(e){t.num2=e.detail.value},t.codeinput2]}}),i("u-input",{staticClass:["input"],staticStyle:{marginRight:"12px"},attrs:{focus:t.focus3,maxlength:1,type:"number",value:t.num3},on:{input:[function(e){t.num3=e.detail.value},t.codeinput3]}}),i("u-input",{staticClass:["input"],attrs:{focus:t.focus4,maxlength:1,type:"number",value:t.num4},on:{input:[function(e){t.num4=e.detail.value},t.codeinput4]}})],1)],1)])},n=[]},function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:["uni-mask"],style:"height:"+t.windowheight+"px;"},[i("view",{staticClass:["codeview"]},[i("u-text",{staticClass:["codetext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.title))]),i("view",{staticClass:["inputrow","row"],style:"\u786e\u5b9a"==t.surebtntitle?"justify-content: center;":""},["\u8f6c\u5355"==t.surebtntitle?i("u-text",{staticClass:["canclebtn"],appendAsTree:!0,attrs:{append:"tree"},on:{click:t.cancle}},[t._v("\u53d6\u6d88")]):t._e(),"\u8f6c\u5355"==t.surebtntitle?i("u-text",{staticClass:["surebtn"],appendAsTree:!0,attrs:{append:"tree"},on:{click:t.sure}},[t._v(t._s(t.surebtntitle))]):t._e(),"\u786e\u5b9a"==t.surebtntitle?i("u-text",{staticClass:["surebtn2"],appendAsTree:!0,attrs:{append:"tree"},on:{click:t.sure}},[t._v(t._s(t.surebtntitle))]):t._e()])])])},n=[]},function(t,e,i){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(i(22).default,Vue.prototype.__$appStyle__)},function(t,e,i){"use strict";i.r(e);var s=i(0),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return weex.requireModule(t)}},function(t,e,i){"use strict";i.r(e);var s=i(9),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},function(t,e,i){"use strict";i.r(e);var s=i(12),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},function(t,e,i){"use strict";i.r(e);var s=i(13),n=i.n(s);for(var a in s)"default"!==a&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e.default=n.a},,function(t,e,i){"use strict";i.r(e);i(21);var s=i(2);"undefined"==typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),s.default.mpType="page",s.default.route="pages/detailmap/index",s.default.el="#root",new Vue(s.default)},function(t,e,i){"use strict";i.r(e);var s=i(19),n=i(7);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var o=i(1);var r=Object(o.a)(n.default,s.b,s.c,!1,null,null,"23b2f8a0",!1,s.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(24).default,this.options.style):Object.assign(this.options.style,i(24).default)}).call(r),e.default=r.exports},function(t,e,i){"use strict";i.r(e);var s=i(20),n=i(10);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var o=i(1);var r=Object(o.a)(n.default,s.b,s.c,!1,null,null,"57479dd2",!1,s.a,void 0);(function(t){this.options.style||(this.options.style={}),Vue.prototype.__merge_style&&Vue.prototype.__$appStyle__&&Vue.prototype.__merge_style(Vue.prototype.__$appStyle__,this.options.style),Vue.prototype.__merge_style?Vue.prototype.__merge_style(i(25).default,this.options.style):Object.assign(this.options.style,i(25).default)}).call(r),e.default=r.exports},function(t,e){function i(t){this.key=t.key,this.requestConfig={key:t.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"},this.MeRequestConfig={key:t.key,serviceName:"https://restapi.amap.com/rest/me"}}i.prototype.getWxLocation=function(t,e){wx.getLocation({type:"gcj02",success:function(t){t=t.longitude+","+t.latitude,wx.setStorage({key:"userLocation",data:t}),e(t)},fail:function(i){wx.getStorage({key:"userLocation",success:function(t){t.data&&e(t.data)}}),t.fail({errCode:"0",errMsg:i.errMsg||""})}})},i.prototype.getMEKeywordsSearch=function(t){if(!t.options)return t.fail({errCode:"0",errMsg:"\u7f3a\u5c11\u5fc5\u8981\u53c2\u6570"});var e=t.options,i=this.MeRequestConfig,s={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(s.layerId=e.layerId),e.keywords&&(s.keywords=e.keywords),e.city&&(s.city=e.city),e.filter&&(s.filter=e.filter),e.sortrule&&(s.sortrule=e.sortrule),e.pageNum&&(s.pageNum=e.pageNum),e.pageSize&&(s.pageSize=e.pageSize),e.sig&&(s.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/local",data:s,method:"GET",header:{"content-type":"application/json"},success:function(e){(e=e.data)&&e.status&&"1"===e.status&&0===e.code?t.success(e.data):t.fail({errCode:"0",errMsg:e})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getMEIdSearch=function(t){if(!t.options)return t.fail({errCode:"0",errMsg:"\u7f3a\u5c11\u5fc5\u8981\u53c2\u6570"});var e=t.options,i=this.MeRequestConfig,s={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(s.layerId=e.layerId),e.id&&(s.id=e.id),e.sig&&(s.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/id",data:s,method:"GET",header:{"content-type":"application/json"},success:function(e){(e=e.data)&&e.status&&"1"===e.status&&0===e.code?t.success(e.data):t.fail({errCode:"0",errMsg:e})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getMEPolygonSearch=function(t){if(!t.options)return t.fail({errCode:"0",errMsg:"\u7f3a\u5c11\u5fc5\u8981\u53c2\u6570"});var e=t.options,i=this.MeRequestConfig,s={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(s.layerId=e.layerId),e.keywords&&(s.keywords=e.keywords),e.polygon&&(s.polygon=e.polygon),e.filter&&(s.filter=e.filter),e.sortrule&&(s.sortrule=e.sortrule),e.pageNum&&(s.pageNum=e.pageNum),e.pageSize&&(s.pageSize=e.pageSize),e.sig&&(s.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/polygon",data:s,method:"GET",header:{"content-type":"application/json"},success:function(e){(e=e.data)&&e.status&&"1"===e.status&&0===e.code?t.success(e.data):t.fail({errCode:"0",errMsg:e})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getMEaroundSearch=function(t){if(!t.options)return t.fail({errCode:"0",errMsg:"\u7f3a\u5c11\u5fc5\u8981\u53c2\u6570"});var e=t.options,i=this.MeRequestConfig,s={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(s.layerId=e.layerId),e.keywords&&(s.keywords=e.keywords),e.center&&(s.center=e.center),e.radius&&(s.radius=e.radius),e.filter&&(s.filter=e.filter),e.sortrule&&(s.sortrule=e.sortrule),e.pageNum&&(s.pageNum=e.pageNum),e.pageSize&&(s.pageSize=e.pageSize),e.sig&&(s.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/around",data:s,method:"GET",header:{"content-type":"application/json"},success:function(e){(e=e.data)&&e.status&&"1"===e.status&&0===e.code?t.success(e.data):t.fail({errCode:"0",errMsg:e})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getGeo=function(t){var e=this.requestConfig,i=t.options;e={key:this.key,extensions:"all",s:e.s,platform:e.platform,appname:this.key,sdkversion:e.sdkversion,logversion:e.logversion},i.address&&(e.address=i.address),i.city&&(e.city=i.city),i.batch&&(e.batch=i.batch),i.sig&&(e.sig=i.sig),wx.request({url:"https://restapi.amap.com/v3/geocode/geo",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){(e=e.data)&&e.status&&"1"===e.status?t.success(e):t.fail({errCode:"0",errMsg:e})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getRegeo=function(t){function e(e){var s=i.requestConfig;wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:i.key,location:e,extensions:"all",s:s.s,platform:s.platform,appname:i.key,sdkversion:s.sdkversion,logversion:s.logversion},method:"GET",header:{"content-type":"application/json"},success:function(i){if(i.data.status&&"1"==i.data.status){var s=(i=i.data.regeocode).addressComponent,n=[],a=i.roads[0].name+"\u9644\u8fd1",o=e.split(",")[0],r=e.split(",")[1];if(i.pois&&i.pois[0]){a=i.pois[0].name+"\u9644\u8fd1";var c=i.pois[0].location;c&&(o=parseFloat(c.split(",")[0]),r=parseFloat(c.split(",")[1]))}s.provice&&n.push(s.provice),s.city&&n.push(s.city),s.district&&n.push(s.district),s.streetNumber&&s.streetNumber.street&&s.streetNumber.number?(n.push(s.streetNumber.street),n.push(s.streetNumber.number)):n.push(i.roads[0].name),n=n.join(""),t.success([{iconPath:t.iconPath,width:t.iconWidth,height:t.iconHeight,name:n,desc:a,longitude:o,latitude:r,id:0,regeocodeData:i}])}else t.fail({errCode:i.data.infocode,errMsg:i.data.info})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})}var i=this;t.location?e(t.location):i.getWxLocation(t,(function(t){e(t)}))},i.prototype.getWeather=function(t){function e(e){var n="base";t.type&&"forecast"==t.type&&(n="all"),wx.request({url:"https://restapi.amap.com/v3/weather/weatherInfo",data:{key:i.key,city:e,extensions:n,s:s.s,platform:s.platform,appname:i.key,sdkversion:s.sdkversion,logversion:s.logversion},method:"GET",header:{"content-type":"application/json"},success:function(e){if(e.data.status&&"1"==e.data.status)if(e.data.lives){if((e=e.data.lives)&&0<e.length){var i={city:{text:"\u57ce\u5e02",data:(e=e[0]).city},weather:{text:"\u5929\u6c14",data:e.weather},temperature:{text:"\u6e29\u5ea6",data:e.temperature},winddirection:{text:"\u98ce\u5411",data:e.winddirection+"\u98ce"},windpower:{text:"\u98ce\u529b",data:e.windpower+"\u7ea7"},humidity:{text:"\u6e7f\u5ea6",data:e.humidity+"%"}};i.liveData=e,t.success(i)}}else e.data.forecasts&&e.data.forecasts[0]&&t.success({forecast:e.data.forecasts[0]});else t.fail({errCode:e.data.infocode,errMsg:e.data.info})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})}var i=this,s=i.requestConfig;t.city?e(t.city):i.getWxLocation(t,(function(n){!function(n){wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:i.key,location:n,extensions:"all",s:s.s,platform:s.platform,appname:i.key,sdkversion:s.sdkversion,logversion:s.logversion},method:"GET",header:{"content-type":"application/json"},success:function(i){if(i.data.status&&"1"==i.data.status){if((i=i.data.regeocode).addressComponent)var s=i.addressComponent.adcode;else i.aois&&0<i.aois.length&&(s=i.aois[0].adcode);e(s)}else t.fail({errCode:i.data.infocode,errMsg:i.data.info})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})}(n)}))},i.prototype.getPoiAround=function(t){function e(e){e={key:i.key,location:e,s:s.s,platform:s.platform,appname:i.key,sdkversion:s.sdkversion,logversion:s.logversion},t.querytypes&&(e.types=t.querytypes),t.querykeywords&&(e.keywords=t.querykeywords),wx.request({url:"https://restapi.amap.com/v3/place/around",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){if(e.data.status&&"1"==e.data.status){if((e=e.data)&&e.pois){for(var i=[],s=0;s<e.pois.length;s++){var n=0==s?t.iconPathSelected:t.iconPath;i.push({latitude:parseFloat(e.pois[s].location.split(",")[1]),longitude:parseFloat(e.pois[s].location.split(",")[0]),iconPath:n,width:22,height:32,id:s,name:e.pois[s].name,address:e.pois[s].address})}t.success({markers:i,poisData:e.pois})}}else t.fail({errCode:e.data.infocode,errMsg:e.data.info})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})}var i=this,s=i.requestConfig;t.location?e(t.location):i.getWxLocation(t,(function(t){e(t)}))},i.prototype.getStaticmap=function(t){function e(e){i.push("location="+e),t.zoom&&i.push("zoom="+t.zoom),t.size&&i.push("size="+t.size),t.scale&&i.push("scale="+t.scale),t.markers&&i.push("markers="+t.markers),t.labels&&i.push("labels="+t.labels),t.paths&&i.push("paths="+t.paths),t.traffic&&i.push("traffic="+t.traffic),e="https://restapi.amap.com/v3/staticmap?"+i.join("&"),t.success({url:e})}var i=[];i.push("key="+this.key);var s=this.requestConfig;i.push("s="+s.s),i.push("platform="+s.platform),i.push("appname="+s.appname),i.push("sdkversion="+s.sdkversion),i.push("logversion="+s.logversion),t.location?e(t.location):this.getWxLocation(t,(function(t){e(t)}))},i.prototype.getInputtips=function(t){var e=Object.assign({},this.requestConfig);t.location&&(e.location=t.location),t.keywords&&(e.keywords=t.keywords),t.type&&(e.type=t.type),t.city&&(e.city=t.city),t.citylimit&&(e.citylimit=t.citylimit),wx.request({url:"https://restapi.amap.com/v3/assistant/inputtips",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){e&&e.data&&e.data.tips&&t.success({tips:e.data.tips})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getDrivingRoute=function(t){var e=Object.assign({},this.requestConfig);t.origin&&(e.origin=t.origin),t.destination&&(e.destination=t.destination),t.strategy&&(e.strategy=t.strategy),t.waypoints&&(e.waypoints=t.waypoints),t.avoidpolygons&&(e.avoidpolygons=t.avoidpolygons),t.avoidroad&&(e.avoidroad=t.avoidroad),wx.request({url:"https://restapi.amap.com/v3/direction/driving",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){e&&e.data&&e.data.route&&t.success({paths:e.data.route.paths,taxi_cost:e.data.route.taxi_cost||""})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getWalkingRoute=function(t){var e=Object.assign({},this.requestConfig);t.origin&&(e.origin=t.origin),t.destination&&(e.destination=t.destination),wx.request({url:"https://restapi.amap.com/v3/direction/walking",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){e&&e.data&&e.data.route&&t.success({paths:e.data.route.paths})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getTransitRoute=function(t){var e=Object.assign({},this.requestConfig);t.origin&&(e.origin=t.origin),t.destination&&(e.destination=t.destination),t.strategy&&(e.strategy=t.strategy),t.city&&(e.city=t.city),t.cityd&&(e.cityd=t.cityd),wx.request({url:"https://restapi.amap.com/v3/direction/transit/integrated",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){e&&e.data&&e.data.route&&(e=e.data.route,t.success({distance:e.distance||"",taxi_cost:e.taxi_cost||"",transits:e.transits}))},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},i.prototype.getRidingRoute=function(t){var e=Object.assign({},this.requestConfig);t.origin&&(e.origin=t.origin),t.destination&&(e.destination=t.destination),wx.request({url:"https://restapi.amap.com/v3/direction/riding",data:e,method:"GET",header:{"content-type":"application/json"},success:function(e){e&&e.data&&e.data.route&&t.success({paths:e.data.route.paths})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})},t.exports.AMapWX=i}]);