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
59 KiB
1 lines
59 KiB
!function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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 n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,function(e){return t[e]}.bind(null,s));return n},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=24)}([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 n(t,e,i,n,s,a,o,r,c,p){var l,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(p&&("function"==typeof p.beforeCreate&&(p.beforeCreate=[p.beforeCreate]),(p.beforeCreate||(p.beforeCreate=[])).unshift((function(){this[p.__module]=this})),(d.mixins||(d.mixins=[])).push(p)),e&&(d.render=e,d.staticRenderFns=i,d._compiled=!0),n&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),o?(l=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__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):s&&(l=r?function(){s.call(this,this.$root.$options.shadowRoot)}:s),l)if(d.functional){d._injectStyles=l;var g=d.render;d.render=function(t,e){return l.call(e),g(t,e)}}else{var h=d.beforeCreate;d.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:d}}i.d(e,"a",(function(){return n}))},function(t,e,i){"use strict";var n=i(14),s=i(5),a=i(1);var o=Object(a.a)(s.default,n.b,n.c,!1,null,null,"2f437611",!1,n.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(22).default,this.options.style):Object.assign(this.options.style,i(22).default)}).call(o),e.default=o.exports},,function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function s(){return"string"==typeof __channelId__&&__channelId__}function a(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}Object.defineProperty(e,"__esModule",{value:!0}),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(s())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=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(r.length>1){var p=r.pop();c=r.join("---COMMA---"),0===p.indexOf(" at ")?c+=p:c+="---COMMA---"+p}else c=r[0];console[o](c)},e.log=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}},function(t,e,i){"use strict";var n=i(6),s=i.n(n);e.default=s.a},function(t,e,i){"use strict";(function(t,n){var s=i(25);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=s(i(26)),o=t("bindingx"),r=new(i(27).AMapWX)({key:getApp().globalData.GaoDeKey_amapkey}),c={components:{phoneinput:a.default},computed:{i18n:function(){return getApp().globalData.$t("index")}},data:function(){return{showphoneCode:!1,AppdrapviewHeight:0,draptop:0,drapbottom:0,polyline:[],showorderview:!1,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);o.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,n("log",this.latitude,this.longitude," at pages/detailmap/index.nvue:464"),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.top},onReady:function(){n("log","onReady"," at pages/detailmap/index.nvue:474"),this.getdata()},methods:{cancleinput:function(){this.showphoneCode=!1},relaxcancle:function(){this.showorderview=!1},relaxsure:function(){},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:setTimeout((function(){e.qweqweqwewq()}),500)})))},qweqweqwewq:function(){},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){n("log",t," at pages/detailmap/index.nvue:524"),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&&(n("log","pppppppppppppppppppppppppp"," at pages/detailmap/index.nvue:568"),n("log",e," at pages/detailmap/index.nvue:569"),t.sendRequest("Rider.Orders.Start",{oid:t.info.id,thumbs:JSON.stringify(e.data)},!0).then((function(e){n("log",e," at pages/detailmap/index.nvue:574"),uni.setStorage({key:"finishthumb",data:""}),t.getdata()})).catch((function(t){uni.setStorage({key:"finishthumb",data:""})})))}})},connect:function(){n("log","111"," at pages/detailmap/index.nvue:591");var t=this.info.recip_phone;this.info.type<3&&3==this.info.status&&(t=this.info.pick_phone),n("log",this.info," at pages/detailmap/index.nvue:598"),uni.makePhoneCall({phoneNumber:t,success:function(t){},fail:function(t){n("log","\u8c03\u7528\u5931\u8d25!",JSON.stringify(t)," at pages/detailmap/index.nvue:606")}})},previamge:function(t){uni.previewImage({current:t,urls:this.info.thumbs})},makeline:function(){var t,e,i=this;n("log",i.info," at pages/detailmap/index.nvue:634"),3==i.info.status&&(1==i.info.type||2==i.info.type||3==i.info.type||6==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(){r.getRidingRoute({origin:i.longitude+","+i.latitude,destination:e+","+t,success:function(t){n("log","\u8def\u5f84\u89c4\u5212\u5b8c\u6210"," at pages/detailmap/index.nvue:679"),n("log","\u8ddd\u79bb\uff1a"+t.paths[0].distance," at pages/detailmap/index.nvue:680"),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 s=parseFloat(t.paths[0].distance)+parseFloat(i.info.extra.distance);s>1e3?s=i.fomatFloat(s/1e3,1)+"km":s+="m",i.info.allDistance=s,n("log","mydistance\uff1a"+i.info.myDistance," at pages/detailmap/index.nvue:703"),n("log","allDistance\uff1a"+i.info.allDistance," at pages/detailmap/index.nvue:704");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(";"),p=0;p<c.length;p++)a.push({longitude:parseFloat(c[p].split(",")[0]),latitude:parseFloat(c[p].split(",")[1])});i.polyline=[{points:a,color:"#FF5725",width:6}]},fail:function(t){uni.hideLoading(),uni.showModal({title:this.i18n.order.lujinguihuashibai,content:"",showCancel:!1,cancelText:"",confirmText:this.i18n.sure,success:function(t){},fail:function(){},complete:function(){}}),n("log",t," at pages/detailmap/index.nvue:747")}})}),0)},qudaohang:function(t,e,i){this.openLocation("__UNI__7350749",t,e,i)},openLocation:function(t,e,i,s){var a=this.wgs84togcj02(e,i);e=a[0],i=a[1],n("log",a," at pages/detailmap/index.nvue:760"),uni.openLocation({latitude:parseFloat(i),longitude:parseFloat(e),success:function(){n("log","success"," at pages/detailmap/index.nvue:765")},fail:function(t){n("log",t," at pages/detailmap/index.nvue:768")}})},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 n=i.length-i.indexOf(".");n<=e;n++)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,n=6378245,s=.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-s*c*c;var p=Math.sqrt(c);return a=180*a/(n*(1-s)/(c*p)*i),[t+(o=180*o/(n/p*Math.cos(r)*i)),e+a]},transformlat:function(t,e){var i=3.141592653589793,n=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,n+=2*(20*Math.sin(e*i)+40*Math.sin(e/3*i))/3,n+=2*(160*Math.sin(e/12*i)+320*Math.sin(e*i/30))/3},transformlng:function(t,e){var i=3.141592653589793,n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*i)+20*Math.sin(2*t*i))/3,n+=2*(20*Math.sin(t*i)+40*Math.sin(t/3*i))/3,n+=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);o.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 n=0;e.position.y<0?t.bottom<e.windowHeight&&(n=-(e.position.y+t.height-e.windowHeight/3)):e.position.y>200&&(n=0-e.position.y);var s="easeInOutCubic(t,".concat(e.position.y,",").concat(n,",").concat(460,")");o.bind({eventType:"timing",exitExpression:"t>=".concat(460),props:[{element:i,property:"transform.translateY",expression:s}]},(function(t){"end"!==t.state&&"exit"!==t.state||(e.position.y+=n)}))})).exec()}}))},touchMove:function(t){},decypt:function(t){for(var e="",i="1ecxXyLRB.COdrAi:q09Z62ash-QGn8VFNIlb=fM/D74WjS_EUzYuw?HmTPvkJ3otK5gp&*",n=0;n<t.length;n++)for(var s=t[n],a=0;a<i.length;a++){s==i[a]&&(e+=0==a?i[i.length-1]:i[a-1])}return e},sendRequest:function(t,e,i){return new Promise((function(s,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);var c=uni.getStorageSync("system_info"),p=c.language?c.language:"th-TH";p=c.appLanguage?c.appLanguage:"th-TH",n("log",p," at pages/detailmap/index.nvue:994");-1!=p.indexOf("zh")?r.lang="zh":r.lang="th";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?s(t.data.data):a(t.data.data):uni.showToast({title:t.data.msg,icon:"none"})},fail:function(t){n("log",t," at pages/detailmap/index.nvue:1024"),uni.hideLoading()}})}))}}};e.default=c}).call(this,i(20).default,i(4).default)},function(t,e,i){"use strict";i.r(e);var n=i(8),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e.default=s.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:""}},computed:{i18n:function(){return getApp().globalData.$t("index")}},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/indexn.nvue:66"),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:["10",0,0,0],top:["10",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]}},".codetexts":{"":{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){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:["#FF5725",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:["360rpx",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:["#FF5725",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 n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=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("view",{ref:"drapview",staticClass:["drapview"],style:"height: 100%;margin-top:"+t.top,attrs:{id:"drapview"}},[i("view",{staticClass:["drapbtn"]},[i("view",{staticClass:["drapbtnline"]})]),i("view",{staticClass:["scroll"]},[i("u-text",{staticClass:["peisongxinxi"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.peisongxinxi))]),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(t._s(t.i18n.order.fuwuzhong))])]),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(t._s(t.i18n.order.daoda))])]),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(t._s(t.i18n.order.qujian))])]):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(t._s(t.i18n.order.songda))])]):t._e(),6==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(t._s(t.i18n.order.songda))])]):t._e()],1):t._e(),i("view",{staticClass:["section2","row"]},[i("view",{staticClass:["section2-left","column"]},[1==t.info.type||2==t.info.type||6==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||6==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(t._s(t.i18n.order.jiujingoumai))])]):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(),1==t.info.ispre?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||6==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.wupinxinxi))]):t._e(),3==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.daigouGoods))]):t._e(),4==t.info.type||5==t.info.type?i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.fuwuneirong))]):t._e(),6!=t.info.type?i("u-text",{staticClass:["section7-des","twoline"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.tips))]):t._e(),3==t.info.type?i("view",{staticClass:["section7-beizhu"]},[i("u-text",{staticClass:["section7-beizhutext"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.feiyongdianfu))])]):t._e(),t._l(t.info.product,(function(e,n){return 6==t.info.type?i("view",{key:n,staticClass:["row"],staticStyle:{width:"100%",height:"30px",alignItems:"center"}},[i("u-text",{staticStyle:{fontSize:"14px",color:"#323232"},style:e.product_attr_id>0||e.more_product_attr&&e.more_product_attr.length>0?"":"flex: 1;",appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(e.product.use_name))]),e.product_attr_id>0?i("u-text",{staticStyle:{fontSize:"12px",color:"#646464",flex:"1",marginLeft:"3px",marginTop:"1px"},appendAsTree:!0,attrs:{append:"tree"}},[t._v("("+t._s(e.productAttr.use_attr_name)+")")]):t._e(),e.more_product_attr&&e.more_product_attr.length>0?i("view",{staticClass:["row"],staticStyle:{fontSize:"12px",color:"#646464",flex:"1",marginLeft:"3px",marginTop:"1px"}},[i("u-text",{staticStyle:{fontSize:"12px",color:"#646464"},appendAsTree:!0,attrs:{append:"tree"}},[t._v("(")]),t._l(e.more_product_attr,(function(n,s){return i("u-text",{key:s,staticStyle:{fontSize:"12px",color:"#646464"},appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(n.attr.use_attr_name+(s<e.more_product_attr.length-1?"\u3001":"")))])})),i("u-text",{staticStyle:{fontSize:"12px",color:"#646464"},appendAsTree:!0,attrs:{append:"tree"}},[t._v(")")])],2):t._e(),i("u-text",{staticStyle:{fontSize:"14px",color:"#323232"},appendAsTree:!0,attrs:{append:"tree"}},[t._v("x"+t._s(e.cart_num))])]):t._e()})),6==t.info.type?i("view",{staticStyle:{width:"100%",height:"10px"}}):t._e()],2),t.info.reminder_count>0?i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.cuidanhuashu))]),i("view",{staticStyle:{maxWidth:"710rpx",minHeight:"32px",borderRadius:"4px",backgroundColor:"rgba(121,0,178,0.05)",marginBottom:"15px"}},[i("u-text",{staticStyle:{marginLeft:"20rpx",marginTop:"6px",lineHeight:"20px",fontSize:"14px",color:"#FF4D29",marginBottom:"6px"},appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.reminder_content))])])]):t._e(),i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.orderMsg))]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.orderNum))]),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(t._s(t.i18n.order.qujianshijian))]):t._e(),4==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.paiduishijian))]):t._e(),5==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.banshishijian))]):t._e(),6==t.info.type?i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.songdashijian))]):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(t._s(t.i18n.order.qiwangsongda))]),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(t._s(t.i18n.order.paiduishichang))]),i("u-text",{staticClass:["section8-celldes"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.extra.length+t.i18n.order.fenzhong))])]):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(t._s(t.i18n.order.quxiaodingdan))]),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(t._s(t.i18n.order.orderPhoto))]),i("view",{staticClass:["row","phtots"]},t._l(t.info.thumbs,(function(e,n){return i("block",[i("u-image",{staticClass:["orderimage"],attrs:{src:e},on:{click:function(e){t.previamge(n)}}})],1)})),1)]):t._e(),i("view",{staticClass:["section8","column"]},[i("u-text",{staticClass:["section7-title"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.orderShouru))]),i("view",{staticClass:["row","section8-cell"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.peisongfei))]),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"]},[i("u-text",{staticClass:["section8-celltitle"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.heji))]),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(t._s(t.i18n.order.yaoqiusongda))]),i("view",{staticClass:["row","section9-times"]},[t._l([t.i18n.order.xiadan,t.i18n.order.jiedan,t.i18n.order.qujian,t.i18n.order.songda],(function(e,n){return 1==t.info.type||2==t.info.type?i("view",{staticClass:["section9-cell"]},[0==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==n?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==n?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([t.i18n.order.xiadan,t.i18n.order.jiedan,t.i18n.yilou.paidan,t.i18n.order.songda],(function(e,n){return 6==t.info.type?i("view",{staticClass:["section9-cell"]},[0==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==n?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==n?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([t.i18n.order.xiadan,t.i18n.order.jiedan,t.i18n.order.buy,t.i18n.order.songda],(function(e,n){return 3==t.info.type?i("view",{staticClass:["section9-cell"]},[0==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==n?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==n?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([t.i18n.order.xiadan,t.i18n.order.jiedan,t.i18n.order.fuwu,t.i18n.order.songda],(function(e,n){return 4==t.info.type||5==t.info.type?i("view",{staticClass:["section9-cell"]},[0==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.add_time))]):t._e(),1==n?i("u-text",{staticClass:["section9-celltime"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.info.grap_time2))]):t._e(),2==n?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==n?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"}})])]),i("view",{staticClass:["bottom","box-shadow","row"],staticStyle:{justifyContent:"space-between"},style:"height:"+t.safeAreaBottom+"px;"},[i("view",{staticClass:["bottom-lianxi","row"]},[i("view",{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(t._s(t.i18n.order.lianxi))])],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(t._s(t.i18n.order.querenqujian))]):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(t._s(t.i18n.order.querensongda))]):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(t._s(t.i18n.order.querengoumai))]):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(t._s(t.i18n.order.querensongda))]):t._e()]):t._e(),6==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(t._s(t.i18n.order.querenqujian))]):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(t._s(t.i18n.order.querensongda))]):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(t._s(t.i18n.order.kaishifuwu))]):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(t._s(t.i18n.order.fuwuwancheng))]):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(t._s(t.i18n.order.yiwancheng))])]):t._e()],1):t._e()],1),1==t.showphoneCode?i("phoneinput",{on:{cancleinput:t.cancleinput,finishcode:t.finishcode}}):t._e()],1)])},s=[]},,function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=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:["codetexts"],appendAsTree:!0,attrs:{append:"tree"}},[t._v(t._s(t.i18n.order.gaozhigukeshuaxin))]),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)])},s=[]},function(t,e,i){Vue.prototype.__$appStyle__={},Vue.prototype.__merge_style&&Vue.prototype.__merge_style(i(18).default,Vue.prototype.__$appStyle__)},function(t,e,i){"use strict";i.r(e);var n=i(0),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e.default=s.a},function(t,e){if("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}))}))}),"undefined"!=typeof uni&&uni&&uni.requireGlobal){var i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}},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 n=i(9),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e.default=s.a},function(t,e,i){"use strict";i.r(e);var n=i(10),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e.default=s.a},,function(t,e,i){"use strict";i.r(e);i(17),i(19);var n=i(2);n.default.mpType="page",n.default.route="pages/detailmap/index",n.default.el="#root",new Vue(n.default)},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,i){"use strict";i.r(e);var n=i(16),s=i(7);for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);var o=i(1);var r=Object(o.a)(s.default,n.b,n.c,!1,null,null,"79b4e968",!1,n.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(21).default,this.options.style):Object.assign(this.options.style,i(21).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,n={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(n.layerId=e.layerId),e.keywords&&(n.keywords=e.keywords),e.city&&(n.city=e.city),e.filter&&(n.filter=e.filter),e.sortrule&&(n.sortrule=e.sortrule),e.pageNum&&(n.pageNum=e.pageNum),e.pageSize&&(n.pageSize=e.pageSize),e.sig&&(n.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/local",data:n,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,n={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(n.layerId=e.layerId),e.id&&(n.id=e.id),e.sig&&(n.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/id",data:n,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,n={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(n.layerId=e.layerId),e.keywords&&(n.keywords=e.keywords),e.polygon&&(n.polygon=e.polygon),e.filter&&(n.filter=e.filter),e.sortrule&&(n.sortrule=e.sortrule),e.pageNum&&(n.pageNum=e.pageNum),e.pageSize&&(n.pageSize=e.pageSize),e.sig&&(n.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/polygon",data:n,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,n={key:i.key,s:"rsx",platform:"WXJS",appname:t.key,sdkversion:"1.2.0",logversion:"2.0"};e.layerId&&(n.layerId=e.layerId),e.keywords&&(n.keywords=e.keywords),e.center&&(n.center=e.center),e.radius&&(n.radius=e.radius),e.filter&&(n.filter=e.filter),e.sortrule&&(n.sortrule=e.sortrule),e.pageNum&&(n.pageNum=e.pageNum),e.pageSize&&(n.pageSize=e.pageSize),e.sig&&(n.sig=e.sig),wx.request({url:i.serviceName+"/cpoint/datasearch/around",data:n,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 n=i.requestConfig;wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:i.key,location:e,extensions:"all",s:n.s,platform:n.platform,appname:i.key,sdkversion:n.sdkversion,logversion:n.logversion},method:"GET",header:{"content-type":"application/json"},success:function(i){if(i.data.status&&"1"==i.data.status){var n=(i=i.data.regeocode).addressComponent,s=[],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]))}n.provice&&s.push(n.provice),n.city&&s.push(n.city),n.district&&s.push(n.district),n.streetNumber&&n.streetNumber.street&&n.streetNumber.number?(s.push(n.streetNumber.street),s.push(n.streetNumber.number)):s.push(i.roads[0].name),s=s.join(""),t.success([{iconPath:t.iconPath,width:t.iconWidth,height:t.iconHeight,name:s,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 s="base";t.type&&"forecast"==t.type&&(s="all"),wx.request({url:"https://restapi.amap.com/v3/weather/weatherInfo",data:{key:i.key,city:e,extensions:s,s:n.s,platform:n.platform,appname:i.key,sdkversion:n.sdkversion,logversion:n.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,n=i.requestConfig;t.city?e(t.city):i.getWxLocation(t,(function(s){!function(s){wx.request({url:"https://restapi.amap.com/v3/geocode/regeo",data:{key:i.key,location:s,extensions:"all",s:n.s,platform:n.platform,appname:i.key,sdkversion:n.sdkversion,logversion:n.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 n=i.addressComponent.adcode;else i.aois&&0<i.aois.length&&(n=i.aois[0].adcode);e(n)}else t.fail({errCode:i.data.infocode,errMsg:i.data.info})},fail:function(e){t.fail({errCode:"0",errMsg:e.errMsg||""})}})}(s)}))},i.prototype.getPoiAround=function(t){function e(e){e={key:i.key,location:e,s:n.s,platform:n.platform,appname:i.key,sdkversion:n.sdkversion,logversion:n.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=[],n=0;n<e.pois.length;n++){var s=0==n?t.iconPathSelected:t.iconPath;i.push({latitude:parseFloat(e.pois[n].location.split(",")[1]),longitude:parseFloat(e.pois[n].location.split(",")[0]),iconPath:s,width:22,height:32,id:n,name:e.pois[n].name,address:e.pois[n].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,n=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 n=this.requestConfig;i.push("s="+n.s),i.push("platform="+n.platform),i.push("appname="+n.appname),i.push("sdkversion="+n.sdkversion),i.push("logversion="+n.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}]);
|