text: webpackJsonp([4],{103:function(t,i,e){"use strict";var o=e(24),s=e.n(o),n=e(23);i.a={get:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s()({method:"get",params:i,url:n.b+t,withCredentials:!0})},post:function(t,i){return s()({method:"post",url:n.b+t,data:i,withCredentials:!0})},url:function(t){return n.b+t},formData:function(t,i){return s()({method:"post",url:n.b+t,data:i,headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){var i="";for(var e in t)i+=encodeURIComponent(e)+"="+encodeURIComponent(t[e])+"&";return i}],withCredentials:!0})}}},104:function(t,i,e){function o(t){e(116)}var s=e(48)(e(108),e(121),o,"data-v-d10cf5e0",null);t.exports=s.exports},105:function(t,i,e){"use strict";function o(t,i,e,o,n){var r={front_ua:n.userAgent,front_ip:window.returnCitySN.cip,curr_page_id:t,list_page_id:i,btn_id:e,next_page_id:o,front_time:Date.now()+"",platform_ver:"0.2.3",wifi_ssid:n.networkType?n.networkType:""};return s.a.post("/log/add",r)}i.a=o;var s=e(103)},106:function(t,i,e){"use strict";i.a={FANGYUANPAGE:"P041",TAB1:"B084",TAB2:"B085",LISTPAGE:"P052",FANGYUANLISTPAGE:"P053",SENDKEYUANPAGE:"P045",SENDKEYUANBTN:"B090",LISTPAGENBTN:"B089",LISTITEM:"B087",FANGYUANDETAILPAGE:"P044",SENDKEBTN:"B107",KEYUANPAGE:"P042",KEYUANLIST:"B091",FABUKEYUAN:"B092",KEYUANDETAIL:"P047",SENDFANGYUANPAGE:"P048"}},107:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={props:{text:{type:String,default:""},flag:{type:Boolean,default:!0},confirmBtnText:{type:String,default:"确定"},cancelBtnText:{type:String,default:"取消"}},data:function(){return{showFlag:!1}},methods:{show:function(){this.showFlag=!0},hide:function(){this.showFlag=!1},cancel:function(){this.hide(),this.$emit("cancel")},confirm:function(){this.hide(),this.$emit("confirm")}}}},108:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=e(110);i.default={props:{probeType:{type:Number,default:3},click:{type:Boolean,default:!0},listenScroll:{type:Boolean,default:!1},clildPhone:{type:String,default:""},data:{type:Array,default:null},pullup:{type:Boolean,default:!1},touchEnd:{type:Boolean,default:!1},beforeScroll:{type:Boolean,default:!1},flick:{type:Boolean,default:!1},refreshDelay:{type:Number,default:20}},mounted:function(){var t=this;setTimeout(function(){t._initScroll()},20)},methods:{_initScroll:function(){var t=this;if(this.$refs.wrapper){if(this.scroll=new o.a(this.$refs.wrapper,{probeType:this.probeType,click:this.click}),this.listenScroll){var i=this;this.scroll.on("scroll",function(e){e.movingDirectionY=t.scroll.movingDirectionY,e.maxScrollY=t.scroll.maxScrollY,i.$emit("scroll",e)})}this.pullup&&this.scroll.on("scrollEnd",function(){t.scroll.y<=t.scroll.maxScrollY+50&&t.$emit("scrollToEnd")}),this.touchEnd&&this.scroll.on("touchEnd",function(i){t.$emit("touchEnd",i)}),this.beforeScroll&&this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScroll")}),this.flick&&this.scroll.on("flick",function(){t.$emit("flick")})}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)}},watch:{data:function(){var t=this;setTimeout(function(){t.refresh()},this.refreshDelay)}}}},109:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default={props:{title:{type:String,default:""}},methods:{back:function(){this.$router.back()}}}},110:function(t,i,e){"use strict";function o(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function s(t){for(var i=arguments.length,e=Array(i>1?i-1:0),o=1;o<i;o++)e[o-1]=arguments[o];for(var s=0;s<e.length;s++){var n=e[s];for(var r in n)t[r]=n[r]}return t}function n(t){return!1!==M&&("standard"===M?"transitionEnd"===t?"transitionend":t:M+t.charAt(0).toUpperCase()+t.substr(1))}function r(t,i,e,o){t.addEventListener(i,e,{passive:!1,capture:!!o})}function a(t,i,e,o){t.removeEventListener(i,e,{passive:!1,capture:!!o})}function l(t){for(var i=0,e=0;t;)i-=t.offsetLeft,e-=t.offsetTop,t=t.offsetParent;return{left:i,top:e}}function h(t){if(t instanceof window.SVGElement){var i=t.getBoundingClientRect();return{top:i.top,left:i.left,width:i.width,height:i.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function c(t,i){for(var e in i)if(i[e].test(t[e]))return!0;return!1}function p(t,i){var e=document.createEvent("Event");e.initEvent(i,!0,!0),e.pageX=t.pageX,e.pageY=t.pageY,t.target.dispatchEvent(e)}function d(t){var i=void 0;"mouseup"===t.type||"mousecancel"===t.type?i=t:"touchend"!==t.type&&"touchcancel"!==t.type||(i=t.changedTouches[0]);var e={};i&&(e.screenX=i.screenX||0,e.screenY=i.screenY||0,e.clientX=i.clientX||0,e.clientY=i.clientY||0);var o=void 0;"undefined"!=typeof MouseEvent?o=new MouseEvent("click",s({bubbles:!0,cancelable:!1},e)):(o=document.createEvent("Event"),o.initEvent("click",!0,!1),s(o,e)),o._constructed=!0,t.target.dispatchEvent(o)}function u(t,i){i.firstChild?f(t,i.firstChild):i.appendChild(t)}function f(t,i){i.parentNode.insertBefore(t,i)}function m(t,i){t.removeChild(i)}function g(t,i,e,o,s,n){var r=t-i,a=Math.abs(r)/e,l=n.deceleration,h=n.itemHeight,c=n.swipeBounceTime,p=n.wheel,d=n.swipeTime,u=d,f=p?4:15,m=t+a/l*(r<0?-1:1);return p&&h&&(m=Math.round(m/h)*h),m<o?(m=s?o-s/f*a:o,u=c):m>0&&(m=s?s/f*a:0,u=c),{destination:Math.round(m),duration:u}}function v(t){console.error("[BScroll warn]: "+t)}function x(t){var i=document.createElement("div"),e=document.createElement("div");return i.style.cssText="position:absolute;z-index:9999;pointerEvents:none",e.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",e.className="bscroll-indicator","horizontal"===t?(i.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",e.style.height="100%",i.className="bscroll-horizontal-scrollbar"):(i.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",e.style.width="100%",i.className="bscroll-vertical-scrollbar"),i.style.cssText+=";overflow:hidden",i.appendChild(e),i}function y(t,i){this.wrapper=i.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=i.direction,i.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,i.interactive&&this._addDOMEvents()}function b(t,i){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||v("can not resolve the wrapper dom"),this.scroller=this.wrapper.children[0],this.scroller||v("the wrapper need at least one child element to be scroller"),this.scrollerStyle=this.scroller.style,this._init(t,i)}/*!
   * better-normal-scroll v1.8.0
   * (c) 2016-2018 ustbhuangyi
   * Released under the MIT License.
   */
  var w=function(){function t(t,i){var e=[],o=!0,s=!1,n=void 0;try{for(var r,a=t[Symbol.iterator]();!(o=(r=a.next()).done)&&(e.push(r.value),!i||e.length!==i);o=!0);}catch(t){s=!0,n=t}finally{try{!o&&a.return&&a.return()}finally{if(s)throw n}}return e}return function(i,e){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return t(i,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=function(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)},T=navigator.userAgent.toLowerCase(),k=/wechatdevtools/.test(T),S=T.indexOf("android")>0,P=document.createElement("div").style,M=function(){var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var i in t)if(void 0!==P[t[i]])return i;return!1}(),E=n("transform"),Y=n("perspective")in P,X="ontouchstart"in window||k,A=!1!==E,D=n("transition")in P,C={transform:E,transitionTimingFunction:n("transitionTimingFunction"),transitionDuration:n("transitionDuration"),transitionProperty:n("transitionProperty"),transitionDelay:n("transitionDelay"),transformOrigin:n("transformOrigin"),transitionEnd:n("transitionEnd")},N=1,z={touchstart:N,touchmove:N,touchend:N,mousedown:2,mousemove:2,mouseup:2},W={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:700,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.001,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:X,disableTouch:!X,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1},O={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},H=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}}(),j=function(){return window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}}(),F=1,L=-1,B=1,I=-1;y.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},y.prototype.refresh=function(){this.transitionTime(),this._calculate(),this.updatePosition()},y.prototype.fade=function(t,i){var e=this;if(!i||this.visible){var o=t?250:500;t=t?"1":"0",this.wrapperStyle[C.transitionDuration]=o+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){e.wrapperStyle.opacity=t,e.visible=+t},0)}},y.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var i=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=i+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var e=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=e+"px",t=this.maxPosY+this.indicatorHeight-e}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[C.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var o=Math.round(this.sizeRatioX*this.scroller.x);if(o<0){this.transitionTime(500);var s=Math.max(this.indicatorWidth+3*o,8);this.indicatorStyle.width=s+"px",o=0}else if(o>this.maxPosX){this.transitionTime(500);var n=Math.max(this.indicatorWidth-3*(o-this.maxPosX),8);this.indicatorStyle.width=n+"px",o=this.maxPosX+this.indicatorWidth-n}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=o,this.scroller.options.useTransform?this.indicatorStyle[C.transform]="translateX("+o+"px)"+this.scroller.translateZ:this.indicatorStyle.left=o+"px"}},y.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[C.transitionDuration]=t+"ms"},y.prototype.transitionTimingFunction=function(t){this.indicatorStyle[C.transitionTimingFunction]=t},y.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},y.prototype._start=function(t){var i=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=i.pageX,this.lastPointY=i.pageY,this.startTime=o(),this._handleMoveEvents(r),this.scroller.trigger("beforeScrollStart")},y.prototype._move=function(t){var i=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var e=i.pageX-this.lastPointX;this.lastPointX=i.pageX;var o=i.pageY-this.lastPointY;this.lastPointY=i.pageY;var s=this.x+e,n=this.y+o;this._pos(s,n)},y.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(a);var i=this.scroller.options.snap;if(i){var e=i.speed,o=i.easing,s=void 0===o?O.bounce:o,n=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=e||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-n.x),1e3),Math.min(Math.abs(this.scroller.y-n.y),1e3)),300);this.scroller.x===n.x&&this.scroller.y===n.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=n,this.scroller.scrollTo(n.x,n.y,r,s))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},y.prototype._pos=function(t,i){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),i<0?i=0:i>this.maxPosY&&(i=this.maxPosY),t=Math.round(t/this.sizeRatioX),i=Math.round(i/this.sizeRatioY),this.scroller.scrollTo(t,i),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},y.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var i=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(i*i/(this.scroller.scrollerWidth||i||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=i-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},y.prototype._addDOMEvents=function(){var t=r;this._handleDOMEvents(t)},y.prototype._removeDOMEvents=function(){var t=a;this._handleDOMEvents(t),this._handleMoveEvents(t)},y.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},y.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))},function(t){t.prototype._init=function(t,i){this._handleOptions(i),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype._handleOptions=function(t){this.options=s({},W,t),this.translateZ=this.options.HWCompositing&&Y?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&D,this.options.useTransform=this.options.useTransform&&A,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=r;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=a;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var i=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(i,"mousemove",this),t(i,"mousecancel",this),t(i,"mouseup",this)),X&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(i,"touchmove",this),t(i,"touchcancel",this),t(i,"touchend",this)),t(this.scroller,C.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,i=!1;Object.defineProperty(this,"isInTransition",{get:function(){return i},set:function(e){i=e;for(var o=t.scroller.children.length?t.scroller.children:[t.scroller],s=i&&!t.pulling?"none":"auto",n=0;n<o.length;n++)o[n].style.pointerEvents=s}})}},t.prototype._handleAutoBlur=function(){this.on("beforeScrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var i=void 0,e=new MutationObserver(function(e){if(!t._shouldNotRefresh()){for(var o=!1,s=!1,n=0;n<e.length;n++){var r=e[n];if("attributes"!==r.type){o=!0;break}if(r.target!==t.scroller){s=!0;break}}o?t.refresh():s&&(clearTimeout(i),i=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),o={attributes:!0,childList:!0,subtree:!0};e.observe(this.scroller,o),this.on("destroy",function(){e.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>0||this.x<this.maxScrollX||this.y>0||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){e=h(this.scroller);var t=e.width,n=e.height;o===t&&s===n||this.refresh(),o=t,s=n,i.call(this)}}function i(){var i=this;setTimeout(function(){t.call(i)},1e3)}var e=h(this.scroller),o=e.width,s=e.height;i.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(c(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t=h(this.wrapper);this.wrapperWidth=t.width,this.wrapperHeight=t.height;var i=h(this.scroller);this.scrollerWidth=i.width,this.scrollerHeight=i.height;var e=this.options.wheel;e?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=e.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=l(this.wrapper),this.trigger("refresh"),this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(b),function(t){t.prototype._start=function(t){var i=z[t.type];if((i===N||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==i)){this.initiated=i,this.options.preventDefault&&!c(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=o(),this.options.wheel&&(this.target=t.target),this.stop();var e=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=e.pageX,this.pointY=e.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&z[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var i=t.touches?t.touches[0]:t,e=i.pageX-this.pointX,s=i.pageY-this.pointY;this.pointX=i.pageX,this.pointY=i.pageY,this.distX+=e,this.distY+=s;var n=Math.abs(this.distX),r=Math.abs(this.distY),a=o();if(!(a-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&n<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(n>r+this.options.directionLockThreshold?this.directionLocked="h":r>=n+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);s=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);e=0}e=this.hasHorizontalScroll?e:0,s=this.hasVerticalScroll?s:0,this.movingDirectionX=e>0?I:e<0?B:0,this.movingDirectionY=s>0?L:s<0?F:0;var l=this.x+e,h=this.y+s;(l>0||l<this.maxScrollX)&&(l=this.options.bounce?this.x+e/3:l>0?0:this.maxScrollX),(h>0||h<this.maxScrollY)&&(h=this.options.bounce?this.y+s/3:h>0?0:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,h),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,1===this.options.probeType&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>1&&this.trigger("scroll",{x:this.x,y:this.y});var c=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,p=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,d=this.pointX-c,u=this.pointY-p;(d>document.documentElement.clientWidth-this.options.momentumLimitDistance||d<this.options.momentumLimitDistance||u<this.options.momentumLimitDistance||u>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&z[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!c(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var i=Math.round(this.x),e=Math.round(this.y),s=i-this.absStartX,n=e-this.absStartY;if(this.directionX=s>0?I:s<0?B:0,this.directionY=n>0?L:n<0?F:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,O.bounce)){this.scrollTo(i,e),this.endTime=o();var r=this.endTime-this.startTime,a=Math.abs(i-this.startX),l=Math.abs(e-this.startY);if(this._events.flick&&r<this.options.flickLimitTime&&a<this.options.flickLimitDistance&&l<this.options.flickLimitDistance)return void this.trigger("flick");var h=0;if(this.options.momentum&&r<this.options.momentumLimitTime&&(l>this.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var p=this.hasHorizontalScroll?g(this.x,this.startX,r,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options):{destination:i,duration:0},d=this.hasVerticalScroll?g(this.y,this.startY,r,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options):{destination:e,duration:0};i=p.destination,e=d.destination,h=Math.max(p.duration,d.duration),this.isInTransition=!0}else this.options.wheel&&(e=Math.round(e/this.itemHeight)*this.itemHeight,h=this.options.wheel.adjustTime||400);var u=O.swipe;if(this.options.snap){var f=this._nearestSnap(i,e);this.currentPage=f,h=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(i-f.x),1e3),Math.min(Math.abs(e-f.y),1e3)),300),i=f.x,e=f.y,this.directionX=0,this.directionY=0,u=this.options.snap.easing||O.bounce}if(i!==this.x||e!==this.y)return(i>0||i<this.maxScrollX||e>0||e<this.maxScrollY)&&(u=O.swipeBounce),void this.scrollTo(i,e,h,u);this.options.wheel&&(this.selectedIndex=Math.round(Math.abs(this.y/this.itemHeight))),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var i=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.className===this.options.wheel.wheelWrapperClass){var e=Math.abs(Math.round(this.y/this.itemHeight)),o=Math.round((this.pointY+l(this.target).top-this.itemHeight/2)/this.itemHeight);this.target=this.items[e+o]}return this.scrollToElement(this.target,this.options.wheel.adjustTime||400,!0,!0,O.swipe),!0}return!i&&(this.options.tap&&p(t,this.options.tap),this.options.click&&!c(t.target,this.options.preventDefaultException)&&d(t),!0)}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(S&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var e=i.getComputedPosition();if(i.trigger("scroll",e),!i.isInTransition)return void i.trigger("scrollEnd",e);i.probeTimer=H(t)}j(this.probeTimer),this.probeTimer=H(t);var i=this},t.prototype._transitionProperty=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";this.scrollerStyle[C.transitionProperty]=t},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[C.transitionDuration]=t+"ms",this.options.wheel)for(var i=0;i<this.items.length;i++)this.items[i].style[C.transitionDuration]=t+"ms";if(this.indicators)for(var e=0;e<this.indicators.length;e++)this.indicators[e].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[C.transitionTimingFunction]=t,this.options.wheel)for(var i=0;i<this.items.length;i++)this.items[i].style[C.transitionTimingFunction]=t;if(this.indicators)for(var e=0;e<this.indicators.length;e++)this.indicators[e].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),this.pulling||this.resetPosition(this.options.bounceTime,O.bounce)||(this.isInTransition=!1,3!==this.options.probeType&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,i){if(this.options.useTransform?this.scrollerStyle[C.transform]="translate("+t+"px,"+i+"px)"+this.translateZ:(t=Math.round(t),i=Math.round(i),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=i+"px"),this.options.wheel)for(var e=this.options.wheel.rotate,o=void 0===e?25:e,s=0;s<this.items.length;s++){var n=o*(i/this.itemHeight+s);this.items[s].style[C.transform]="rotateX("+n+"deg)"}if(this.x=t,this.y=i,this.indicators)for(var r=0;r<this.indicators.length;r++)this.indicators[r].updatePosition()},t.prototype._animate=function(t,i,e,s){function n(){var p=o();if(p>=c)return r.isAnimating=!1,r._translate(t,i),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));p=(p-h)/e;var d=s(p),u=(t-a)*d+a,f=(i-l)*d+l;r._translate(u,f),r.isAnimating&&(r.animateTimer=H(n)),3===r.options.probeType&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,l=this.y,h=o(),c=h+e;this.isAnimating=!0,j(this.animateTimer),n()},t.prototype.scrollBy=function(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O.bounce;t=this.x+t,i=this.y+i,this.scrollTo(t,i,e,o)},t.prototype.scrollTo=function(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O.bounce;this.isInTransition=this.options.useTransition&&e>0&&(t!==this.x||i!==this.y),!e||this.options.useTransition?(this._transitionProperty(),this._transitionTimingFunction(o.style),this._transitionTime(e),this._translate(t,i),e&&3===this.options.probeType&&this._startProbe(),this.options.wheel&&(i>0?this.selectedIndex=0:i<this.maxScrollY?this.selectedIndex=this.items.length-1:this.selectedIndex=Math.round(Math.abs(i/this.itemHeight)))):this._animate(t,i,e,o.fn)},t.prototype.scrollToElement=function(t,i,e,o,s){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.className===this.options.wheel.wheelItemClass)){var n=l(t);n.left-=this.wrapperOffset.left,n.top-=this.wrapperOffset.top,!0===e&&(e=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===o&&(o=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),n.left-=e||0,n.top-=o||0,n.left=n.left>0?0:n.left<this.maxScrollX?this.maxScrollX:n.left,n.top=n.top>0?0:n.top<this.maxScrollY?this.maxScrollY:n.top,this.options.wheel&&(n.top=Math.round(n.top/this.itemHeight)*this.itemHeight),this.scrollTo(n.left,n.top,i,s)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.bounce,e=this.x,o=Math.round(e);!this.hasHorizontalScroll||o>0?e=0:o<this.maxScrollX&&(e=this.maxScrollX);var s=this.y,n=Math.round(s);return!this.hasVerticalScroll||n>0?s=0:n<this.maxScrollY&&(s=this.maxScrollY),(e!==this.x||s!==this.y)&&(this.scrollTo(e,s,t,i),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),i=void 0,e=void 0;return this.options.useTransform?(t=t[C.transform].split(")")[0].split(", "),i=+(t[12]||t[4]),e=+(t[13]||t[5])):(i=+t.left.replace(/[^-\d.]/g,""),e=+t.top.replace(/[^-\d.]/g,"")),{x:i,y:e}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1;var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[Math.round(-t.y/this.itemHeight)]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),this._removeDOMEvents(),this._events={}}}(b),function(t){t.prototype.on=function(t,i){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([i,e])},t.prototype.once=function(t,i){function e(){this.off(t,e),i.apply(o,arguments)}var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;e.fn=i,this.on(t,e)},t.prototype.off=function(t,i){var e=this._events[t];if(e)for(var o=e.length;o--;)(e[o][0]===i||e[o][0]&&e[o][0].fn===i)&&(e[o][0]=void 0)},t.prototype.trigger=function(t){var i=this._events[t];if(i)for(var e=i.length,o=[].concat(_(i)),s=0;s<e;s++){var n=o[s],r=w(n,2),a=r[0],l=r[1];a&&a.apply(l,[].slice.call(arguments,1))}}}(b),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var i=this.options.snap;if(i.loop){var e=this.scroller.children;e.length>0&&(u(e[e.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(e[1].cloneNode(!0)))}var o=i.el;"string"==typeof o&&(o=this.scroller.querySelectorAll(o)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var e=i.stepX||t.wrapperWidth,s=i.stepY||t.wrapperHeight,n=0,r=void 0,a=void 0,l=void 0,c=0,p=void 0,d=0,u=void 0,f=void 0;if(o)for(p=o.length,u=-1;c<p;c++)f=h(o[c]),(0===c||f.left<=h(o[c-1]).left)&&(d=0,u++),t.pages[d]||(t.pages[d]=[]),n=Math.max(-f.left,t.maxScrollX),r=Math.max(-f.top,t.maxScrollY),a=n-Math.round(f.width/2),l=r-Math.round(f.height/2),t.pages[d][u]={x:n,y:r,width:f.width,height:f.height,cx:a,cy:l},n>t.maxScrollX&&d++;else for(a=Math.round(e/2),l=Math.round(s/2);n>-t.scrollerWidth;){for(t.pages[c]=[],p=0,r=0;r>-t.scrollerHeight;)t.pages[c][p]={x:Math.max(n,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:e,height:s,cx:n-a,cy:r-l},r-=s,p++;n-=e,c++}var m=i.loop?1:0;t._goToPage(t.currentPage.pageX||m,t.currentPage.pageY||0,0);var g=i.threshold;g%1==0?(t.snapThresholdX=g,t.snapThresholdY=g):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*g),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*g))}}),this.on("scrollEnd",function(){i.loop&&(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0))}),!1!==i.listenFlick&&this.on("flick",function(){var e=i.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,e)}),this.on("destroy",function(){if(i.loop){var e=t.scroller.children;e.length>2&&(m(t.scroller,e[e.length-1]),m(t.scroller,e[0]))}})},t.prototype._nearestSnap=function(t,i){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var e=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(i-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),i>0?i=0:i<this.maxScrollY&&(i=this.maxScrollY);for(var o=this.pages.length;e<o;e++)if(t>=this.pages[e][0].cx){t=this.pages[e][0].x;break}o=this.pages[e].length;for(var s=0;s<o;s++)if(i>=this.pages[0][s].cy){i=this.pages[0][s].y;break}return e===this.currentPage.pageX&&(e+=this.directionX,e<0?e=0:e>=this.pages.length&&(e=this.pages.length-1),t=this.pages[e][0].x),s===this.currentPage.pageY&&(s+=this.directionY,s<0?s=0:s>=this.pages[0].length&&(s=this.pages[0].length-1),i=this.pages[0][s].y),{x:t,y:i,pageX:e,pageY:s}},t.prototype._goToPage=function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments[2],o=arguments[3],s=this.options.snap;if(s&&this.pages&&(o=o||s.easing||O.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){i>=this.pages[t].length?i=this.pages[t].length-1:i<0&&(i=0);var n=this.pages[t][i].x,r=this.pages[t][i].y;e=void 0===e?s.speed||Math.max(Math.max(Math.min(Math.abs(n-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):e,this.currentPage={x:n,y:r,pageX:t,pageY:i},this.scrollTo(n,r,e,o)}},t.prototype.goToPage=function(t,i,e,o){var s=this.options.snap;if(s){if(s.loop){var n=this.pages.length-2;t>=n?t=n-1:t<0&&(t=0),t+=1}this._goToPage(t,i,e,o)}},t.prototype.next=function(t,i){var e=this.currentPage.pageX,o=this.currentPage.pageY;e++,e>=this.pages.length&&this.hasVerticalScroll&&(e=0,o++),this._goToPage(e,o,t,i)},t.prototype.prev=function(t,i){var e=this.currentPage.pageX,o=this.currentPage.pageY;e--,e<0&&this.hasVerticalScroll&&(e=0,o--),this._goToPage(e,o,t,i)},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?s({},this.currentPage,{pageX:this.currentPage.pageX-1}):this.currentPage:null}}(b),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,v("wheel option selectedIndex is required!"))}}(b),function(t){t.prototype._initScrollbar=function(){var t=this,i=this.options.scrollbar,e=i.fade,o=void 0===e||e,s=i.interactive,n=void 0!==s&&s;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:x("horizontal"),direction:"horizontal",fade:o,interactive:n},this._insertScrollBar(r.el),this.indicators.push(new y(this,r))),this.options.scrollY&&(r={el:x("vertical"),direction:"vertical",fade:o,interactive:n},this._insertScrollBar(r.el),this.indicators.push(new y(this,r))),this.on("refresh",function(){for(var i=0;i<t.indicators.length;i++)t.indicators[i].refresh()}),o&&(this.on("scrollEnd",function(){for(var i=0;i<t.indicators.length;i++)t.indicators[i].fade()}),this.on("scrollCancel",function(){for(var i=0;i<t.indicators.length;i++)t.indicators[i].fade()}),this.on("scrollStart",function(){for(var i=0;i<t.indicators.length;i++)t.indicators[i].fade(!0)}),this.on("beforeScrollStart",function(){for(var i=0;i<t.indicators.length;i++)t.indicators[i].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(b),function(t){t.prototype._initPullDown=function(){this.options.probeType=3},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,i=t.threshold,e=void 0===i?90:i,o=t.stop,s=void 0===o?40:o;return!(this.directionY!==L||this.y<e)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,s,this.options.bounceTime,O.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,O.bounce)}}(b),function(t){t.prototype._initPullUp=function(){this.options.probeType=3,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){function t(i){var o=this;this.movingDirectionY===F&&i.y<=this.maxScrollY+e&&(this.once("scrollEnd",function(){o.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",t))}this.pullupWatching=!0;var i=this.options.pullUpLoad.threshold,e=void 0===i?0:i;this.on("scroll",t)},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()}}(b),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(r),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),t._handleMouseWheelEvent(a)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var i=this;if(this.enabled){t.preventDefault(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1,clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){i.options.snap||i.trigger("scrollEnd",{x:i.x,y:i.y}),i.firstWheelOpreation=!0},400);var e=this.options.mouseWheel,o=e.speed,s=void 0===o?20:o,n=e.invert,r=void 0!==n&&n,a=void 0,l=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(a=-t.deltaX*s,l=-t.deltaY*s):(a=-t.deltaX,l=-t.deltaY);break;case"wheelDeltaX"in t:a=t.wheelDeltaX/120*s,l=t.wheelDeltaY/120*s;break;case"wheelDelta"in t:a=l=t.wheelDelta/120*s;break;case"detail"in t:a=l=-t.detail/3*s;break;default:return}var h=r?-1:1;a*=h,l*=h,this.hasVerticalScroll||(a=l,l=0);var c=void 0,p=void 0;if(this.options.snap)return c=this.currentPage.pageX,p=this.currentPage.pageY,a>0?c--:a<0&&c++,l>0?p--:l<0&&p++,void this._goToPage(c,p);c=this.x+Math.round(this.hasHorizontalScroll?a:0),p=this.y+Math.round(this.hasVerticalScroll?l:0),this.directionX=a>0?-1:a<0?1:0,this.directionY=l>0?-1:l<0?1:0,c>0?c=0:c<this.maxScrollX&&(c=this.maxScrollX),p>0?p=0:p<this.maxScrollY&&(p=this.maxScrollY),this.scrollTo(c,p),this.trigger("scroll",{x:this.x,y:this.y})}}}(b),b.Version="1.8.0",i.a=b},111:function(t,i,e){i=t.exports=e(94)(!1),i.push([t.i,".confirm[data-v-95ddd01c]{position:fixed;left:0;right:0;top:0;bottom:0;z-index:998;background-color:rgba(0,0,0,.5)}.confirm.confirm-fade-enter-active[data-v-95ddd01c]{-webkit-animation:confirm-fadein-data-v-95ddd01c .3s;animation:confirm-fadein-data-v-95ddd01c .3s}.confirm.confirm-fade-enter-active .confirm-content[data-v-95ddd01c]{-webkit-animation:confirm-zoom-data-v-95ddd01c .3s;animation:confirm-zoom-data-v-95ddd01c .3s}.confirm .confirm-wrapper[data-v-95ddd01c]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:999}.confirm .confirm-wrapper .confirm-content[data-v-95ddd01c]{width:270px;border-radius:13px;background:#fff}.confirm .confirm-wrapper .confirm-content .text[data-v-95ddd01c]{padding:19px 15px;line-height:22px;text-align:center;font-size:18px;color:rgba(0,0,0,.9)}.confirm .confirm-wrapper .confirm-content .operate[data-v-95ddd01c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;font-size:18px}.confirm .confirm-wrapper .confirm-content .operate .operate-btn[data-v-95ddd01c]{-webkit-box-flex:1;-ms-flex:1;flex:1;line-height:22px;padding:10px 0;border-top:1px solid rgba(0,0,0,.5);color:#0894ec}.confirm .confirm-wrapper .confirm-content .operate .operate-btn.left[data-v-95ddd01c]{border-right:1px solid rgba(0,0,0,.5)}@-webkit-keyframes confirm-fadein{0%{opacity:0}to{opacity:1}}@keyframes confirm-fadein-data-v-95ddd01c{0%{opacity:0}to{opacity:1}}@-webkit-keyframes confirm-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes confirm-zoom-data-v-95ddd01c{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}",""])},112:function(t,i,e){i=t.exports=e(94)(!1),i.push([t.i,".title[data-v-c0a4cc3c]{text-align:center;height:50px;line-height:50px;background:-webkit-gradient(linear,left top,right top,from(#ee6354),to(#f87529));background:linear-gradient(left,#ee6354,#f87529);display:-webkit-box;display:-ms-flexbox;display:flex}.title i[data-v-c0a4cc3c]{width:50px;line-height:50px;font-size:20px;font-weight:900;color:#fff}.title h1[data-v-c0a4cc3c]{width:75%;color:#fff;font-size:20px}",""])},113:function(t,i,e){i=t.exports=e(94)(!1),i.push([t.i,"",""])},114:function(t,i,e){var o=e(111);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);e(95)("5dd52404",o,!0,{})},115:function(t,i,e){var o=e(112);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);e(95)("1cf97f28",o,!0,{})},116:function(t,i,e){var o=e(113);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);e(95)("592c3f33",o,!0,{})},117:function(t,i,e){function o(t){e(114)}var s=e(48)(e(107),e(119),o,"data-v-95ddd01c",null);t.exports=s.exports},118:function(t,i,e){function o(t){e(115)}var s=e(48)(e(109),e(120),o,"data-v-c0a4cc3c",null);t.exports=s.exports},119:function(t,i){t.exports={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("transition",{attrs:{name:"confirm-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showFlag,expression:"showFlag"}],staticClass:"confirm",on:{click:function(t){t.stopPropagation()}}},[e("div",{staticClass:"confirm-wrapper"},[e("div",{staticClass:"confirm-content"},[e("p",{staticClass:"text"},[t._v(t._s(t.text))]),t._v(" "),e("div",{staticClass:"operate"},[t.flag?e("div",{staticClass:"operate-btn left",on:{click:t.cancel}},[t._v(t._s(t.cancelBtnText))]):t._e(),t._v(" "),e("div",{staticClass:"operate-btn",on:{click:t.confirm}},[t._v(t._s(t.confirmBtnText))])])])])])])},staticRenderFns:[]}},120:function(t,i){t.exports={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",{staticClass:"title"},[e("i",{staticClass:"icon-back",on:{click:function(i){i.stopPropagation(),t.back(i)}}}),t._v(" "),e("h1",[t._v(t._s(t.title))])])])},staticRenderFns:[]}},121:function(t,i){t.exports={render:function(){var t=this,i=t.$createElement;return(t._self._c||i)("div",{ref:"wrapper"},[t._t("default")],2)},staticRenderFns:[]}},122:function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAXCAYAAADk3wSdAAABTklEQVQ4jaWVvyvEYRzHX07XSVJY/KjbTCaZqRtkschkkp2ibCab+xeUVQoTC1lkkhKTxWJSKOXk/Lp7Ge6u3Nd979xz73qWz/vp9e15P5/P80VFTapZNadeqJlyPWihdqrHVutd7Q+FJoAsMEm1UsAMgUoAczHeVCi0Tf0EkjW8e2AwBJoAnmK8AaAvFPoQ4+WBYij0pkb9C5gHnkOh55FaAZgFdkOAFehRpNYO3IUCASoNexVp/u1WJwp1OQItqhOtQrvUxwj4Tu0NHVOAV2Ajkkwa2CrnHpRp5aW69q821UTI8StrVH2rAd5ROyJ7x9QldaQRFHWhBlT1Uh0u71lRv395N+qq2hMHRV2PAX+oJzGe6rOaqZfNmqXWalanjUKfLn+9GeX+c5tp9bAJ6F4zTT2uHqiFOsAztTtkDIfURXVfvVXz6oulv3FK5QexLPIlzgZZowAAAABJRU5ErkJggg=="},127:function(t,i,e){t.exports=e.p+"static/images/sendkeyuanyuanbtn.jpg"},130:function(t,i,e){"use strict";function o(t){var i="/visit/getFirstVisited?url="+t;return s.a.get(i)}i.a=o;var s=e(103)},166:function(t,i,e){"use strict";function o(t){return n.a.get("/secondhand/getroomdetails",t)}function s(t){var i="/secondhand/updateClientSourceStatus?id="+t.id+"&status="+t.status+"&operate="+t.operate;return n.a.post(i)}i.b=o,i.a=s;var n=e(103)},176:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=e(118),s=e.n(o),n=e(104),r=e.n(n),a=e(117),l=e.n(a),h=e(166),c=e(130),p=e(106),d=e(105);i.default={data:function(){return{contactphone:e(122),fabukeyuanImg:e(127),mengcengImg:e(202),mengcengFlag:!1,phone:this.$route.query.phone,name:this.$route.query.name,operate:this.$route.query.operate,confirmText:"",region:"",totalPrice:"",area:"",features:[],price:"",type:"",huxing:"",floor:"",decoration:"",face:"",roomAge:"",remark:"",createTime:"",brokerName:"",projectName:"",brokerPhone:"",elevator:"",roomid:"",isMy:"",id:""}},created:function(){var t=this;e.i(c.a)("sencondhandhousedetail").then(function(i){0===i.data.data&&(t.mengcengFlag=!0)}),this._getRoomDetails()},methods:{hideMengceng:function(){this.mengcengFlag=!1},telPhone:function(t){e.i(d.a)(p.a.FANGYUANDETAILPAGE,"",p.a.LISTPAGENBTN,"",window.USERMSG),t&&(window.location.href="tel:"+t)},addKeyuan:function(){e.i(d.a)(p.a.FANGYUANDETAILPAGE,"",p.a.SENDKEYUANBTN,p.a.SENDKEYUANPAGE,window.USERMSG),this.$router.push("/secondaddkeyuan")},stop:function(){this.confirmText="确定停止此项目？",this.$refs.confirm.show()},confirm:function(){var t=this;"确定停止此项目？"===this.confirmText&&e.i(h.a)({id:this.roomid,operate:this.operate,status:0}).then(function(i){0===i.data.code&&(t.confirmText="停止成功！",t.$refs.confirm.show(),t.brokerPhone=null)})},_getRoomDetails:function(){var t=this;e.i(h.b)({phone:this.phone,name:this.name}).then(function(i){if(console.log(i),0===i.data.code){if(null==i.data.data)return t.confirmText="参数错误",void t.$refs.confirm.show();var e=i.data.data;t.region=e.region,t.totalPrice=e.totalPrice,t.area=e.area,t.features=e.features,t.price=e.price||"(未填)",t.type=e.type||"(未填)",t.huxing=e.huxing||"(未填)",t.floor=e.floor||"(未填)",t.decoration=e.decoration||"(未填)",t.face=e.face||"(未填)",t.roomAge=e.roomAge||"(未填)",t.remark=e.remark||"(未填)",t.createTime=e.createTime||"(未填)",t.brokerName=e.brokerName||"(未填)",t.projectName=e.name||"(未填)",t.brokerPhone=e.brokerPhone||"(未填)",t.elevator=e.elevator||"(未填)",t.roomid=e.roomid,t.isMy=e.isMy}})}},components:{MyTitle:s.a,Scroll:r.a,Confirm:l.a}}},187:function(t,i,e){i=t.exports=e(94)(!1),i.push([t.i,".look-project[data-v-56890d0a]{position:fixed;width:100%;bottom:0;height:100%;background:#eee;font-size:14px}.look-project .mengceng-img[data-v-56890d0a]{position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;width:100%}.look-project .mengceng-img img[data-v-56890d0a]{width:100%;height:100%}.look-project .title[data-v-56890d0a]{position:fixed;z-index:88;width:100%;text-align:center;line-height:40px;font-size:22px;color:#fff;top:0}.look-project .list[data-v-56890d0a]{position:fixed;top:0;bottom:125px;width:100%;padding-top:50px}.look-project .list .context .top[data-v-56890d0a]{padding:0 10px;background:#fff;line-height:60px;font-size:18px}.look-project .list .context .top p[data-v-56890d0a]{text-align:center;color:#a7a7a7}.look-project .list .context .top p span[data-v-56890d0a]{width:5.5rem;overflow:hidden;color:#a7a7a7;position:absolute;font-size:12px;top:0;right:10px}.look-project .list .context .middle[data-v-56890d0a]{background:#fff}.look-project .list .context .middle p[data-v-56890d0a]{color:#a7a7a7}.look-project .list .context .needs-name[data-v-56890d0a]{text-align:center;line-height:40px}.look-project .list .context .middle-t[data-v-56890d0a]{display:-webkit-box;display:-ms-flexbox;display:flex;border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:10px 0}.look-project .list .context .middle-t div[data-v-56890d0a]{width:33%;border-right:1px solid #ccc;text-align:center;line-height:25px}.look-project .list .context .middle-t div[data-v-56890d0a]:last-child{border-right:none}.look-project .list .context .middle-t div .top[data-v-56890d0a]{font-size:16px;color:#6c6c6c;line-height:30px}.look-project .list .context .middle-t div .btm[data-v-56890d0a]{font-size:16px;line-height:30px;color:#f77428}.look-project .list .context .middle-tedian[data-v-56890d0a]{padding:20px 10px;border-bottom:1px solid #ccc}.look-project .list .context .middle-tedian p[data-v-56890d0a]{font-size:22px;color:#000}.look-project .list .context .middle-tedian p span[data-v-56890d0a]{display:inline-block;border:1px solid #0096ff;color:#0096ff;font-size:12px;padding:5px;margin-right:.12rem;margin-bottom:5px;line-height:18px}.look-project .list .context .middle-m[data-v-56890d0a]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 10px}.look-project .list .context .middle-m p[data-v-56890d0a]{width:33%;line-height:50px}.look-project .list .context .middle-m p span[data-v-56890d0a]{color:#6c6c6c}.look-project .list .context .middle-m p .store[data-v-56890d0a]{color:#000;font-weight:800}.look-project .list .context .bottom-t[data-v-56890d0a]{margin:10px 0;padding:10px;background:#fff}.look-project .list .context .bottom-t p[data-v-56890d0a]:first-child{line-height:35px}.look-project .list .context .bottom-t p[data-v-56890d0a]:last-child{text-indent:1em;line-height:17px;color:#a7a7a7}.look-project .list .context .bottom-b[data-v-56890d0a]{display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px 0;padding:10px;background:#fff}.look-project .list .context .bottom-b .flex-2[data-v-56890d0a]{-webkit-box-flex:2;-ms-flex:2;flex:2;color:#a7a7a7;line-height:35px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.look-project .list .context .bottom-b .flex-2[data-v-56890d0a]:last-child{line-height:35px;text-align:right}.look-project .list .context .bottom-b .flex-2 span[data-v-56890d0a]{color:#6c6c6c}.look-project .list .context .bottom-b .flex-2 .send-btn[data-v-56890d0a]{-webkit-box-flex:1;-ms-flex:1;flex:1}.look-project .list .context .bottom-b .btn[data-v-56890d0a]{display:inline-block;padding:5px 10px;line-height:25px;border-radius:3px}.look-project .list .context .bottom-b .bgc[data-v-56890d0a]{background:#fe5d00;color:#fff}.look-project .list .context .bottom-b .bgc img[data-v-56890d0a]{width:12px}.look-project .add-img[data-v-56890d0a]{position:fixed;bottom:-2px;-webkit-transition:all .3s;transition:all .3s}.look-project .add-img img[data-v-56890d0a]{width:100%}",""])},197:function(t,i,e){var o=e(187);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);e(95)("5f623852",o,!0,{})},202:function(t,i,e){t.exports=e.p+"static/images/detailmengceng.jpg"},224:function(t,i){t.exports={render:function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"look-project"},[t.mengcengFlag?e("div",{staticClass:"mengceng-img"},[e("img",{attrs:{src:t.mengcengImg,alt:""},on:{click:t.hideMengceng}})]):t._e(),t._v(" "),e("div",{staticClass:"title"},[e("my-title",{attrs:{title:"房源详情"}})],1),t._v(" "),e("scroll",{ref:"scroll",staticClass:"list",attrs:{beforeScroll:!0,data:t.msg}},[e("div",{staticClass:"context"},[e("div",{staticClass:"top"},[e("p",[t._v(t._s(t.projectName)+" "),e("span",[t._v(t._s(t.roomid))])])]),t._v(" "),e("div",{staticClass:"middle"},[t.needName?e("p",{staticClass:"needs-name"},[t._v("\n          "+t._s(t.needName)+"\n        ")]):t._e(),t._v(" "),e("div",{staticClass:"middle-t"},[e("div",[e("p",{staticClass:"top"},[t._v("区域")]),t._v(" "),e("p",{staticClass:"btm"},[t._v(t._s(t.region))])]),t._v(" "),e("div",[e("p",{staticClass:"top"},[t._v("总价")]),t._v(" "),t.totalPrice?e("p",{staticClass:"btm"},[t._v(t._s(t.totalPrice+"万"))]):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"top"},[t._v("面积")]),t._v(" "),t.area?e("p",{staticClass:"btm"},[t._v(t._s(t.area+"㎡"))]):t._e()])]),t._v(" "),t.features&&t.features.length>0?e("div",{staticClass:"middle-tedian"},[e("p",t._l(t.features,function(i){return e("span",{key:i},[t._v(t._s(i))])}))]):t._e(),t._v(" "),e("div",{staticClass:"middle-m"},[e("p",[t._v("单价："),e("span",{class:"(未填)"!==t.price?"store":""},[t._v(t._s(t.price+"元"))])]),t._v(" "),e("p",[t._v("用途："),e("span",{class:"(未填)"!==t.type?"store":""},[t._v(t._s(t.type))])]),t._v(" "),e("p",[t._v("户型："),e("span",{class:"(未填)"!==t.huxing?"store":""},[t._v(t._s(t.huxing))])])]),t._v(" "),e("div",{staticClass:"middle-m"},[e("p",[t._v("楼层："),e("span",{class:"(未填)"!==t.floor?"store":""},[t._v(t._s(t.floor))])]),t._v(" "),e("p",[t._v("装修："),e("span",{class:"(未填)"!==t.decoration?"store":""},[t._v(t._s(t.decoration))])]),t._v(" "),e("p",[t._v("朝向："),e("span",{class:"(未填)"!==t.face?"store":""},[t._v(t._s(t.face))])])]),t._v(" "),e("div",{staticClass:"middle-m"},[e("p",[t._v("房龄："),e("span",{class:"(未填)"!==t.roomAge?"store":""},[t._v(t._s(t.roomAge))])]),t._v(" "),e("p",[t._v("电梯："),e("span",{class:"(未填)"!==t.elevator?"store":""},[t._v(t._s(t.elevator))])])])]),t._v(" "),e("div",{staticClass:"bottom"},[e("div",{staticClass:"bottom-t"},[e("p",[t._v("备注")]),t._v(" "),e("p",[t._v(t._s(t.remark))])]),t._v(" "),e("div",{staticClass:"bottom-b"},[e("p",{staticClass:"flex-2"},[t._v("发布于："),e("span",[t._v(t._s(t.createTime))])]),t._v(" "),e("p",{staticClass:"flex-2"},[t._v("发布人："),e("span",[t._v(t._s(t.brokerName))])]),t._v(" "),t.brokerPhone&&0===t.isMy?e("p",{staticClass:"send-btn",on:{click:function(i){t.telPhone(t.brokerPhone)}}},[e("span",{staticClass:"btn bgc"},[t._v("联系TA "),e("img",{attrs:{src:t.contactphone,alt:""}})])]):t.brokerPhone?e("p",{staticClass:"send-btn",on:{click:t.stop}},[e("span",{staticClass:"btn bgc"},[t._v("停止需求")])]):e("p",{staticClass:"send-btn"})])])])]),t._v(" "),e("confirm",{ref:"confirm",attrs:{text:t.confirmText}}),t._v(" "),e("div",{ref:"addImg",staticClass:"add-img",on:{click:t.addKeyuan}},[e("img",{attrs:{src:t.fabukeyuanImg,alt:""}})])],1)},staticRenderFns:[]}},98:function(t,i,e){function o(t){e(197)}var s=e(48)(e(176),e(224),o,"data-v-56890d0a",null);t.exports=s.exports}});