webpackJsonp([33],{"3qdi":function(e,t){},"6BrK":function(e,t,n){"use strict";var r={infoApiError:"服务器开小差了,请尝试重新连接",infoNotLogin:"您还没有登录,请登录后再试",codeNotLogin:"LOGIN-100001",codeToken:"wx_token",timeStorage:"d30",delayTime:300},o=null;o=r,t.a=o},CTE2:function(e,t){},"EKQ/":function(e,t){},KOga:function(e,t,n){"use strict";var r=n("Xxa5"),o=n.n(r),i=n("//Fk"),a=n.n(i),c=n("fZjL"),u=n.n(c),l=n("pFYg"),s=n.n(l),d=n("exGp"),f=n.n(d),h=n("qedb"),p=n("uaSg"),m=this;t.a=function(){var e=f()(o.a.mark(function e(){var t,n,r,i,c,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST",g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"fetch";return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){if("object"===(void 0===e?"undefined":s()(e))){var t="";for(var n in e)t+=n+"="+e[n]+"&";return t=t.substring(0,t.length-1)}return e},f=f.toUpperCase(),l=p.a+l,"GET"===f&&(n="",u()(d).forEach(function(e){n+=e+"="+d[e]+"&"}),""!==n&&(n=n.substr(0,n.lastIndexOf("&")),l=l+"?"+n)),!window.fetch||"fetch"!==g){e.next=23;break}return r={credentials:"include",method:f,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;application/json;charset=utf-8"},mode:"cors",cache:"force-cache"},"POST"===f&&Object.defineProperty(r,"body",{value:t(d)}),e.prev=7,e.next=10,fetch(l,r);case 10:return i=e.sent,e.next=13,i.json();case 13:return c=e.sent,h.a.log(c),e.abrupt("return",c);case 18:throw e.prev=18,e.t0=e.catch(7),new Error(e.t0);case 21:e.next=24;break;case 23:return e.abrupt("return",new a.a(function(e,n){var r=void 0;r=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject;var o="";"POST"===f&&(o=t(d)),r.withCredentials=!0,r.crossDomain=!0,r.open(f,l,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded;application/json;charset=utf-8"),r.send(o),r.onreadystatechange=function(){if(4===r.readyState)if(200===r.status){var t=r.response;"object"!==(void 0===t?"undefined":s()(t))&&(t=JSON.parse(t)),h.a.log(t),e(t)}else n(r)}}));case 24:case"end":return e.stop()}},e,m,[[7,18]])}));return function(){return e.apply(this,arguments)}}()},NHnr:function(e,t,n){"use strict";function r(e){n("XXqO")}function o(e){n("oylP")}function i(e){n("3qdi")}function a(e){n("CTE2")}function c(e){if(e.$root===e)return"root";var t=e._isVue?e.$options&&e.$options.name||e.$options&&e.$options._componentTag:e.name;return(t?"component <"+t+">":"anonymous component")+(e._isVue&&e.$options&&e.$options.__file?" at "+(e.$options&&e.$options.__file):"")}Object.defineProperty(t,"__esModule",{value:!0});var u=n("7+uW"),l={name:"app"},s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("transition",{attrs:{name:"router-fade",mode:"out-in"}},[n("keep-alive",[n("router-view")],1)],1)],1)},d=[],f={render:s,staticRenderFns:d},h=f,p=n("VU/8"),m=r,g=p(l,h,!1,m,null,null),v=g.exports,b=n("/ocq"),x=n("uaSg"),y=n("6BrK"),w=n("qedb"),O={name:"HeaderView",data:function(){return{}}},z=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"_header",staticStyle:{background:"yellow"}},[e._v("\n this is header\n")])},j=[],S={render:z,staticRenderFns:j},_=S,k=n("VU/8"),P=o,E=k(O,_,!1,P,"data-v-70cfa9b7",null),M=E.exports,I={name:"FooterView",props:{list:{type:Array}},data:function(){return{showInfo:!1,urlParam:{}}},update:{},mounted:function(){var e=this;this.$nextTick(function(){var t=e.$router.history.current.name;-1!==e.list.findObjIndex("url",t)&&(e.showInfo=!0)})},methods:{selectTabbar:function(e){this.list.map(function(e){return e.flag=!1}),this.list[e].flag=!0;var t=this.list[e];w.a.log(t),this.$emit("selectTabbar",t)},getStyle:function(e){return{backgroundImage:"url("+(e.flag?e.img_s:e.img_n)+")"}}}},A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tabbar ub max-width"},e._l(e.list,function(t,r){return n("div",{staticClass:"ub-f1 ub ub-ver tx-c controller ub-pc ub-ac",on:{click:function(t){e.selectTabbar(r)}}},[n("div",{staticStyle:{"background-repeat":"no-repeat","background-size":"100% 100%",width:"0.26rem",height:"0.26rem"},style:e.getStyle(t)}),e._v(" "),n("div",{class:t.flag?"select_title":"normal_title"},[e._v(e._s(t.name))])])}),0)},T=[],R={render:A,staticRenderFns:T},$=R,C=n("VU/8"),D=i,H=C(I,$,!1,D,"data-v-30b1b041",null),U=H.exports,q=n("r47a"),F=n("Au9i"),N=n.n(F),L=["home"],Q=["HotelReservation"],V=["trip_list"],Y=["user_center"],B=L.concat(Q,V,Y),J={name:"MainView",components:{HeaderView:M,FooterView:U},data:function(){return{selectIndex:0,showHeader:!1,showFooter:!0,list:[]}},watch:{$route:function(e,t){this.setInfo(e.name),wx.ready(function(){wx.onMenuShareTimeline({title:"蜘蛛出行-"+document.title,link:encodeURI(window.location.href),imgUrl:"http://img.zhizhuchuxing.cn/zzwx/logo.jpg"}),wx.onMenuShareAppMessage({title:"蜘蛛出行-"+document.title,desc:"【蜘蛛出行】安全舒适便捷的巴士出行品牌",link:encodeURI(window.location.href),imgUrl:"http://img.zhizhuchuxing.cn/zzwx/logo.jpg",type:"link"})})}},mounted:function(){this.load(),"micromessenger"===w.a.myBrowser().appType&&Object(q.l)({url:encodeURI(window.location.href)}).then(function(e){wx.config({debug:!1,appId:e.appId,timestamp:e.timestamp,nonceStr:e.nonceStr,signature:e.signature,jsApiList:["onMenuShareTimeline","onMenuShareAppMessage"]}),wx.ready(function(){wx.onMenuShareTimeline({title:"蜘蛛出行-"+document.title,link:encodeURI(window.location.href),imgUrl:"http://img.zhizhuchuxing.cn/zzwx/logo.jpg"}),wx.onMenuShareAppMessage({title:"蜘蛛出行-"+document.title,desc:"【蜘蛛出行】安全舒适便捷的巴士出行品牌",link:encodeURI(window.location.href),imgUrl:"http://img.zhizhuchuxing.cn/zzwx/logo.jpg",type:"link"})})})},methods:{load:function(){var e=this;Object(q.G)().then(function(t){if(t.flag){e.list=t.data.list,w.a.log(e.list),e.list.map(function(t){e.$set(t,"flag",!1)});var n=e.$router.history.current.name;e.setInfo(n)}else Object(F.Toast)(t.msg)}).catch(function(e){Object(F.Toast)(y.a.infoApiError)})},setInfo:function(e){this.list.map(function(t){t.url===e&&(t.flag=!0)}),this.showFooter=-1!==B.indexOf(e)},selectTabbar:function(e){w.a.$router.push(this,{name:e.url})}}},X=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main"},[e.showHeader?n("header-view"):e._e(),e._v(" "),n("router-view"),e._v(" "),n("footer-view",{directives:[{name:"show",rawName:"v-show",value:e.showFooter,expression:"showFooter"}],attrs:{list:e.list},on:{selectTabbar:e.selectTabbar}})],1)},K=[],G={render:X,staticRenderFns:K},W=G,Z=n("VU/8"),ee=a,te=Z(J,W,!1,ee,null,null),ne=te.exports;u.default.use(b.a);var re=function(){return Promise.all([n.e(0),n.e(13)]).then(n.bind(null,"nU8l"))},oe=function(){return n.e(15).then(n.bind(null,"l2B0"))},ie=function(){return Promise.all([n.e(0),n.e(8)]).then(n.bind(null,"AtxW"))},ae=function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,"Qd/6"))},ce=function(){return Promise.all([n.e(0),n.e(11)]).then(n.bind(null,"TFeZ"))},ue=function(){return n.e(29).then(n.bind(null,"DJy/"))},le=function(){return Promise.all([n.e(0),n.e(2)]).then(n.bind(null,"HRBJ"))},se=function(){return n.e(12).then(n.bind(null,"li7+"))},de=function(){return Promise.all([n.e(0),n.e(4)]).then(n.bind(null,"EVSH"))},fe=function(){return Promise.all([n.e(0),n.e(31)]).then(n.bind(null,"8//y"))},he=function(){return Promise.all([n.e(0),n.e(5)]).then(n.bind(null,"qRkg"))},pe=function(){return Promise.all([n.e(0),n.e(21)]).then(n.bind(null,"DawN"))},me=function(){return Promise.all([n.e(0),n.e(6)]).then(n.bind(null,"Pvk3"))},ge=function(){return Promise.all([n.e(0),n.e(10)]).then(n.bind(null,"559U"))},ve=function(){return Promise.all([n.e(0),n.e(3)]).then(n.bind(null,"5aH0"))},be=function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,"zfPY"))},xe=function(){return n.e(18).then(n.bind(null,"h/Or"))},ye=function(){return n.e(14).then(n.bind(null,"zQCI"))},we=function(){return Promise.all([n.e(0),n.e(7)]).then(n.bind(null,"8bWi"))},Oe=function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"yQvC"))},ze=function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,"CE8I"))},je=function(){return n.e(28).then(n.bind(null,"wrX3"))},Se=function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"sHQl"))},_e=function(){return Promise.all([n.e(0),n.e(20)]).then(n.bind(null,"K1Yj"))},ke=function(){return Promise.all([n.e(0),n.e(24)]).then(n.bind(null,"Lyc+"))},Pe=function(){return n.e(9).then(n.bind(null,"rqbd"))},Ee=function(){return n.e(26).then(n.bind(null,"H22y"))},Me=function(){return Promise.all([n.e(0),n.e(25)]).then(n.bind(null,"85Kz"))},Ie=function(){return Promise.all([n.e(0),n.e(27)]).then(n.bind(null,"Bo7J"))},Ae=function(){return Promise.all([n.e(0),n.e(23)]).then(n.bind(null,"I8eF"))},Te=function(){return Promise.all([n.e(0),n.e(30)]).then(n.bind(null,"rWmb"))},Re=new b.a({mode:x.b,base:x.d,routes:[{path:"/main",name:"main",component:ne,children:[{path:"/main/home",name:"home",meta:{title:"首页"},component:re},{path:"/main/prod_search",name:"prod_search",meta:{title:"搜索页面"},component:oe},{path:"/main/scenic_spot",name:"scenic_spot",meta:{title:"景区直通车"},component:ie},{path:"/main/prod",name:"prod",meta:{title:"目的地玩乐"},component:ae},{path:"/main/product_list",name:"showProdList",meta:{title:"产品列表"},component:ce},{path:"/main/bus/search_bus",name:"search_bus",meta:{title:"我要找车"},component:ue},{path:"/main/bus/fill_bus_order",name:"fill_bus_order",meta:{title:"填写订单"},component:le},{path:"/main/bus/watch_seats",name:"watch_seats",meta:{title:"查看座位"},component:se},{path:"/main/bus/choose_seats",name:"choose_seats",meta:{title:"在线选座位"},component:de},{path:"/main/bus/send_car_info",name:"send_car_info",meta:{title:"出行车辆信息"},component:fe},{path:"/main/ticket/create_ticket_order",name:"createTicketOrder",meta:{title:"门票"},component:he},{path:"/main/ticket/fill_ticket_order",name:"fillTicketOrder",meta:{title:"填写订单"},component:pe},{path:"/main/free/freeOrder",name:"freeOrder",meta:{title:"巴士自由行"},component:me},{path:"/main/free/fillFreeOrder",name:"fillFreeOrder",meta:{title:"填写订单"},component:ge},{path:"/main/hotel/list",name:"HotelList",meta:{title:"酒店列表"},component:ve},{path:"/main/hotel/detail",name:"HotelDetail",meta:{title:"酒店详情"},component:be},{path:"/main/hotel/detail/desc",name:"HotelDetailDesc",meta:{title:"酒店详情"},component:xe},{path:"/main/hotel/map",name:"HotelMap",meta:{title:"酒店地图"},component:ye},{path:"/main/hotel/reservation",name:"HotelReservation",meta:{title:"酒店预订"},component:we},{path:"/main/hotel/fill_hotel_order",name:"fillHotelOrder",meta:{title:"填写订单"},component:ze},{path:"/main/hotel/image_detail",name:"HotelImageDetail",meta:{title:"酒店图片"},component:Oe},{path:"/main/hotel/choose_city",name:"chooseCity",meta:{title:"选择城市"},component:je},{path:"/main/pay/order_pay",name:"order_pay",meta:{title:"订单支付"},component:Se},{path:"/main/pay/pay_success",name:"order_success",meta:{title:"预定成功"},component:_e},{path:"/main/user/user_center",name:"user_center",meta:{title:"个人中心"},component:ke},{path:"/main/user/trip_list",name:"trip_list",meta:{title:"我的行程"},component:Ae},{path:"/main/user/order_list",name:"order_list",meta:{title:"订单列表"},component:Te},{path:"/main/user/order_detail",name:"order_detail",meta:{title:"订单详情"},component:Ie},{path:"/main/user/login",name:"login",meta:{title:"登录"},component:Pe},{path:"/main/user/add_common",name:"add_common",meta:{title:"添加评论"},component:Ee},{path:"/main/user/description_list",name:"description_list",meta:{title:"评论列表"},component:Me}]},{path:"/",name:"default",redirect:{name:"home"}},{path:"*",name:"404",redirect:{name:"home"}}]});Re.afterEach(function(e,t,n){window.scrollTo(0,0),e.meta.title&&(document.title=e.meta.title)});var $e=Re,Ce=(n("d8/S"),n("kNAH"),n("TJas")),De=(n("EKQ/"),n("cYAo"),n("dAEq")),He=n.n(De);u.default.use(N.a),u.default.use(Ce.Alert),u.default.use(Ce.Confirm),u.default.config.productionTip=!1,u.default.config.errorHandler=function(e,t,n){c(t),t.$options&&t.$options.propsData},new u.default({el:"#app",router:$e,template:"",components:{App:v}}),u.default.use(He.a,{ak:"qnG9Q2oSgfGlwLUBeYBp7gTvFUCk31me"})},XXqO:function(e,t){},cYAo:function(e,t){},"d8/S":function(e,t){},kNAH:function(e,t){!function(e,t){var n=e.documentElement,r="orientationchange"in window?"orientationchange":"resize",o=function(){var e=n.clientWidth;(e=e>540?540:e)&&(n.style.fontSize=e/375*100+"px")};e.addEventListener&&(t.addEventListener(r,o,!1),e.addEventListener("DOMContentLoaded",o,!1))}(document,window)},oylP:function(e,t){},qedb:function(e,t,n){"use strict";var r=n("mvHQ"),o=n.n(r),a=n("woOf"),c=n.n(a),u=n("pFYg"),l=n.n(u);Object.defineProperty(Array.prototype,"findObjIndex",{value:function(e,t){for(var n=-1,r=0;rthis.length)return!1;this.splice(e,1)}}),Object.defineProperty(Array.prototype,"pushItemAtIndex",{value:function(e,t){if(isNaN(t)||t>this.length)return!1;this.splice(t,0,e)}}),Object.defineProperty(Object.prototype,"URLQueryString",{value:function(){var e=[];for(var t in this)if("function"!=typeof this[t]){var n=t+"="+this[t];e.push(n)}return e.join("&")}}),Object.defineProperty(Object,"objectWithURLQuery",{value:function(e){e=e||location.search;var t=e.replace(/^\s+/,"").replace(/\s+$/,"").match(/([^?#]*)(#.*)?$/);if(!t)return{};for(var n=t[1],r=n.split("&"),o={},i=0,a=r.length;i1?c.join("="):c[0];void 0!==l&&(l=decodeURIComponent(l)),u in o?(o[u].constructor!==Array&&(o[u]=[o[u]]),o[u].push(l)):o[u]=l}}return o}}),Object.defineProperty(Date.prototype,"dateFormat",{value:function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var n in t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e}}),Object.defineProperty(Date.prototype,"datePattern",{value:function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours()%12==0?12:this.getHours()%12,"H+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()},n={0:"/u65e5",1:"/u4e00",2:"/u4e8c",3:"/u4e09",4:"/u56db",5:"/u4e94",6:"/u516d"};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(e)&&(e=e.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"/u661f/u671f":"/u5468":"")+n[this.getDay()+""]),e=unescape(e.replace(/\u/g,"%u")).replace(/\//g,""));for(var r in t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e}}),Object.defineProperty(Date,"dayMinus",{value:function(e,t){return e instanceof Date&&t instanceof Date?Math.floor((t-e)/864e5):"Param error,date type!"}}),Object.defineProperty(Date,"yearMinus",{value:function(e,t){var n=e.getFullYear(),r=e.getMonth()+1,o=e.getDate(),i=t.getFullYear(),a=t.getMonth()+1,c=t.getDate(),u=i-n;return r>a?u--:r===a&&o>c&&u--,u}}),Object.defineProperty(String,"getRandName",{value:function(e){e=e||1;var t="赵,钱,孙,李,周,吴,郑,王,冯,陈,褚,卫,蒋,沈,韩,杨,朱,秦,尤,许,何,吕,施,张,孔,曹,严,华,金,魏,陶,姜,戚,谢,邹,喻,柏,水,窦,章,云,苏,潘,葛,奚,范,彭,郎,鲁,韦,昌,马,苗,凤,花,方,俞,任,袁,柳,酆,鲍,史,唐,费,廉,岑,薛,雷,贺,倪,汤,滕,殷,罗,毕,郝,邬,安,常,乐,于,时,傅,皮,卞,齐,康,伍,余,元,卜,顾,孟,平,黄,和,穆,萧,尹",n=t.split(","),r="司马,诸葛,呼延,欧阳,太史,端木,上官,东方,南宫,尉迟,宇文,长孙,司徒,令狐,公孙,慕容,百里,东郭,达奚,拓跋,申屠",o=r.split(","),i="子璇,淼,国栋,夫子,瑞堂,甜,敏,尚,国贤,贺祥,晨涛,昊轩,易轩,益辰,益帆,益冉,瑾春,瑾昆,春齐,杨,文昊,东东,雄霖,浩晨,熙涵,溶溶,冰枫,欣欣,宜豪,欣慧,建政,美欣,淑慧,文轩,文杰,欣源,忠林,榕润,欣汝,慧嘉,新建,建林,亦菲,林,冰洁,佳欣,涵涵,禹辰,淳美,泽惠,伟洋,涵越,润丽,翔,淑华,晶莹,凌晶,苒溪,雨涵,嘉怡,佳毅,子辰,佳琪,紫轩,瑞辰,昕蕊,萌,明远,欣宜,泽远,欣怡,佳怡,佳惠,晨茜,晨璐,运昊,汝鑫,淑君,晶滢,润莎,榕汕,佳钰,佳玉,晓庆,一鸣,语晨,添池,添昊,雨泽,雅晗,雅涵,清妍,诗悦,嘉乐,晨涵,天赫,玥傲,佳昊,天昊,萌萌,若萌",a=i.split(",");return 1!==e&&(n=o),n[Math.floor(n.length*Math.random())]+a[Math.floor(a.length*Math.random())]}}),Object.defineProperty(String,"getRandMobile",{value:function(){for(var e=["130","131","132","133","135","137","138","170","187","189"],t=parseInt(10*Math.random()),n=e[t],r=0;r<8;r++)n+=Math.floor(10*Math.random());return n}}),Object.defineProperty(String,"getUUID",{value:function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)})}}),Object.defineProperty(String,"getRdStr",{value:function(e){e=e||1;for(var t="";t.length=0;a--){switch(o){case 0:i=n[7]+i;break;case 4:new RegExp("0{4}//d{"+(r[0].length-a-1)+"}$").test(r[0])||(i=n[4]+i);break;case 8:i=n[5]+i,n[7]=n[5],o=0}o%4==2&&0!=r[0].charAt(a+2)&&0==r[0].charAt(a+1)&&(i=t[0]+i),0!=r[0].charAt(a)&&(i=t[r[0].charAt(a)]+n[o%4]+i),o++}if(r.length>1){i+=n[6];for(var a=0;a=0;r--){if(t[0].length>10)return"";var o="",a=t[0].charAt(r);switch(a){case"0":o="零"+o;break;case"1":o="壹"+o;break;case"2":o="贰"+o;break;case"3":o="叁"+o;break;case"4":o="肆"+o;break;case"5":o="伍"+o;break;case"6":o="陆"+o;break;case"7":o="柒"+o;break;case"8":o="捌"+o;break;case"9":o="玖"+o}switch(t[0].length-r-1){case 0:o+="元";break;case 1:0!=a&&(o+="拾");break;case 2:0!=a&&(o+="佰");break;case 3:0!=a&&(o+="仟");break;case 4:o+="万";break;case 5:0!=a&&(o+="拾");break;case 6:0!=a&&(o+="佰");break;case 7:0!=a&&(o+="仟");break;case 8:o+="亿";break;case 9:o+="拾"}var n=o+n}if(-1!=e.indexOf("."))for(t[1].length>2&&(t[1]=t[1].substr(0,2)),i=0;i0?(r--,t.toDo(o)):(clearInterval(n),n=null,t.didStop())},t.interval)},d.clone=function(e){if(null===e||"object"!==(void 0===e?"undefined":l()(e)))return e;if(e instanceof Date){var t=new Date;return t.setTime(e.getTime()),t}if(e instanceof Array){for(var n=[],r=0,o=e.length;r=0?n=r.value:d.clearStorage(e)}}return n},d.clearStorage=function(e){var t=window.localStorage;t&&(e?t.removeItem(e):t.clear())},d.setStorJson=function(e,t,n){t&&d.setStorage(e,o()(t),n)},d.getStorJson=function(e){var t=null,n=d.getStorage(e);return n&&(t=JSON.parse(n)),t},d.navDom=function(e){return document.querySelectorAll(e)},d.navDomEach=function(e,t){for(var n=document.querySelectorAll(e),r=0;r-1;t.isOpera=n;var r=e.indexOf("Firefox")>-1;t.isFirefox=r;var o=e.indexOf("Chrome")>-1;t.isChrome=o;var i=e.indexOf("Safari")>-1;t.isSafari=i,o===i&&(t.isSafari=!1);var a=!1,c=!1,u=-1,l=!1,s=!1;if(e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!n){a=!0,c=!0;var d=navigator.appName,f=navigator.appVersion,h=f.split(";"),p="Microsoft Internet Explorer",m=h[1].replace(/[ ]/g,"");u=p===d&&"MSIE6.0"===m?6:p===d&&"MSIE7.0"===m?7:p===d&&"MSIE8.0"===m?8:p===d&&"MSIE9.0"===m?9:10}if(window.ActiveXObject||"ActiveXObject"in window){var g=e.indexOf("Edge")>-1&&!a,v=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;l=g,s=v,a=!0,s&&(u=11)}t.isIE=a,t.isIE_1_10=c,t.IEVersion=u,t.isEdge=l,t.isIE11=s,t.appType="browser";var b=e.toLocaleLowerCase(),x=b.match(/Alipay/i),y=b.match(/MicroMessenger/i);return x&&"alipay"===x[0]?t.appType="alipay":y&&"micromessenger"===y[0]&&(t.appType="micromessenger"),t},d.open=function(e){var t=e.path||"",n=e.param||{},r=[];for(var o in n){var i=n[o]?n[o]:"";r.push(o+"="+i)}var a=r.join("&"),c=location.origin+"/#"+t+"?"+a;window.open(c)},d.urlCommon=function(){var e=d.getPar("fx_uid");return""===e?(e=d.getCookie("fx_uid"))&&"null"!==e&&void 0!==e&&""!==e||(e=0):d.setCookie("fx_uid",e,"h12"),{fx_uid:e}},d.urlCommon(),d.$router={},d.$router.push=function(e,t){var n=d.urlCommon();t.hasOwnProperty("query")||(t.query={}),t.query=c()(t.query,n),d.log(t.query.URLQueryString()),d.log(e.$router),"order_pay"===t.name?function(){var e=window.location.origin,n=window.location.pathname,r="?#/main/pay/order_pay?"+t.query.URLQueryString(),o=e+n+r;window.location.href=o}():e.$router.push(t)},d.$router.replace=function(e,t){var n=d.urlCommon();t.hasOwnProperty("query")||(t.query={}),t.query=c()(t.query,n),"order_pay"===t.name?function(){var e=window.location.origin,n="/?#/main/pay/order_pay?"+t.query.URLQueryString();window.location.href=e+n}():e.$router.replace(t)},d.addClass=function(e,t){var n=e.className,r=""!==n?" ":"";added=n+r+t,e.className=added},d.removeClass=function(e,t){var n=" "+e.className+" ";n=n.replace(/(\s+)/gi," ");var r=n.replace(" "+t+" "," ");r=r.replace(/(^\s+)|(\s+$)/g,""),e.className=r},d.hasClass=function(e,t){var n=e.className,r=n.split(/\s+/);x=0;for(x in r)if(r[x]===t)return!0;return!1};t.a=d},r47a:function(e,t,n){"use strict";n.d(t,"E",function(){return i}),n.d(t,"G",function(){return a}),n.d(t,"z",function(){return c}),n.d(t,"y",function(){return u}),n.d(t,"Q",function(){return l}),n.d(t,"j",function(){return s}),n.d(t,"k",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"i",function(){return h}),n.d(t,"m",function(){return p}),n.d(t,"o",function(){return m}),n.d(t,"K",function(){return g}),n.d(t,"R",function(){return v}),n.d(t,"O",function(){return b}),n.d(t,"J",function(){return x}),n.d(t,"e",function(){return y}),n.d(t,"D",function(){return w}),n.d(t,"p",function(){return O}),n.d(t,"N",function(){return z}),n.d(t,"a",function(){return j}),n.d(t,"A",function(){return S}),n.d(t,"S",function(){return _}),n.d(t,"n",function(){return k}),n.d(t,"H",function(){return P}),n.d(t,"g",function(){return E}),n.d(t,"v",function(){return M}),n.d(t,"c",function(){return I}),n.d(t,"x",function(){return A}),n.d(t,"f",function(){return T}),n.d(t,"M",function(){return R}),n.d(t,"B",function(){return $}),n.d(t,"C",function(){return C}),n.d(t,"b",function(){return D}),n.d(t,"P",function(){return H}),n.d(t,"w",function(){return U}),n.d(t,"I",function(){return q}),n.d(t,"L",function(){return F}),n.d(t,"r",function(){return N}),n.d(t,"t",function(){return L}),n.d(t,"F",function(){return Q}),n.d(t,"d",function(){return V}),n.d(t,"u",function(){return Y}),n.d(t,"s",function(){return B}),n.d(t,"q",function(){return J}),n.d(t,"l",function(){return X});var r=n("KOga"),o=n("6BrK"),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/home-list",e)},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/get-bottom",e)},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/get-prod-by-poi",e)},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/bus/get-prod-arr",e)},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/prod-list",e)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/destination/init",e)},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/destination/get-ticket",e)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/destination/get-food",e)},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/destination/get-itinerary",e)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/free-walker/initialize",e)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/free-walker/get-free-walk-insure",e)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/order/order/make-order",e)},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/login/start-gee",e,"get")},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/login/send-login-msg",e)},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/login/do-login",e)},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)("/zzcx/user/login/check-login",{}).then(function(t){!1===t.flag?t.code===o.a.codeNotLogin&&e.unlogin&&e.unlogin():e.login&&e.login()})},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/user/get-user-info",e)},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/get-hot",e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/home/search",e)},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/add-travel",e)},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/prod/get-prod-comment",e)},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/watch-seats",e)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/get-bus-position",e)},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/init-chose-seat",e)},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/chose-seat",e)},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/order/get-order-info",e)},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/order/cancel",e)},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/order/order/get-pay-date",e)},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/order/order/check-order-status",e)},R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/order/order/check-hotel",e)},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/order/order/get-recommend",e)},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/get-travel-list",e)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/book-travel-msg",e)},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/travel/send-travel-msg",e)},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/order/get-list",e)},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/men-p/initialize",e)},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/men-p/get-prod-arr",e)},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/get-info",e)},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/get-room-list",e)},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/make-order",e)},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/check-hotel",e)},Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/get-hotel-type",e)},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/get-hotel-list",e)},J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/home/hotel/get-hotel-area",e)},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)("/zzcx/user/login/get-fx",e)}},uaSg:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"d",function(){return a});var r="",o=!0,i="",a="";r="",o=!1}},["NHnr"]);