(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3d601fae"],{3800:function(t,o,e){},"574a":function(t,o,e){"use strict";e.r(o);var s=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"recentOrder headP"},[e("Head",{attrs:{title:t.title}}),e("div",{staticClass:"scroll",staticStyle:{"touch-action":"none","box-sizing":"border-box"},style:{height:t.app_height}},[e("mescroll-vue",{ref:"mescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[e("ul",{attrs:{id:"demo"}},t._l(t.orderList,(function(o,s){return e("li",{key:s,on:{click:function(o){return t.skipOrderdetail(o,s)}}},[e("div",{staticClass:"fixedW"},[e("div",{staticClass:"flexB"},[e("p",{staticClass:"big"},[t._v("车辆编号:"+t._s(o.bike_no))]),e("p",{directives:[{name:"show",rawName:"v-show",value:"骑行中"==o.orders_status,expression:"item.orders_status=='骑行中'"}],staticClass:"frame riding"},[t._v(t._s(o.orders_status))]),e("p",{directives:[{name:"show",rawName:"v-show",value:"订单关闭"==o.orders_status,expression:"item.orders_status=='订单关闭'"}],staticClass:"frame close"},[t._v(t._s(o.orders_status))]),e("p",{directives:[{name:"show",rawName:"v-show",value:"已完成"==o.orders_status,expression:"item.orders_status=='已完成'"}],staticClass:"frame finish"},[t._v(t._s(o.orders_status))]),e("p",{directives:[{name:"show",rawName:"v-show",value:"待支付"==o.orders_status,expression:"item.orders_status=='待支付'"}],staticClass:"frame unpaid"},[t._v(t._s(o.orders_status))]),e("p",{directives:[{name:"show",rawName:"v-show",value:"临时停车"==o.orders_status,expression:"item.orders_status=='临时停车'"}],staticClass:"frame temporary"},[t._v(t._s(o.orders_status))])]),e("div",{staticClass:"flexB"},[e("p",[t._v("用户:"+t._s(o.nickname))]),e("span",{staticClass:"pr20"},[t._v("手机号:"+t._s(o.mobile))])]),e("div",{staticClass:"time"},[t._v("订单编号:"+t._s(o.no))]),e("div",{staticClass:"time"},[t._v("时间:"+t._s(o.start_use_bike_time)+"——"+t._s(o.end_use_bike_time))])])])})),0)])],1)],1)},n=[],i=e("8d6b"),r=e("76a0"),l={data:function(){return{app_height:"".concat(window.screen.availHeight,"px"),title:"最近订单",orderList:[],mescroll:null,mescrollDown:{},mescrollUp:{callback:this.upCallback,page:{num:0,size:4},noMoreSize:5,empty:{warpId:"demo",icon:"http://www.mescroll.com/img/mescroll-empty.png",tip:"暂无相关数据~"},lazyLoad:{use:!0}}}},components:{MescrollVue:i["a"]},methods:{mescrollInit:function(t){this.mescroll=t},upCallback:function(t,o){var e=this;r["Indicator"].open({text:"加载中...",spinnerType:"fading-circle"}),this.axios.post(config.url.latelyOrders+"?page="+t.num,this.qs.stringify({bike_id:sessionStorage.getItem("bike_id")})).then((function(s){if(200==s.status){r["Indicator"].close(),console.log(s,"最近订单");var n=s.data.data;1===t.num&&(e.orderList=[]),e.orderList=e.orderList.concat(n),e.$nextTick((function(){o.endSuccess(n.length)}))}else r["Indicator"].close()})).catch((function(t){r["Indicator"].close()}))},skipOrderdetail:function(t,o){sessionStorage.setItem("order_id",this.orderList[o].id),this.$router.push({name:"orderdetails"})}}},a=l,p=(e("9952"),e("2877")),c=Object(p["a"])(a,s,n,!1,null,"6557296e",null);o["default"]=c.exports},"8d6b":function(t,o,e){"use strict";var s=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{ref:"mescroll",staticClass:"mescroll"},[e("div",[t._t("default")],2)])},n=[],i=e("f868"),r=e.n(i),l=(e("f2fd"),{name:"MeScrollVue",data:function(){return{mescroll:null,lastScrollTop:0,lastBounce:null}},props:{up:Object,down:Object},mounted:function(){this.mescroll=new r.a(this.$refs.mescroll,{up:this.up,down:this.down}),this.$emit("init",this.mescroll)},methods:{beforeRouteEnter:function(){var t=this;this.mescroll&&(this.lastScrollTop&&(this.mescroll.setScrollTop(this.lastScrollTop),setTimeout((function(){t.mescroll.setTopBtnFadeDuration(0)}),16)),null!=this.lastBounce&&this.mescroll.setBounce(this.lastBounce))},beforeRouteLeave:function(){this.mescroll&&(this.lastScrollTop=this.mescroll.getScrollTop(),this.mescroll.hideTopBtn(0),this.lastBounce=this.mescroll.optUp.isBounce,this.mescroll.setBounce(!0))}}}),a=l,p=e("2877"),c=Object(p["a"])(a,s,n,!1,null,null,null);o["a"]=c.exports},9952:function(t,o,e){"use strict";var s=e("3800"),n=e.n(s);n.a},f2fd:function(t,o,e){},f868:function(t,o,e){var s,n; /*! * version 1.4.1 MIT * 2019-2-1 wenju * http://www.mescroll.com */(function(i,r){s=r,n="function"===typeof s?s.call(o,e,o,t):s,void 0===n||(t.exports=n)})(0,(function(){var t=function(t,o){var e=this;if(e.version="1.4.0",e.isScrollBody=!t||"body"===t,e.scrollDom=e.isScrollBody?document.body:e.getDomById(t),e.scrollDom){e.options=o||{};var s=navigator.userAgent,n=!!s.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),i="undefined"===typeof window.orientation,r=s.indexOf("Android")>-1||s.indexOf("Adr")>-1;e.os={ios:n,pc:i,android:r},e.isDownScrolling=!1,e.isUpScrolling=!1;var l=e.options.down&&e.options.down.callback;e.initDownScroll(),e.initUpScroll(),setTimeout((function(){e.optDown.use&&e.optDown.auto&&l&&(e.optDown.autoShowLoading?e.triggerDownScroll():e.optDown.callback&&e.optDown.callback(e)),e.optUp.use&&e.optUp.auto&&!e.isUpAutoLoad&&e.triggerUpScroll()}),30)}};return t.prototype.extendDownScroll=function(o){t.extend(o,{use:!0,auto:!0,autoShowLoading:!1,isLock:!1,isBoth:!1,offset:80,inOffsetRate:1,outOffsetRate:.2,bottomOffset:20,minAngle:45,hardwareClass:"mescroll-hardware",mustToTop:!1,warpId:null,warpClass:"mescroll-downwarp",resetClass:"mescroll-downwarp-reset",textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",htmlContent:'
',inited:function(t,o){t.downTipDom=o.getElementsByClassName("downwarp-tip")[0],t.downProgressDom=o.getElementsByClassName("downwarp-progress")[0]},inOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textInOffset),t.downProgressDom&&t.downProgressDom.classList.remove("mescroll-rotate")},outOffset:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textOutOffset)},onMoving:function(t,o,e){if(t.downProgressDom){var s=360*o;t.downProgressDom.style.webkitTransform="rotate("+s+"deg)",t.downProgressDom.style.transform="rotate("+s+"deg)"}},beforeLoading:function(t,o){return!1},showLoading:function(t){t.downTipDom&&(t.downTipDom.innerHTML=t.optDown.textLoading),t.downProgressDom&&t.downProgressDom.classList.add("mescroll-rotate")},afterLoading:function(t){return 0},callback:function(t){t.resetUpScroll()}})},t.prototype.extendUpScroll=function(o){var e=this.os.pc;t.extend(o,{use:!0,auto:!0,isLock:!1,isBoth:!1,isBounce:!0,callback:null,page:{num:0,size:10,time:null},noMoreSize:5,offset:100,toTop:{warpId:null,src:null,html:null,offset:1e3,warpClass:"mescroll-totop",showClass:"mescroll-fade-in",hideClass:"mescroll-fade-out",fadeDuration:.5,duration:300,supportTap:!1,btnClick:null},loadFull:{use:!1,delay:500},empty:{warpId:null,icon:null,tip:"暂无相关数据~",btntext:"",btnClick:null,supportTap:!1},clearId:null,clearEmptyId:null,hardwareClass:"mescroll-hardware",warpId:null,warpClass:"mescroll-upwarp",htmlLoading:'加载中..
',htmlNodata:'-- END --
',inited:function(t,o){},showLoading:function(t,o){o.innerHTML=t.optUp.htmlLoading},showNoMore:function(t,o){o.innerHTML=t.optUp.htmlNodata},onScroll:null,scrollbar:{use:e,barClass:"mescroll-bar"},lazyLoad:{use:!1,attr:"imgurl",showClass:"mescroll-lazy-in",delay:500,offset:200}})},t.extend=function(o,e){if(!o)return e;for(var s in e)null==o[s]?o[s]=e[s]:"object"===typeof o[s]&&t.extend(o[s],e[s]);return o},t.prototype.initDownScroll=function(){var t=this;if(t.optDown=t.options.down||{},t.extendDownScroll(t.optDown),t.touchstartEvent=function(o){t.isScrollTo&&t.preventDefault(o),t.startPoint=t.getPoint(o),t.lastPoint=t.startPoint,t.maxTouchmoveY=t.getBodyHeight()-t.optDown.bottomOffset,t.inTouchend=!1;var e=t.getScrollTop();t.isKeepTop=0===e,t.os.pc&&e<=0&&(t.scrollDom.addEventListener("mousemove",t.touchmoveEvent,{passive:!1}),document.ondragstart=function(){return!1})},t.scrollDom.addEventListener("mousedown",t.touchstartEvent),t.scrollDom.addEventListener("touchstart",t.touchstartEvent),t.touchmoveEvent=function(o){if(t.startPoint){var e=t.getScrollTop();e>0&&(t.isKeepTop=!1);var s=t.getPoint(o),n=s.y-t.startPoint.y;if(n>0){if(e<=0&&(t.preventDefault(o),t.optDown.use&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth))){if(t.optDown.mustToTop&&!t.isKeepTop)return;var i=Math.abs(t.lastPoint.x-s.x),r=Math.abs(t.lastPoint.y-s.y),l=Math.sqrt(i*i+r*r);if(0!==l){var a=Math.asin(r/l)/Math.PI*180;if(a'+o.tip+"
"),o.btntext&&(n+=''+o.btntext+"
"),t.emptyDom=document.createElement("div"),t.emptyDom.className="mescroll-empty",t.emptyDom.innerHTML=n,s.appendChild(t.emptyDom),o.btnClick){var i=t.emptyDom.getElementsByClassName("empty-btn")[0];o.supportTap?i.addEventListener("tap",(function(e){e.stopPropagation(),t.preventDefault(e),o.btnClick()})):i.onclick=function(){o.btnClick()}}}}},t.prototype.removeEmpty=function(){this.removeChild(this.emptyDom)},t.prototype.showTopBtn=function(t){if(!this.topBtnShow){this.topBtnShow=!0;var o,e=this,s=e.optUp.toTop;if(null==e.toTopBtn)s.html?(e.toTopBtn=document.createElement("div"),e.toTopBtn.innerHTML=s.html):(e.toTopBtn=document.createElement("img"),e.toTopBtn.src=s.src),e.toTopBtn.className=s.warpClass,s.supportTap?e.toTopBtn.addEventListener("tap",(function(t){t.stopPropagation(),e.preventDefault(t);var o=s.btnClick&&s.btnClick();!0!==o&&e.scrollTo(0,e.optUp.toTop.duration)})):e.toTopBtn.onclick=function(){var t=s.btnClick&&s.btnClick();!0!==t&&e.scrollTo(0,e.optUp.toTop.duration)},s.warpId&&(o=e.getDomById(s.warpId)),o||(o=document.body),o.appendChild(e.toTopBtn);e.toTopBtn.classList.remove(s.hideClass),e.toTopBtn.classList.add(s.showClass),e.setTopBtnFadeDuration(t)}},t.prototype.hideTopBtn=function(t){this.topBtnShow&&this.toTopBtn&&(this.topBtnShow=!1,this.toTopBtn.classList.remove(this.optUp.toTop.showClass),this.toTopBtn.classList.add(this.optUp.toTop.hideClass),this.setTopBtnFadeDuration(t))},t.prototype.setTopBtnFadeDuration=function(t){if(this.toTopBtn){var o=(null!=t?t:this.optUp.toTop.fadeDuration)+"s";this.toTopBtn.style.animationDuration=o,this.toTopBtn.style.webkitAnimationDuration=o}},t.prototype.scrollTo=function(t,o){var e=this,s=e.getScrollTop(),n=t;if(n>0){var i=e.getScrollHeight()-e.getClientHeight();n>i&&(n=i)}else n=0;e.isScrollTo=!0,e.scrollDom.style.webkitOverflowScrolling="auto",e.getStep(s,n,(function(t){e.setScrollTop(t),t===n&&(e.scrollDom.style.webkitOverflowScrolling="touch",e.isScrollTo=!1)}),o)},t.prototype.getStep=function(t,o,e,s,n){var i=o-t;if(0!==s&&0!==i){s=s||300,n=n||30;var r=s/n,l=i/r,a=0,p=window.setInterval((function(){a