Commit 8afa61bb authored by 潘永坪's avatar 潘永坪

小屏播放处理

parent 20ab7712
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>smallscreen</title><script src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=w3iwlcaBv8nBvS6RbcaLNRXDfYsMpn6d"></script><link rel="shortcut icon" href=/static/favicon.ico type=image/x-icon><script src=./globle.js></script><script>window.NW && window.NW.windowFull();</script><link href=/static/css/app.50be6c2fcb2e24e457f2f9cec74a5f56.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.b5000b0f9c7275e5b86c.js></script><script type=text/javascript src=/static/js/vendor.0c1d0801412949418020.js></script><script type=text/javascript src=/static/js/app.df92734127755b4a4130.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><title>smallscreen</title><script src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=w3iwlcaBv8nBvS6RbcaLNRXDfYsMpn6d"></script><link rel="shortcut icon" href=/static/favicon.ico type=image/x-icon><script src=./globle.js></script><script>window.NW && window.NW.windowFull();</script><link href=/static/css/app.0420e536f0dfe69163d9cb5199375bda.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/static/js/manifest.d2b5bc056ebc086d70ab.js></script><script type=text/javascript src=/static/js/vendor.0c1d0801412949418020.js></script><script type=text/javascript src=/static/js/app.9a5d64fd1b7b013748a8.js></script></body></html>
\ No newline at end of file
webpackJsonp([8],{"/j+o":function(t,e,i){t.exports=i.p+"static/img/mini_tejia.d571d6d.png"},"8/c5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("fZjL"),a=i.n(n),s=i("Dd8w"),r=i.n(s),o=i("XSTL"),d=i("HhJC"),c=i("NYxO"),l={data:function(){return{scenic:0,hotel:0,restaurant:0,specialProduct:0,List:[{title:"两江游系列",videoURL:"http://apk.xwdly.com/video/%E9%87%91%E7%A2%A7%E6%B8%B8%E8%88%B9%E7%9F%AD%E8%A7%86%E9%A2%91.mp4",see:1205,good:1204,userCommentList:[{userName:"uber",comment:"1"},{userName:"alex",comment:"2"},{userName:"李白",comment:"3"},{userName:"uber",comment:"4"},{userName:"alex",comment:"5"}]}],activeIndex:0,swiperOptions:{currentPage:0,pagination:!1,direction:"horizontal"}}},computed:r()({},Object(c.c)(["cityList"]),{videoTitle:function(){return this.List[this.activeIndex]?this.List[this.activeIndex].title:""}}),watch:{activeIndex:function(t){var e=this;setTimeout(function(){e.initVideoPlay()},0)}},mounted:function(){var t=this;this.init(),this.getCityList(),setTimeout(function(){t.initVideoPlay()},1e3)},methods:r()({},Object(c.b)(["updateCityList"]),{init:function(){var t=this;this.$http.post("/user/merchant/smallScreenPage",{}).then(function(e){if("00"!=e.code)return t.$message.warning(e.message);var i=e.data;t.scenic=Number(i.scenicList[0].sellingPrice).toFixed(2),t.hotel=Number(i.hotelList[0].sellingPrice).toFixed(2),t.restaurant=Number(i.restaurantList[0].sellingPrice).toFixed(2)})},getCityList:function(){var t=this;if(!this.cityList){var e=[];this.$http.post("/search/loadAreaByInitial",{areaLevel:2,inChina:0}).then(function(i){for(var n=i.data,s=a()(n),r=0;r<s.length;r++){var o=s[r];e.push({label:o,options:n[o]})}t.updateCityList(e)})}},initVideoPlay:function(){for(var t=this.$refs,e=a()(t).filter(function(t){return t.includes("videoPlayer")}),i=0;i<e.length;i++){var n=e[i];t[n].length>0&&t[n][0].play&&t[n][0].pause()}var s=e[this.activeIndex];t[s].length>0&&(t[s][0].currentTime=0,t[s][0].play().then(function(e){t[s][0].muted=!1,t[s][0].volume=.05}).catch(function(e){console.log("err",e),t[s][0].muted=!0,t[s][0].volume=.05,t[s][0].play()}))},onPlayerEnded:function(){this.activeIndex++,this.activeIndex>=this.List.length?this.$refs.slider.$emit("slideTo",0):this.$refs.slider.$emit("slideNext")},playerReadied:function(t){},slide:function(t){var e=t.currentPage;e>=this.List.length&&this.$refs.slider.turnTo(0),this.activeIndex=e},onTap:function(t){},onInit:function(t){}}),components:{Top:o.a,commentList:function(){return i.e(21).then(i.bind(null,"KBvx"))},slider:d.slider,slideritem:d.slideritem}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"outBox"},[n("Top",{attrs:{active:"1",background:"transparent",itemBackground:"linear-gradient(to bottom right, #c15100, #d79403)"}}),t._v(" "),n("div",{staticClass:"bottom"},[n("div",{staticClass:"bLeft"},[n("div",{staticClass:"bLeftT"},[n("img",{staticClass:"leftTopIcon",attrs:{src:i("/j+o")}}),t._v(" "),n("div",{staticClass:"navSub"},[n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/scenic/mapList")}}},[n("p",[t._v("景区")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/hotel/mapList")}}},[n("p",[t._v("酒店")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/restaurant/mapList")}}},[n("p",[t._v("美食")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/specialProduct/list")}}},[n("p",[t._v("特产")])])]),t._v(" "),t._m(0),t._v(" "),n("div",[n("a",{staticClass:"navSubItem",staticStyle:{margin:"auto"},on:{click:function(e){return t.$router.push("/plan/mapList")}}},[n("span",{staticStyle:{display:"inline-block",width:"100%"}},[t._v("行程定制")])])])])]),t._v(" "),n("div",{staticClass:"bRight"},[n("p",{staticClass:"silderTitle"},[t._v("\n 精彩看看 /\n "),n("span",{},[t._v(" "+t._s(t.videoTitle))])]),t._v(" "),n("div",{staticStyle:{width:"100%"}},[n("slider",{ref:"slider",attrs:{options:t.swiperOptions},on:{slide:t.slide,tap:t.onTap,init:t.onInit}},[t._l(t.List,function(e,i){return n("slideritem",{key:i,staticClass:"slideritem"},[n("video",{ref:"videoPlayer"+i,refInFor:!0,staticClass:"videoPlayer",staticStyle:{width:"100%"},attrs:{src:e.videoURL,muted:"",autoplay:"",loop:"",controlslist:"nodownload"},domProps:{muted:!0},on:{ended:t.onPlayerEnded}})])}),t._v(" "),n("div",{attrs:{slot:"loading"},slot:"loading"},[t._v("loading...")])],2)],1)])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"erweima"},[e("img",{attrs:{src:i("6HEB"),alt:"二维码"}}),this._v(" "),e("p",{staticStyle:{"font-size":"0.16rem","margin-top":"0.2rem"}},[this._v("\n 扫码获取全部优惠信息\n ")])])}]};var u=i("VU/8")(l,h,!1,function(t){i("FbNP")},"data-v-33e55f50",null);e.default=u.exports},FbNP:function(t,e){},HhJC:function(t,e,i){var n;"undefined"!=typeof self&&self,n=function(){return function(t){function e(t){var e=$[t];if(!e)return d;var n=function(i){return e.hot.active?($[i]?$[i].parents.indexOf(t)<0&&$[i].parents.push(t):(_=[t],l=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),_=[]),d(i)};for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&"e"!==a&&Object.defineProperty(n,a,function(t){return{configurable:!0,enumerable:!0,get:function(){return d[t]},set:function(e){d[t]=e}}}(a));return n.e=function(t){function e(){P--,"prepare"===w&&(E[t]||s(t),0===P&&0===x&&r())}return"ready"===w&&i("prepare"),P++,d.e(t).then(e,function(t){throw e(),t})},n}function i(t){w=t;for(var e=0;e<b.length;e++)b[e].call(null,t)}function n(t){return+t+""===t?+t:t}function a(t){if("idle"!==w)throw new Error("check() is only allowed in idle status");return f=t,i("check"),function(t){return t=t||1e4,new Promise(function(e,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=d.p+""+g+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(t){return i(t)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(t){return void i(t)}e(t)}}})}(v).then(function(t){if(!t)return i("idle"),null;T={},E={},L=t.c,p=t.h,i("prepare");var e=new Promise(function(t,e){h={resolve:t,reject:e}});return u={},s(1),"prepare"===w&&0===P&&0===x&&r(),e})}function s(t){L[t]?(T[t]=!0,x++,function(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=d.p+""+t+"."+g+".hot-update.js",e.appendChild(i)}(t)):E[t]=!0}function r(){i("ready");var t=h;if(h=null,t)if(f)Promise.resolve().then(function(){return o(f)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&e.push(n(a));t.resolve(e)}}function o(e){function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}}if("ready"!==w)throw new Error("apply() is only allowed in ready status");e=e||{};var s,r,o,c,l,h={},f=[],v={},y=function(){console.warn("[HMR] unexpected require("+x.moduleId+") to disposed module")};for(var b in u)if(Object.prototype.hasOwnProperty.call(u,b)){var x;l=n(b);var P=!1,E=!1,T=!1,S="";switch((x=u[b]?function(t){for(var e=[t],i={},n=e.slice().map(function(t){return{chain:[t],id:t}});n.length>0;){var s=n.pop(),r=s.id,o=s.chain;if((c=$[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=$[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};e.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),a(i[l],[r])):(delete i[l],e.push(l),n.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}(l):{type:"disposed",moduleId:b}).chain&&(S="\nUpdate propagation: "+x.chain.join(" -> ")),x.type){case"self-declined":e.onDeclined&&e.onDeclined(x),e.ignoreDeclined||(P=new Error("Aborted because of self decline: "+x.moduleId+S));break;case"declined":e.onDeclined&&e.onDeclined(x),e.ignoreDeclined||(P=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+S));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(x),e.ignoreUnaccepted||(P=new Error("Aborted because "+l+" is not accepted"+S));break;case"accepted":e.onAccepted&&e.onAccepted(x),E=!0;break;case"disposed":e.onDisposed&&e.onDisposed(x),T=!0;break;default:throw new Error("Unexception type "+x.type)}if(P)return i("abort"),Promise.reject(P);if(E)for(l in v[l]=u[l],a(f,x.outdatedModules),x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,l)&&(h[l]||(h[l]=[]),a(h[l],x.outdatedDependencies[l]));T&&(a(f,[x.moduleId]),v[l]=y)}var C,D,k=[];for(r=0;r<f.length;r++)l=f[r],$[l]&&$[l].hot._selfAccepted&&k.push({module:l,errorHandler:$[l].hot._selfAccepted});i("dispose"),Object.keys(L).forEach(function(t){!1===L[t]&&function(t){delete installedChunks[t]}(t)});for(var O,I=f.slice();I.length>0;)if(l=I.pop(),c=$[l]){var j={},M=c.hot._disposeHandlers;for(o=0;o<M.length;o++)(s=M[o])(j);for(m[l]=j,c.hot.active=!1,delete $[l],delete h[l],o=0;o<c.children.length;o++){var N=$[c.children[o]];N&&(O=N.parents.indexOf(l))>=0&&N.parents.splice(O,1)}}for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l]))for(D=h[l],o=0;o<D.length;o++)C=D[o],(O=c.children.indexOf(C))>=0&&c.children.splice(O,1);for(l in i("apply"),g=p,v)Object.prototype.hasOwnProperty.call(v,l)&&(t[l]=v[l]);var z=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l])){D=h[l];var R=[];for(r=0;r<D.length;r++)if(C=D[r],s=c.hot._acceptedDependencies[C]){if(R.indexOf(s)>=0)continue;R.push(s)}for(r=0;r<R.length;r++){s=R[r];try{s(D)}catch(t){e.onErrored&&e.onErrored({type:"accept-errored",moduleId:l,dependencyId:D[r],error:t}),e.ignoreErrored||z||(z=t)}}}for(r=0;r<k.length;r++){var H=k[r];l=H.module,_=[l];try{d(l)}catch(t){if("function"==typeof H.errorHandler)try{H.errorHandler(t)}catch(i){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:i,orginalError:t,originalError:t}),e.ignoreErrored||z||(z=i),z||(z=t)}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:l,error:t}),e.ignoreErrored||z||(z=t)}}return z?(i("fail"),Promise.reject(z)):(i("idle"),new Promise(function(t){t(f)}))}function d(i){if($[i])return $[i].exports;var n=$[i]={i:i,l:!1,exports:{},hot:function(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:l!==t,active:!0,accept:function(t,i){if(void 0===t)e._selfAccepted=!0;else if("function"==typeof t)e._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)e._acceptedDependencies[t[n]]=i||function(){};else e._acceptedDependencies[t]=i||function(){}},decline:function(t){if(void 0===t)e._selfDeclined=!0;else if("object"==typeof t)for(var i=0;i<t.length;i++)e._declinedDependencies[t[i]]=!0;else e._declinedDependencies[t]=!0},dispose:function(t){e._disposeHandlers.push(t)},addDisposeHandler:function(t){e._disposeHandlers.push(t)},removeDisposeHandler:function(t){var i=e._disposeHandlers.indexOf(t);i>=0&&e._disposeHandlers.splice(i,1)},check:a,apply:o,status:function(t){if(!t)return w;b.push(t)},addStatusHandler:function(t){b.push(t)},removeStatusHandler:function(t){var e=b.indexOf(t);e>=0&&b.splice(e,1)},data:m[t]};return l=void 0,e}(i),parents:(y=_,_=[],y),children:[]};return t[i].call(n.exports,n,n.exports,e(i)),n.l=!0,n.exports}var c=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,e){(function(t,e){if(L[t]&&T[t]){for(var i in T[t]=!1,e)Object.prototype.hasOwnProperty.call(e,i)&&(u[i]=e[i]);0==--x&&0===P&&r()}})(t,e),c&&c(t,e)};var l,h,u,p,f=!0,g="a42a8336a0bb66e88868",v=1e4,m={},_=[],y=[],b=[],w="idle",x=0,P=0,E={},T={},L={},$={};return d.m=t,d.c=$,d.d=function(t,e,i){d.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},d.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return d.d(e,"a",e),e},d.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},d.p="",d.h=function(){return g},e(14)(d.s=14)}([function(t,e){t.exports=function(t,e,i,n,a){var s,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(s=t,r=t.default);var d,c="function"==typeof r?r.options:r;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns),n&&(c._scopeId=n),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=d):i&&(d=i),d){var l=c.functional,h=l?c.render:c.beforeCreate;l?c.render=function(t,e){return d.call(e),h(t,e)}:c.beforeCreate=h?[].concat(h,d):[d]}return{esModule:s,exports:r,options:c}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=c[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var r=[];for(a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));c[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function s(t){var e,i,n=document.querySelector("style["+v+'~="'+t.id+'"]');if(n){if(p)return f;n.parentNode.removeChild(n)}if(m){var s=u++;n=h||(h=a()),e=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),e=function(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),g.ssrId&&t.setAttribute(v,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function r(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var d=i(7),c={},l=o&&(document.head||document.getElementsByTagName("head")[0]),h=null,u=0,p=!1,f=function(){},g=null,v="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){p=i,g=a||{};var s=d(t,e);return n(s),function(e){for(var i=[],a=0;a<s.length;a++){var r=s[a];(o=c[r.id]).refs--,i.push(o)}e?n(s=d(t,e)):s=[];for(a=0;a<i.length;a++){var o;if(0===(o=i[a]).refs){for(var l=0;l<o.parts.length;l++)o.parts[l]();delete c[o.id]}}}};var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(8),a=i.n(n),s=i(11),r=function(t){i(5)},o=i(0)(a.a,s.a,r,null,null);e.default=o.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0)(a.a,s.a,null,null,null);e.default=r.exports},function(t,e,i){var n=i(6);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i(2)("7b43aed2",n,!0,{})},function(t,e,i){(t.exports=i(1)()).push([t.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.swiper-container-horizontal>*>.slider-wrapper{-moz-flex-direction:row;-ms-flex-direction:row;-o-flex-direction:row;flex-direction:row}.swiper-container-horizontal>*>.slider-wrapper,.swiper-container-vertical>*>.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical>*>.slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.swiper-container-horizontal>.slider-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-container-horizontal>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical>.slider-pagination-bullets{left:0;bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;height:8px;opacity:.2;width:8px;cursor:pointer;display:block;margin:5px 0}.swiper-container-horizontal .slider-pagination-bullet-active,.swiper-container-vertical .slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],r=s[0],o={id:t+":"+a,css:s[1],media:s[2],sourceMap:s[3]};n[r]?n[r].parts.push(o):i.push(n[r]={id:r,parts:[o]})}return i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(9));e.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,n.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,onSlide:!1,onSlideEnd:!0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination,nested:void 0===this.options.nested||this.options.nested,resize:void 0===this.options.resize||this.options.resize,freeze:void 0!==this.options.freeze&&this.options.freeze,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,$parent:this.judgeParentSlider(this),route:!1,lastPage:this.options.currentPage||0,e:void 0}}},watch:{$route:function(){var t=this;if(t.route){var e=t.data.currentPage,i=t.s_data.sliderLength;t.s_data.transitionEnding=!1,e<0?t.slide(0,"animationnone"):e>=(t.pagenums||i)?t.slide(i-1,"animationnone"):t.slide(e,"animationnone"),t.options.autoplay&&t.clock().begin(t),t.route=!1}else t.route=!0,t.options.autoplay&&t.clock().stop(t)}},computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",t[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:t},pagenums:function(){return(this.pages.length||0!==this.s_data.sliderLength)&&this.s_data.pageInit,this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var t=void 0,e=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;for(var a in this.options.loop&&(e+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(e-=1),this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);try{var s=t.children[0].children,r=s[e].offsetLeft;this.options.loop&&(r=s[e].offsetLeft);var o=s[e].offsetWidth;if(!o)throw new Error("找不到当前滑动元素,停止滑动");var d=this.options.slidesPerView,c=this.s_data.sliderLength;if(this.options.centeredSlides)if(d){var l=this.data.currentPage,h=parseInt((d-1)/2);l-h<=0?l=0:l+h>=c?l=c-d:l-=h,r=s[l].offsetLeft}else r=r-i/2+o/2;if(!this.options.centeredSlides&&d){var u=this.data.currentPage,p=this.options.slidesToScroll||1;u+p>=c&&(r=s[c-p].offsetLeft)}return r+i-i}catch(t){console.warn(t),console.warn("滑动报错,停止滑动及轮播"),this.data.currentPage=this.s_data.lastPage,this.options.autoplay=0,this.clock().stop(this)}}},currentHeight:function(){var t=this.s_data.sliderLength,e=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=e-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===t||"fade"===this.s_data.effect)return 0;for(var d in this.options.loop&&(s=o?e+(o<=(i||t)?o:i||t)-1:e+1),this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}},mounted:function(){var t=this,e=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(e){t.data.direction="slideTo",t.slide(e,"slideTo")}),this.$on("slideNext",function(){t.next()}),this.$on("slidePre",function(){t.pre()}),this.$on("autoplayStart",function(i){t.options.autoplay=i||t.options.autoplay||1e3,t.clock().begin(e)}),this.$on("autoplayStop",function(){t.options.autoplay=0,t.clock().stop(e)}),this.$on("loadingShow",function(){t.s_data.loading=!0}),this.$on("loadingHide",function(){t.s_data.loading=!1}),this.options.autoplay&&this.s_data.sliderLength&&this.clock().begin(e),document.addEventListener("visibilitychange",this.visibilitychange,!1),"vertical"===this.options.direction?this.s_data.containerClass["swiper-container-vertical"]=!0:this.s_data.containerClass["swiper-container-horizontal"]=!0,this.s_data.resize&&window.addEventListener("resize",this.resize)},beforeDestroy:function(){this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault),document.removeEventListener("visibilitychange",this.visibilitychange,!1),window.removeEventListener("resize",this.resize)},methods:{visibilitychange:function(){var t=this;document.hidden?t.options.autoplay&&t.clock().stop(t):t.options.autoplay&&t.clock().begin(t)},resize:function(){if(this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.data.currentPage>=this.s_data.sliderLength&&this.options.loop)return this.slide(0,"animationnone"),!1;this.slide(this.data.currentPage,"animationnone")},swipeStart:function(t){if(this.s_data.e=t,!this.s_data.freeze&&!this.s_data.transitionEnding&&!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",this.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.s_data.tracking=!1,!1;this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY},swipeMove:function(t){if(this.s_data.e=t,this.s_data.tracking){var e=this.s_data.effect,i=this.s_data.$parent;"touchmove"===t.type?(this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY):(this.data.end.x=t.clientX,this.data.end.y=t.clientY);var n=Math.abs(this.data.end.x-this.data.start.x),a=Math.abs(this.data.end.y-this.data.start.y);if(n>=a&&"vertical"!==this.options.direction&&t.cancelable?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.cancelable&&t.preventDefault(),i&&i.s_data.direction===this.s_data.direction&&t.stopPropagation(),"fade"===e||"coverflow"===e)return;if("vertical"===this.options.direction){if(n>a)return;i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage)?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:i&&"vertical"===i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&i.s_data.nested&&(!i.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1)?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:this.options.preventRebound&&!this.options.loop||(this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y)}else{if(n<a)return;i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage)?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:i&&"vertical"!==i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&i.s_data.nested&&(!i.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1)?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:this.options.preventRebound&&!this.options.loop||(this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x)}}},swipeEnd:function(t){this.s_data.e=t,this.s_data.tracking=!1;var e=(new Date).getTime()-this.data.start.t,i=this.data.end.x-this.data.start.x,n=this.data.end.y-this.data.start.y,a=this.s_data.thresholdDistance,s=this.data.currentPage;if(this.options.autoplay){var r=this;setTimeout(function(){r.clock().begin(r)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),e>this.s_data.thresholdTime)return this.slide(s),!1;if("vertical"!==this.options.direction){if(i>a&&Math.abs(n)<Math.abs(i))return this.pre(),!1;if(-i>a&&Math.abs(n)<Math.abs(i))return this.next(),!1;if(!(e<100&&Math.abs(i)<10&&Math.abs(n)<10))return this.slide(s),!1;this.data.direction="click",this.$emit("tap",this.data),this.slide(s,"click")}else{if(n>a&&Math.abs(i)<Math.abs(n))return this.pre(),!1;if(-n>a&&Math.abs(i)<Math.abs(n))return this.next(),!1;if(!(e<100&&Math.abs(i)<10&&Math.abs(n)<10))return this.slide(s),!1;this.data.direction="click",this.$emit("tap",this.data),this.slide(s,"click")}},swipeOut:function(t){this.$el===t.target&&this.s_data.tracking&&this.swipeEnd(t)},pre:function(){this.s_data.lastPage=this.data.currentPage,this.data.direction="vertical"===this.options.direction?"up":"left";var t=this.s_data.sliderLength,e=this.options.slidesToScroll||1,i=this.s_data.$parent;this.data.currentPage>=1&&this.data.currentPage-e>=0?(this.data.currentPage-=e||1,this.slide()):!(this.options.loop&&this.data.currentPage-e<0)||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide(0):(this.data.currentPage-=e||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||t)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide())},next:function(){this.data.direction="vertical"===this.options.direction?"down":"right",this.s_data.lastPage=this.data.currentPage;var t=this.s_data.sliderLength,e=this.s_data.$parent,i=this.options.slidesToScroll||1;if(this.data.currentPage<(this.pagenums||t)-1&&this.data.currentPage+i<=t-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!(this.options.loop&&this.data.currentPage+i>t-1&&this.data.currentPage+i<=t)||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){this.s_data.$parent.next(),this.slide()}else this.data.direction="rebound",this.slide();else this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||t)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()},slide:function(t,e){if(this.s_data.animation=!0,"slideTo"===e&&!0===this.s_data.onSlide)return!1;if(!t&&0!==t||void 0!==e||(this.data.direction="rebound"),"animationnone"===e?(this.s_data.animation=!1,this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1):(this.s_data.onSlideEnd=!1,this.s_data.onSlide=!0),(t||0===t)&&(this.data.currentPage=t),"click"!==e&&this.$emit("slide",this.data),"fade"!==this.s_data.effect){if("vertical"===this.options.direction?(Math.abs(this.data.posheight)===Math.abs(-this.currentHeight)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),this.data.posheight=-this.currentHeight):(Math.abs(this.data.poswidth)===Math.abs(-this.currentWidth)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),this.data.poswidth=-this.currentWidth),this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(i.children),a=n.filter(function(t){return-1!==t.className.indexOf("slider-item")}),s=n.filter(function(t){return-1!==t.className.indexOf("slider-active-copy")}),r=this.options.loopedSlides||1,o=this.s_data.sliderLength,d=this.$children,c=this.data.currentPage;if((d=d.filter(function(t){return"slideritem"===t.$options.name})).forEach(function(t){t.removeActive()}),"nest"===this.options.effect)return;if(d[c]&&d[c].addActive(),c<0||c>=(this.pagenums||o)){a[c+r]&&a[c+r].classList&&a[c+r].classList.add("slider-active-copy");var l=c<0?(this.pagenums||o)+c:0+c-(this.pagenums||o);d[l]&&d[l].addActive()}else for(var h=0;h<s.length;h++){s[h].classList.remove("slider-active-copy")}}return!(this.data.currentPage<0||this.data.currentPage>=(this.pagenums||this.s_data.sliderLength))&&void 0}this.pagenums||this.fadeDom()},clock:function(){return{begin:function(t){t.s_data.setIntervalid||0!==t.options.autoplay&&(t.s_data.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==(t.pagenums||t.s_data.sliderLength)-1||t.options.loop||(clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0}}},preventDefault:function(t){var e=t||this.s_data.e;this.s_data.e=e,e&&e.preventDefault()},onTransitionEnd:function(t){var e=this;this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1,setTimeout(function(){var t=e.data.currentPage,i=e.s_data.sliderLength;e.options.loop&&""!==e.s_data.effect&&(e.s_data.transitionEnding=!1,t<0?e.slide((e.pagenums||i)+t,"animationnone"):t>=(e.pagenums||i)&&e.slide(0+t-(e.pagenums||i),"animationnone"))},0)},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.s_data.itemTransitionEnding=!1},0)}},renderDom:function(t){var e=this,i=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),i.s_data.sliderLength+=1,i.s_data.sliderLength>=1&&"fade"===i.options.effect&&(t.previousSibling?t.style["z-index"]=99-i.s_data.sliderLength:t.style["z-index"]=99+i.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){i.s_data.renderTime=void 0;var t=i.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")&&-1===t.className.indexOf("slider-copy")});if(i.s_data.sliderLength=n.length||0,i.s_data.sliderLength>=1&&i.options.loop&&"fade"!==i.options.effect&&"coverflow"!==i.options.effect){for(var a=t.getElementsByClassName("slider-copy"),s=a.length-1;s>=0;s--)t.removeChild(a[s]);for(var r=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")}),o=r.length,d=i.options.loopedSlides||1,c=0;c<o;c++){if(c+d-o>=0){var l=r[c+0].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),t.insertBefore(l,r[0])}if(c-d<0){var h=r[c].cloneNode(!0);h.classList.add("slider-copy"),h.classList.remove("slider-active"),t.appendChild(h)}}}i.$nextTick(function(){i.slide(i.data.currentPage,"animationnone"),i.options.autoplay&&e.s_data.sliderLength&&i.clock().begin(i)})},0)},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0].getElementsByClassName("slider-item"),i=this.options.speed,n=0;n<e.length;n++)n===t||n===t+1?(e[n].style.opacity="1",e[n].style["transition-property"]="opacity",e[n].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?i||300:0)+"ms"):(e[n].style.opacity="0",e[n].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?i||300:0)+"ms")},judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"slider"===t.$parent.$options.name?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)}},components:{renderpagination:{render:function(t){var e=this.index;return this.options.renderPagination.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e,i,n,a=void 0,s=void 0,r=void 0,o=void 0;return e=document.createElement("_"),i=e.style,n=void 0,""===i[n="webkitTransition"]&&(r="webkitTransitionEnd",s=n),""===i[n="transition"]&&(r="transitionend",s=n),""===i[n="webkitTransform"]&&(a=n),""===i[n="msTransform"]&&(a=n),""===i[n="transform"]&&(a=n),document.body.insertBefore(e,null),i[a]="translate3d(0, 0, 0)",o=!!t.getComputedStyle(e).getPropertyValue(a),document.body.removeChild(e),{transform:a,transition:s,transitionEnd:r,hasTranslate3d:o}}}).call(e,i(10))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-container",class:t.s_data.containerClass,on:{mouseleave:t.swipeOut}},[i("div",{staticClass:"slider-touch",style:t.styleobj,on:{touchmove:t.swipeMove,touchstart:t.swipeStart,touchend:t.swipeEnd,mousedown:t.swipeStart,mouseup:t.swipeEnd,mousemove:t.swipeMove,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[0===t.pages.length?i("div",{staticClass:"slider-wrapper",class:t.classObject},[t._t("default")],2):t._e()]),t._v(" "),t.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.pagenums||t.s_data.sliderLength,function(e){return[t.options.renderPagination?t._e():i("span",{key:e,staticClass:"slider-pagination-bullet",class:e-1===t.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){t.slide(e-1)}}}),t._v(" "),t.options.renderPagination?i("renderpagination",{key:e,class:e-1===t.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:e,options:t.options},nativeOn:{click:function(i){t.slide(e-1)}}}):t._e()]})],2):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.pagenums&&0===t.s_data.sliderLength||t.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},staticRenderFns:[]};e.a=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1},data:{start:{},end:{},index:this.index?this.index:this.$vnode.key,$el:""}}},mounted:function(){this.renderDom(),this.data.$el=this.$el},methods:{touchStart:function(t){if("touchstart"===t.type){if(t.touches.length>1)return this.data.tracking=!1,!1;this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY,this.data.start.pageX=t.targetTouches[0].pageX,this.data.start.pageY=t.targetTouches[0].pageY}else this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.start.pageX=t.pageX,this.data.start.pageY=t.pageY},touchEnd:function(t){var e=(new Date).getTime()-this.data.start.t;"touchend"===t.type?(this.data.end.t=(new Date).getTime(),this.data.end.x=t.changedTouches[0].clientX,this.data.end.y=t.changedTouches[0].clientY,this.data.end.pageX=t.changedTouches[0].pageX,this.data.end.pageY=t.changedTouches[0].pageY):(this.data.end.t=(new Date).getTime(),this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.end.pageX=t.pageX,this.data.end.pageY=t.pageY);var i=this.data.end.pageX-this.data.start.pageX||0,n=this.data.end.pageY-this.data.start.pageY||0;e<300&&Math.abs(i)<10&&Math.abs(n)<10&&this.$emit("tap",this.data)},renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)},transform:function(){var t=this.$parent.options,e=this.$parent.data,i=this.$parent.s_data;if(!(t&&e&&i&&this.$el&&"coverflow"===t.effect))return{};var n=this.index,a=i.pageWidth/2-this.$el.offsetWidth/2,s=a-i.deviation+"px",r=a+i.deviation+"px",o=a+"px",d={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="10":d["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(d.transform="translate3D("+r+",0 ,0)",d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="1":d["z-index"]="10"):n===e.currentPage?(d.transform="translate3D("+o+",0 ,0) scale3d(1,1,1)",d["z-index"]="99",d.opacity="1"):(d.transform="translate3D("+o+",0 ,0)",d.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(d.opacity="1",0===n&&(d["z-index"]="99"),n===this.pageLength-1&&(d["z-index"]="99")),d[i.prefixes.transition+"Duration"]=(i.animation?t.speed||300:0)+"ms",d.position="absolute",d}}}},function(t,e,i){"use strict";var n={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.slideClass,style:[t.transform(t.index)],on:{touchstart:t.touchStart,touchend:t.touchEnd,mousedown:t.touchStart,mouseup:t.touchEnd,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},staticRenderFns:[]};e.a=n},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var a=n(i(3)),s=n(i(4)),r=a.default,o=s.default;e.default=r,e.slider=r,e.slideritem=o}])},t.exports=n()}});
\ No newline at end of file
webpackJsonp([8],{"/j+o":function(t,e,i){t.exports=i.p+"static/img/mini_tejia.d571d6d.png"},"8/c5":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i("fZjL"),a=i.n(n),s=i("Dd8w"),r=i.n(s),o=i("XSTL"),d=i("HhJC"),c=i("NYxO"),l={data:function(){return{scenic:0,hotel:0,restaurant:0,specialProduct:0,List:[{title:"两江游系列",videoURL:"http://apk.xwdly.com/video/%E9%87%91%E7%A2%A7%E6%B8%B8%E8%88%B9%E7%9F%AD%E8%A7%86%E9%A2%91.mp4",see:1205,good:1204,userCommentList:[{userName:"uber",comment:"1"},{userName:"alex",comment:"2"},{userName:"李白",comment:"3"},{userName:"uber",comment:"4"},{userName:"alex",comment:"5"}]}],activeIndex:0,swiperOptions:{currentPage:0,pagination:!1,direction:"horizontal"}}},computed:r()({},Object(c.c)(["cityList"]),{videoTitle:function(){return this.List[this.activeIndex]?this.List[this.activeIndex].title:""}}),watch:{activeIndex:function(t){var e=this;setTimeout(function(){e.initVideoPlay()},0)}},mounted:function(){var t=this;this.init(),this.getCityList(),setTimeout(function(){t.initVideoPlay()},1e3)},methods:r()({},Object(c.b)(["updateCityList"]),{init:function(){var t=this;this.$http.post("/user/merchant/smallScreenPage",{}).then(function(e){if("00"!=e.code)return t.$message.warning(e.message);var i=e.data;t.scenic=Number(i.scenicList[0].sellingPrice).toFixed(2),t.hotel=Number(i.hotelList[0].sellingPrice).toFixed(2),t.restaurant=Number(i.restaurantList[0].sellingPrice).toFixed(2)})},getCityList:function(){var t=this;if(!this.cityList){var e=[];this.$http.post("/search/loadAreaByInitial",{areaLevel:2,inChina:0}).then(function(i){for(var n=i.data,s=a()(n),r=0;r<s.length;r++){var o=s[r];e.push({label:o,options:n[o]})}t.updateCityList(e)})}},initVideoPlay:function(){for(var t=this.$refs,e=a()(t).filter(function(t){return t.includes("videoPlayer")}),i=0;i<e.length;i++){var n=e[i];t[n].length>0&&t[n][0].play&&t[n][0].pause()}var s=e[this.activeIndex];t[s].length>0&&(t[s][0].currentTime=0,t[s][0].play().then(function(e){t[s][0].muted=!1,t[s][0].volume=.05}).catch(function(e){console.log("err",e),t[s][0].muted=!0,t[s][0].volume=.05,t[s][0].play()}))},onPlayerEnded:function(){this.activeIndex++,this.activeIndex>=this.List.length?this.$refs.slider.$emit("slideTo",0):this.$refs.slider.$emit("slideNext")},playerReadied:function(t){},slide:function(t){var e=t.currentPage;e>=this.List.length&&this.$refs.slider.turnTo(0),this.activeIndex=e},onTap:function(t){},onInit:function(t){}}),components:{Top:o.a,commentList:function(){return i.e(21).then(i.bind(null,"KBvx"))},slider:d.slider,slideritem:d.slideritem}},h={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"outBox"},[n("Top",{attrs:{active:"1",background:"transparent",itemBackground:"linear-gradient(to bottom right, #c15100, #d79403)"}}),t._v(" "),n("div",{staticClass:"bottom"},[n("div",{staticClass:"bLeft"},[n("div",{staticClass:"bLeftT"},[n("img",{staticClass:"leftTopIcon",attrs:{src:i("/j+o")}}),t._v(" "),n("div",{staticClass:"navSub"},[n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/scenic/mapList")}}},[n("p",[t._v("景区")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/hotel/mapList")}}},[n("p",[t._v("酒店")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/restaurant/mapList")}}},[n("p",[t._v("美食")])]),t._v(" "),n("a",{staticClass:"navSubItem",on:{click:function(e){return t.$router.push("/specialProduct/list")}}},[n("p",[t._v("特产")])])]),t._v(" "),t._m(0),t._v(" "),n("div",[n("a",{staticClass:"navSubItem",staticStyle:{margin:"auto"},on:{click:function(e){return t.$router.push("/plan/mapList")}}},[n("span",{staticStyle:{display:"inline-block",width:"100%"}},[t._v("行程定制")])])])])]),t._v(" "),n("div",{staticClass:"bRight"},[n("p",{staticClass:"silderTitle"},[t._v("\n 精彩看看 /\n "),n("span",{},[t._v(" "+t._s(t.videoTitle))])]),t._v(" "),n("div",{staticStyle:{width:"100%"}},[n("slider",{ref:"slider",attrs:{options:t.swiperOptions},on:{slide:t.slide,tap:t.onTap,init:t.onInit}},[t._l(t.List,function(e,i){return n("slideritem",{key:i,staticClass:"slideritem"},[n("video",{ref:"videoPlayer"+i,refInFor:!0,staticClass:"videoPlayer",staticStyle:{width:"100%"},attrs:{src:e.videoURL,muted:"",autoplay:"",controlslist:"nodownload"},domProps:{muted:!0},on:{ended:t.onPlayerEnded}})])}),t._v(" "),n("div",{attrs:{slot:"loading"},slot:"loading"},[t._v("loading...")])],2)],1)])])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"erweima"},[e("img",{attrs:{src:i("6HEB"),alt:"二维码"}}),this._v(" "),e("p",{staticStyle:{"font-size":"0.16rem","margin-top":"0.2rem"}},[this._v("\n 扫码获取全部优惠信息\n ")])])}]};var u=i("VU/8")(l,h,!1,function(t){i("sXiX")},"data-v-71902e0a",null);e.default=u.exports},HhJC:function(t,e,i){var n;"undefined"!=typeof self&&self,n=function(){return function(t){function e(t){var e=$[t];if(!e)return d;var n=function(i){return e.hot.active?($[i]?$[i].parents.indexOf(t)<0&&$[i].parents.push(t):(_=[t],l=i),e.children.indexOf(i)<0&&e.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+t),_=[]),d(i)};for(var a in d)Object.prototype.hasOwnProperty.call(d,a)&&"e"!==a&&Object.defineProperty(n,a,function(t){return{configurable:!0,enumerable:!0,get:function(){return d[t]},set:function(e){d[t]=e}}}(a));return n.e=function(t){function e(){P--,"prepare"===w&&(E[t]||s(t),0===P&&0===x&&r())}return"ready"===w&&i("prepare"),P++,d.e(t).then(e,function(t){throw e(),t})},n}function i(t){w=t;for(var e=0;e<b.length;e++)b[e].call(null,t)}function n(t){return+t+""===t?+t:t}function a(t){if("idle"!==w)throw new Error("check() is only allowed in idle status");return f=t,i("check"),function(t){return t=t||1e4,new Promise(function(e,i){if("undefined"==typeof XMLHttpRequest)return i(new Error("No browser support"));try{var n=new XMLHttpRequest,a=d.p+""+g+".hot-update.json";n.open("GET",a,!0),n.timeout=t,n.send(null)}catch(t){return i(t)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)i(new Error("Manifest request to "+a+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)i(new Error("Manifest request to "+a+" failed."));else{try{var t=JSON.parse(n.responseText)}catch(t){return void i(t)}e(t)}}})}(v).then(function(t){if(!t)return i("idle"),null;T={},E={},L=t.c,p=t.h,i("prepare");var e=new Promise(function(t,e){h={resolve:t,reject:e}});return u={},s(1),"prepare"===w&&0===P&&0===x&&r(),e})}function s(t){L[t]?(T[t]=!0,x++,function(t){var e=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=d.p+""+t+"."+g+".hot-update.js",e.appendChild(i)}(t)):E[t]=!0}function r(){i("ready");var t=h;if(h=null,t)if(f)Promise.resolve().then(function(){return o(f)}).then(function(e){t.resolve(e)},function(e){t.reject(e)});else{var e=[];for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&e.push(n(a));t.resolve(e)}}function o(e){function a(t,e){for(var i=0;i<e.length;i++){var n=e[i];t.indexOf(n)<0&&t.push(n)}}if("ready"!==w)throw new Error("apply() is only allowed in ready status");e=e||{};var s,r,o,c,l,h={},f=[],v={},y=function(){console.warn("[HMR] unexpected require("+x.moduleId+") to disposed module")};for(var b in u)if(Object.prototype.hasOwnProperty.call(u,b)){var x;l=n(b);var P=!1,E=!1,T=!1,S="";switch((x=u[b]?function(t){for(var e=[t],i={},n=e.slice().map(function(t){return{chain:[t],id:t}});n.length>0;){var s=n.pop(),r=s.id,o=s.chain;if((c=$[r])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:r};if(c.hot._main)return{type:"unaccepted",chain:o,moduleId:r};for(var d=0;d<c.parents.length;d++){var l=c.parents[d],h=$[l];if(h){if(h.hot._declinedDependencies[r])return{type:"declined",chain:o.concat([l]),moduleId:r,parentId:l};e.indexOf(l)>=0||(h.hot._acceptedDependencies[r]?(i[l]||(i[l]=[]),a(i[l],[r])):(delete i[l],e.push(l),n.push({chain:o.concat([l]),id:l})))}}}}return{type:"accepted",moduleId:t,outdatedModules:e,outdatedDependencies:i}}(l):{type:"disposed",moduleId:b}).chain&&(S="\nUpdate propagation: "+x.chain.join(" -> ")),x.type){case"self-declined":e.onDeclined&&e.onDeclined(x),e.ignoreDeclined||(P=new Error("Aborted because of self decline: "+x.moduleId+S));break;case"declined":e.onDeclined&&e.onDeclined(x),e.ignoreDeclined||(P=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+S));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(x),e.ignoreUnaccepted||(P=new Error("Aborted because "+l+" is not accepted"+S));break;case"accepted":e.onAccepted&&e.onAccepted(x),E=!0;break;case"disposed":e.onDisposed&&e.onDisposed(x),T=!0;break;default:throw new Error("Unexception type "+x.type)}if(P)return i("abort"),Promise.reject(P);if(E)for(l in v[l]=u[l],a(f,x.outdatedModules),x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,l)&&(h[l]||(h[l]=[]),a(h[l],x.outdatedDependencies[l]));T&&(a(f,[x.moduleId]),v[l]=y)}var C,D,k=[];for(r=0;r<f.length;r++)l=f[r],$[l]&&$[l].hot._selfAccepted&&k.push({module:l,errorHandler:$[l].hot._selfAccepted});i("dispose"),Object.keys(L).forEach(function(t){!1===L[t]&&function(t){delete installedChunks[t]}(t)});for(var O,I=f.slice();I.length>0;)if(l=I.pop(),c=$[l]){var j={},M=c.hot._disposeHandlers;for(o=0;o<M.length;o++)(s=M[o])(j);for(m[l]=j,c.hot.active=!1,delete $[l],delete h[l],o=0;o<c.children.length;o++){var z=$[c.children[o]];z&&(O=z.parents.indexOf(l))>=0&&z.parents.splice(O,1)}}for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l]))for(D=h[l],o=0;o<D.length;o++)C=D[o],(O=c.children.indexOf(C))>=0&&c.children.splice(O,1);for(l in i("apply"),g=p,v)Object.prototype.hasOwnProperty.call(v,l)&&(t[l]=v[l]);var N=null;for(l in h)if(Object.prototype.hasOwnProperty.call(h,l)&&(c=$[l])){D=h[l];var R=[];for(r=0;r<D.length;r++)if(C=D[r],s=c.hot._acceptedDependencies[C]){if(R.indexOf(s)>=0)continue;R.push(s)}for(r=0;r<R.length;r++){s=R[r];try{s(D)}catch(t){e.onErrored&&e.onErrored({type:"accept-errored",moduleId:l,dependencyId:D[r],error:t}),e.ignoreErrored||N||(N=t)}}}for(r=0;r<k.length;r++){var H=k[r];l=H.module,_=[l];try{d(l)}catch(t){if("function"==typeof H.errorHandler)try{H.errorHandler(t)}catch(i){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:l,error:i,orginalError:t,originalError:t}),e.ignoreErrored||N||(N=i),N||(N=t)}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:l,error:t}),e.ignoreErrored||N||(N=t)}}return N?(i("fail"),Promise.reject(N)):(i("idle"),new Promise(function(t){t(f)}))}function d(i){if($[i])return $[i].exports;var n=$[i]={i:i,l:!1,exports:{},hot:function(t){var e={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:l!==t,active:!0,accept:function(t,i){if(void 0===t)e._selfAccepted=!0;else if("function"==typeof t)e._selfAccepted=t;else if("object"==typeof t)for(var n=0;n<t.length;n++)e._acceptedDependencies[t[n]]=i||function(){};else e._acceptedDependencies[t]=i||function(){}},decline:function(t){if(void 0===t)e._selfDeclined=!0;else if("object"==typeof t)for(var i=0;i<t.length;i++)e._declinedDependencies[t[i]]=!0;else e._declinedDependencies[t]=!0},dispose:function(t){e._disposeHandlers.push(t)},addDisposeHandler:function(t){e._disposeHandlers.push(t)},removeDisposeHandler:function(t){var i=e._disposeHandlers.indexOf(t);i>=0&&e._disposeHandlers.splice(i,1)},check:a,apply:o,status:function(t){if(!t)return w;b.push(t)},addStatusHandler:function(t){b.push(t)},removeStatusHandler:function(t){var e=b.indexOf(t);e>=0&&b.splice(e,1)},data:m[t]};return l=void 0,e}(i),parents:(y=_,_=[],y),children:[]};return t[i].call(n.exports,n,n.exports,e(i)),n.l=!0,n.exports}var c=window.webpackHotUpdatevueConciseSlider;window.webpackHotUpdatevueConciseSlider=function(t,e){(function(t,e){if(L[t]&&T[t]){for(var i in T[t]=!1,e)Object.prototype.hasOwnProperty.call(e,i)&&(u[i]=e[i]);0==--x&&0===P&&r()}})(t,e),c&&c(t,e)};var l,h,u,p,f=!0,g="a42a8336a0bb66e88868",v=1e4,m={},_=[],y=[],b=[],w="idle",x=0,P=0,E={},T={},L={},$={};return d.m=t,d.c=$,d.d=function(t,e,i){d.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},d.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return d.d(e,"a",e),e},d.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},d.p="",d.h=function(){return g},e(14)(d.s=14)}([function(t,e){t.exports=function(t,e,i,n,a){var s,r=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(s=t,r=t.default);var d,c="function"==typeof r?r.options:r;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns),n&&(c._scopeId=n),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=d):i&&(d=i),d){var l=c.functional,h=l?c.render:c.beforeCreate;l?c.render=function(t,e){return d.call(e),h(t,e)}:c.beforeCreate=h?[].concat(h,d):[d]}return{esModule:s,exports:r,options:c}}},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var s=this[a][0];"number"==typeof s&&(n[s]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=c[i.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](i.parts[a]);for(;a<i.parts.length;a++)n.parts.push(s(i.parts[a]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var r=[];for(a=0;a<i.parts.length;a++)r.push(s(i.parts[a]));c[i.id]={id:i.id,refs:1,parts:r}}}}function a(){var t=document.createElement("style");return t.type="text/css",l.appendChild(t),t}function s(t){var e,i,n=document.querySelector("style["+v+'~="'+t.id+'"]');if(n){if(p)return f;n.parentNode.removeChild(n)}if(m){var s=u++;n=h||(h=a()),e=r.bind(null,n,s,!1),i=r.bind(null,n,s,!0)}else n=a(),e=function(t,e){var i=e.css,n=e.media,a=e.sourceMap;if(n&&t.setAttribute("media",n),g.ssrId&&t.setAttribute(v,e.id),a&&(i+="\n/*# sourceURL="+a.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function r(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=_(e,a);else{var s=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(s,r[e]):t.appendChild(s)}}var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var d=i(7),c={},l=o&&(document.head||document.getElementsByTagName("head")[0]),h=null,u=0,p=!1,f=function(){},g=null,v="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i,a){p=i,g=a||{};var s=d(t,e);return n(s),function(e){for(var i=[],a=0;a<s.length;a++){var r=s[a];(o=c[r.id]).refs--,i.push(o)}e?n(s=d(t,e)):s=[];for(a=0;a<i.length;a++){var o;if(0===(o=i[a]).refs){for(var l=0;l<o.parts.length;l++)o.parts[l]();delete c[o.id]}}}};var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(8),a=i.n(n),s=i(11),r=function(t){i(5)},o=i(0)(a.a,s.a,r,null,null);e.default=o.exports},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(12),a=i.n(n),s=i(13),r=i(0)(a.a,s.a,null,null,null);e.default=r.exports},function(t,e,i){var n=i(6);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i(2)("7b43aed2",n,!0,{})},function(t,e,i){(t.exports=i(1)()).push([t.i,".slider-container{margin:0 auto;overflow:hidden;z-index:1;height:100%;width:100%;position:relative;white-space:nowrap}.slider-center-center{margin:auto;z-index:1;position:absolute;top:0;left:0;right:0;bottom:0}.slider-touch{height:100%}.swiper-container-horizontal>*>.slider-wrapper{-moz-flex-direction:row;-ms-flex-direction:row;-o-flex-direction:row;flex-direction:row}.swiper-container-horizontal>*>.slider-wrapper,.swiper-container-vertical>*>.slider-wrapper{box-sizing:content-box;display:flex;height:100%;position:relative;transition-property:transform;width:100%;z-index:1;align-items:center}.swiper-container-vertical>*>.slider-wrapper{-moz-flex-direction:column;-ms-flex-direction:column;-o-flex-direction:column;flex-direction:column}.slider-item{flex-shrink:0;height:100%;position:relative;width:100%;align-items:center;display:flex;font-size:40px;justify-content:center;text-align:center;color:#fff}.slider-fade .slider-item{position:absolute;left:0;opacity:0}.slider-pagination{position:absolute;text-align:center;transform:translateZ(0);z-index:10}.swiper-container-horizontal>.slider-pagination-bullets{bottom:10px;left:0;width:100%}.swiper-container-horizontal>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;display:inline-block;height:8px;opacity:.2;width:8px;cursor:pointer;margin:0 5px}.swiper-container-vertical>.slider-pagination-bullets{left:0;bottom:auto;left:auto;width:auto;right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>*>.slider-pagination-bullet{background:#000 none repeat scroll 0 0;border-radius:100%;height:8px;opacity:.2;width:8px;cursor:pointer;display:block;margin:5px 0}.swiper-container-horizontal .slider-pagination-bullet-active,.swiper-container-vertical .slider-pagination-bullet-active{background:#fff none repeat scroll 0 0;opacity:1}.slider-loading{position:absolute;top:50%;transform:translateY(-50%);z-index:999}.swiper-container-cursorGrab{cursor:grab}",""])},function(t,e){t.exports=function(t,e){for(var i=[],n={},a=0;a<e.length;a++){var s=e[a],r=s[0],o={id:t+":"+a,css:s[1],media:s[2],sourceMap:s[3]};n[r]?n[r].parts.push(o):i.push(n[r]={id:r,parts:[o]})}return i}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(9));e.default={props:{options:{type:Object,default:function(){return{}}},pages:{type:Array,default:function(){return[]}}},name:"slider",data:function(){return{data:{poswidth:0,posheight:0,start:{},end:{},currentPage:this.options.currentPage||0,direction:""},s_data:{prefixes:(0,n.default)(),transitionEnding:!1,itemTransitionEnding:!1,setIntervalid:"",renderTime:"",sliderLength:0,effect:this.options.effect||"slide",direction:this.options.direction||"horizontal",tracking:!1,thresholdDistance:this.options.thresholdDistance||100,thresholdTime:this.options.thresholdTime||500,animation:!1,itemAnimation:this.options.itemAnimation||!1,loading:!1,containerClass:{"swiper-container-vertical":!1,"swiper-container-cursorGrab":this.options.grabCursor||!1},pageInit:!1,widthScalingRatio:this.options.widthScalingRatio||.8,heightScalingRatio:this.options.heightScalingRatio||.8,deviation:this.options.deviation||200,currentPage:this.options.currentPage||0,pageWidth:0,pageHeight:0,onSlide:!1,onSlideEnd:!0,sliderItem:"",pagination:void 0===this.options.pagination||this.options.pagination,nested:void 0===this.options.nested||this.options.nested,resize:void 0===this.options.resize||this.options.resize,freeze:void 0!==this.options.freeze&&this.options.freeze,slidesPerView:void 0===this.options.slidesPerView?0:this.options.slidesPerView,$parent:this.judgeParentSlider(this),route:!1,lastPage:this.options.currentPage||0,e:void 0}}},watch:{$route:function(){var t=this;if(t.route){var e=t.data.currentPage,i=t.s_data.sliderLength;t.s_data.transitionEnding=!1,e<0?t.slide(0,"animationnone"):e>=(t.pagenums||i)?t.slide(i-1,"animationnone"):t.slide(e,"animationnone"),t.options.autoplay&&t.clock().begin(t),t.route=!1}else t.route=!0,t.options.autoplay&&t.clock().stop(t)}},computed:{styleobj:function(){var t={};return t.transform="translate3D("+this.data.poswidth+"px,"+this.data.posheight+"px,0)",t[this.s_data.prefixes.transition+"TimingFunction"]=this.options.timingFunction||"ease",t[this.s_data.prefixes.transition+"Duration"]=(this.s_data.animation?this.options.speed||300:0)+"ms","fade"===this.s_data.effect||"coverflow"===this.s_data.effect?{}:t},pagenums:function(){return(this.pages.length||0!==this.s_data.sliderLength)&&this.s_data.pageInit,this.pages.length},currentWidth:{get:function(){if(!this.pages.length&&0===this.s_data.sliderLength||"fade"===this.s_data.effect||"coverflow"===this.s_data.effect)return 0;var t=void 0,e=this.data.currentPage,i=this.s_data.pageWidth,n=this.options.loopedSlides||1;for(var a in this.options.loop&&(e+=n?n<=(this.pagenums||this.s_data.sliderLength)?n:this.pagenums||this.s_data.sliderLength:1),"coverflow"===this.options.effect&&(e-=1),this.$el.children)/slider-touch/gi.test(this.$el.children[a].className)&&(t=this.$el.children[a]);try{var s=t.children[0].children,r=s[e].offsetLeft;this.options.loop&&(r=s[e].offsetLeft);var o=s[e].offsetWidth;if(!o)throw new Error("找不到当前滑动元素,停止滑动");var d=this.options.slidesPerView,c=this.s_data.sliderLength;if(this.options.centeredSlides)if(d){var l=this.data.currentPage,h=parseInt((d-1)/2);l-h<=0?l=0:l+h>=c?l=c-d:l-=h,r=s[l].offsetLeft}else r=r-i/2+o/2;if(!this.options.centeredSlides&&d){var u=this.data.currentPage,p=this.options.slidesToScroll||1;u+p>=c&&(r=s[c-p].offsetLeft)}return r+i-i}catch(t){console.warn(t),console.warn("滑动报错,停止滑动及轮播"),this.data.currentPage=this.s_data.lastPage,this.options.autoplay=0,this.clock().stop(this)}}},currentHeight:function(){var t=this.s_data.sliderLength,e=this.data.currentPage,i=this.pages.length,n=0,a=void 0,s=e-1,r=this.s_data.pageWidth,o=this.options.loopedSlides||1;if(!i&&0===t||"fade"===this.s_data.effect)return 0;for(var d in this.options.loop&&(s=o?e+(o<=(i||t)?o:i||t)-1:e+1),this.$el.children)/slider-touch/gi.test(this.$el.children[d].className)&&(a=this.$el.children[d]);var c=a.children[0].children;for(var l in c)l<=s&&(n+=c[l].offsetHeight,n+=parseInt(c[l].style.marginTop||0),n+=parseInt(c[l].style.marginBottom||0));return n+r-r},classObject:function(){var t={};switch(this.options.effect){case"fade":t={"slider-fade":!0}}return t}},mounted:function(){var t=this,e=this;this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.$emit("init",this.data),this.$on("slideTo",function(e){t.data.direction="slideTo",t.slide(e,"slideTo")}),this.$on("slideNext",function(){t.next()}),this.$on("slidePre",function(){t.pre()}),this.$on("autoplayStart",function(i){t.options.autoplay=i||t.options.autoplay||1e3,t.clock().begin(e)}),this.$on("autoplayStop",function(){t.options.autoplay=0,t.clock().stop(e)}),this.$on("loadingShow",function(){t.s_data.loading=!0}),this.$on("loadingHide",function(){t.s_data.loading=!1}),this.options.autoplay&&this.s_data.sliderLength&&this.clock().begin(e),document.addEventListener("visibilitychange",this.visibilitychange,!1),"vertical"===this.options.direction?this.s_data.containerClass["swiper-container-vertical"]=!0:this.s_data.containerClass["swiper-container-horizontal"]=!0,this.s_data.resize&&window.addEventListener("resize",this.resize)},beforeDestroy:function(){this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault),document.removeEventListener("visibilitychange",this.visibilitychange,!1),window.removeEventListener("resize",this.resize)},methods:{visibilitychange:function(){var t=this;document.hidden?t.options.autoplay&&t.clock().stop(t):t.options.autoplay&&t.clock().begin(t)},resize:function(){if(this.s_data.pageWidth=this.$el.offsetWidth,this.s_data.pageHeight=this.$el.offsetHeight,this.data.currentPage>=this.s_data.sliderLength&&this.options.loop)return this.slide(0,"animationnone"),!1;this.slide(this.data.currentPage,"animationnone")},swipeStart:function(t){if(this.s_data.e=t,!this.s_data.freeze&&!this.s_data.transitionEnding&&!(this.s_data.transitionEnding||this.s_data.itemTransitionEnding&&this.options.itemAnimation))if(this.s_data.animation=!1,this.options.autoplay&&this.clock().stop(this),!0===this.options.preventDocumentMove&&document.addEventListener("touchmove",this.preventDefault(t)),"touchstart"===t.type){if(t.touches.length>1)return this.s_data.tracking=!1,!1;this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY}else this.s_data.tracking=!0,this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY},swipeMove:function(t){if(this.s_data.e=t,this.s_data.tracking){var e=this.s_data.effect,i=this.s_data.$parent;"touchmove"===t.type?(this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY):(this.data.end.x=t.clientX,this.data.end.y=t.clientY);var n=Math.abs(this.data.end.x-this.data.start.x),a=Math.abs(this.data.end.y-this.data.start.y);if(n>=a&&"vertical"!==this.options.direction&&t.cancelable?t.preventDefault():n<=a&&"vertical"===this.options.direction&&t.cancelable&&t.preventDefault(),i&&i.s_data.direction===this.s_data.direction&&t.stopPropagation(),"fade"===e||"coverflow"===e)return;if("vertical"===this.options.direction){if(n>a)return;i&&"vertical"===i.options.direction&&0===this.data.currentPage&&this.data.end.y-this.data.start.y>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage)?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:i&&"vertical"===i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.y-this.data.start.y<=0&&i.s_data.nested&&(!i.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1)?i.data.posheight=-i.currentHeight+this.data.end.y-this.data.start.y:this.options.preventRebound&&!this.options.loop||(this.data.posheight=-this.currentHeight+this.data.end.y-this.data.start.y)}else{if(n<a)return;i&&"vertical"!==i.options.direction&&0===this.data.currentPage&&this.data.end.x-this.data.start.x>=0&&i.s_data.nested&&(!i.options.preventRebound||0!==i.data.currentPage)?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:i&&"vertical"!==i.options.direction&&this.data.currentPage===this.s_data.sliderLength-1&&this.data.end.x-this.data.start.x<=0&&i.s_data.nested&&(!i.options.preventRebound||i.data.currentPage!==i.s_data.sliderLength-1)?i.data.poswidth=-i.currentWidth+this.data.end.x-this.data.start.x:this.options.preventRebound&&!this.options.loop||(this.data.poswidth=-this.currentWidth+this.data.end.x-this.data.start.x)}}},swipeEnd:function(t){this.s_data.e=t,this.s_data.tracking=!1;var e=(new Date).getTime()-this.data.start.t,i=this.data.end.x-this.data.start.x,n=this.data.end.y-this.data.start.y,a=this.s_data.thresholdDistance,s=this.data.currentPage;if(this.options.autoplay){var r=this;setTimeout(function(){r.clock().begin(r)},this.options.autoplay)}if(!0===this.options.preventDocumentMove&&document.removeEventListener("touchmove",this.preventDefault(t)),e>this.s_data.thresholdTime)return this.slide(s),!1;if("vertical"!==this.options.direction){if(i>a&&Math.abs(n)<Math.abs(i))return this.pre(),!1;if(-i>a&&Math.abs(n)<Math.abs(i))return this.next(),!1;if(!(e<100&&Math.abs(i)<10&&Math.abs(n)<10))return this.slide(s),!1;this.data.direction="click",this.$emit("tap",this.data),this.slide(s,"click")}else{if(n>a&&Math.abs(i)<Math.abs(n))return this.pre(),!1;if(-n>a&&Math.abs(i)<Math.abs(n))return this.next(),!1;if(!(e<100&&Math.abs(i)<10&&Math.abs(n)<10))return this.slide(s),!1;this.data.direction="click",this.$emit("tap",this.data),this.slide(s,"click")}},swipeOut:function(t){this.$el===t.target&&this.s_data.tracking&&this.swipeEnd(t)},pre:function(){this.s_data.lastPage=this.data.currentPage,this.data.direction="vertical"===this.options.direction?"up":"left";var t=this.s_data.sliderLength,e=this.options.slidesToScroll||1,i=this.s_data.$parent;this.data.currentPage>=1&&this.data.currentPage-e>=0?(this.data.currentPage-=e||1,this.slide()):!(this.options.loop&&this.data.currentPage-e<0)||i&&i.s_data.nested?i&&0===this.data.currentPage&&i.s_data.nested?(i.pre(),this.slide()):this.slide(0):(this.data.currentPage-=e||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage<0&&"fade"===this.s_data.effect?(this.slide((this.pagenums||t)-1),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide())},next:function(){this.data.direction="vertical"===this.options.direction?"down":"right",this.s_data.lastPage=this.data.currentPage;var t=this.s_data.sliderLength,e=this.s_data.$parent,i=this.options.slidesToScroll||1;if(this.data.currentPage<(this.pagenums||t)-1&&this.data.currentPage+i<=t-1)this.data.currentPage+=this.options.slidesToScroll||1,this.slide();else if(!(this.options.loop&&this.data.currentPage+i>t-1&&this.data.currentPage+i<=t)||e&&e.s_data.nested)if(e&&this.data.currentPage===(this.pagenums||t)-1&&e.s_data.nested){this.s_data.$parent.next(),this.slide()}else this.data.direction="rebound",this.slide();else this.data.currentPage+=this.options.slidesToScroll||1,this.s_data.transitionEnding=!0,this.s_data.itemTransitionEnding=!0,this.data.currentPage>=(this.pagenums||t)&&"fade"===this.s_data.effect?(this.slide(0),this.s_data.transitionEnding=!1,this.s_data.itemTransitionEnding=!1):this.slide()},slide:function(t,e){if(this.s_data.animation=!0,"slideTo"===e&&!0===this.s_data.onSlide)return!1;if(!t&&0!==t||void 0!==e||(this.data.direction="rebound"),"animationnone"===e?(this.s_data.animation=!1,this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1):(this.s_data.onSlideEnd=!1,this.s_data.onSlide=!0),(t||0===t)&&(this.data.currentPage=t),"click"!==e&&this.$emit("slide",this.data),"fade"!==this.s_data.effect){if("vertical"===this.options.direction?(Math.abs(this.data.posheight)===Math.abs(-this.currentHeight)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),this.data.posheight=-this.currentHeight):(Math.abs(this.data.poswidth)===Math.abs(-this.currentWidth)&&(this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1),this.data.poswidth=-this.currentWidth),this.s_data.sliderLength){var i=this.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(i.children),a=n.filter(function(t){return-1!==t.className.indexOf("slider-item")}),s=n.filter(function(t){return-1!==t.className.indexOf("slider-active-copy")}),r=this.options.loopedSlides||1,o=this.s_data.sliderLength,d=this.$children,c=this.data.currentPage;if((d=d.filter(function(t){return"slideritem"===t.$options.name})).forEach(function(t){t.removeActive()}),"nest"===this.options.effect)return;if(d[c]&&d[c].addActive(),c<0||c>=(this.pagenums||o)){a[c+r]&&a[c+r].classList&&a[c+r].classList.add("slider-active-copy");var l=c<0?(this.pagenums||o)+c:0+c-(this.pagenums||o);d[l]&&d[l].addActive()}else for(var h=0;h<s.length;h++){s[h].classList.remove("slider-active-copy")}}return!(this.data.currentPage<0||this.data.currentPage>=(this.pagenums||this.s_data.sliderLength))&&void 0}this.pagenums||this.fadeDom()},clock:function(){return{begin:function(t){t.s_data.setIntervalid||0!==t.options.autoplay&&(t.s_data.setIntervalid=setInterval(function(){t.next(),t.data.currentPage!==(t.pagenums||t.s_data.sliderLength)-1||t.options.loop||(clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0)},t.options.autoplay))},stop:function(t){clearInterval(t.s_data.setIntervalid),t.s_data.setIntervalid=0}}},preventDefault:function(t){var e=t||this.s_data.e;this.s_data.e=e,e&&e.preventDefault()},onTransitionEnd:function(t){var e=this;this.s_data.onSlideEnd=!0,this.s_data.onSlide=!1,setTimeout(function(){var t=e.data.currentPage,i=e.s_data.sliderLength;e.options.loop&&""!==e.s_data.effect&&(e.s_data.transitionEnding=!1,t<0?e.slide((e.pagenums||i)+t,"animationnone"):t>=(e.pagenums||i)&&e.slide(0+t-(e.pagenums||i),"animationnone"))},0)},onItemTransitionEnd:function(t){if(t.target===t.currentTarget){var e=this;setTimeout(function(){e.s_data.itemTransitionEnding=!1},0)}},renderDom:function(t){var e=this,i=this;this.s_data.renderTime&&clearTimeout(this.s_data.renderTime),i.s_data.sliderLength+=1,i.s_data.sliderLength>=1&&"fade"===i.options.effect&&(t.previousSibling?t.style["z-index"]=99-i.s_data.sliderLength:t.style["z-index"]=99+i.s_data.sliderLength),this.s_data.renderTime=setTimeout(function(){i.s_data.renderTime=void 0;var t=i.$el.getElementsByClassName("slider-wrapper")[0],n=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")&&-1===t.className.indexOf("slider-copy")});if(i.s_data.sliderLength=n.length||0,i.s_data.sliderLength>=1&&i.options.loop&&"fade"!==i.options.effect&&"coverflow"!==i.options.effect){for(var a=t.getElementsByClassName("slider-copy"),s=a.length-1;s>=0;s--)t.removeChild(a[s]);for(var r=Array.prototype.slice.call(t.children).filter(function(t){return-1!==t.className.indexOf("slider-item")}),o=r.length,d=i.options.loopedSlides||1,c=0;c<o;c++){if(c+d-o>=0){var l=r[c+0].cloneNode(!0);l.classList.add("slider-copy"),l.classList.remove("slider-active"),t.insertBefore(l,r[0])}if(c-d<0){var h=r[c].cloneNode(!0);h.classList.add("slider-copy"),h.classList.remove("slider-active"),t.appendChild(h)}}}i.$nextTick(function(){i.slide(i.data.currentPage,"animationnone"),i.options.autoplay&&e.s_data.sliderLength&&i.clock().begin(i)})},0)},fadeDom:function(){for(var t=this.data.currentPage,e=this.$el.getElementsByClassName("slider-wrapper")[0].getElementsByClassName("slider-item"),i=this.options.speed,n=0;n<e.length;n++)n===t||n===t+1?(e[n].style.opacity="1",e[n].style["transition-property"]="opacity",e[n].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?i||300:0)+"ms"):(e[n].style.opacity="0",e[n].style[this.s_data.prefixes.transition+"-duration"]=(this.s_data.animation?i||300:0)+"ms")},judgeParentSlider:function(t){return t.$parent&&t.$parent.$vnode&&"slider"===t.$parent.$options.name?t.$parent:(!t.$parent||void 0!==t.$parent.$vnode)&&this.judgeParentSlider(t.$parent)}},components:{renderpagination:{render:function(t){var e=this.index;return this.options.renderPagination.call(this,t,e)},name:"renderpagination",props:{index:{type:Number,required:!0},options:{type:Object,required:!0}}}}}},function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e,i,n,a=void 0,s=void 0,r=void 0,o=void 0;return e=document.createElement("_"),i=e.style,n=void 0,""===i[n="webkitTransition"]&&(r="webkitTransitionEnd",s=n),""===i[n="transition"]&&(r="transitionend",s=n),""===i[n="webkitTransform"]&&(a=n),""===i[n="msTransform"]&&(a=n),""===i[n="transform"]&&(a=n),document.body.insertBefore(e,null),i[a]="translate3d(0, 0, 0)",o=!!t.getComputedStyle(e).getPropertyValue(a),document.body.removeChild(e),{transform:a,transition:s,transitionEnd:r,hasTranslate3d:o}}}).call(e,i(10))},function(t,e){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";var n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"slider-container",class:t.s_data.containerClass,on:{mouseleave:t.swipeOut}},[i("div",{staticClass:"slider-touch",style:t.styleobj,on:{touchmove:t.swipeMove,touchstart:t.swipeStart,touchend:t.swipeEnd,mousedown:t.swipeStart,mouseup:t.swipeEnd,mousemove:t.swipeMove,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[0===t.pages.length?i("div",{staticClass:"slider-wrapper",class:t.classObject},[t._t("default")],2):t._e()]),t._v(" "),t.s_data.pagination?i("div",{staticClass:"slider-pagination slider-pagination-bullets"},[t._l(t.pagenums||t.s_data.sliderLength,function(e){return[t.options.renderPagination?t._e():i("span",{key:e,staticClass:"slider-pagination-bullet",class:e-1===t.data.currentPage?"slider-pagination-bullet-active":"",on:{click:function(i){t.slide(e-1)}}}),t._v(" "),t.options.renderPagination?i("renderpagination",{key:e,class:e-1===t.data.currentPage?"slider-pagination-bullet-active-render":"",attrs:{index:e,options:t.options},nativeOn:{click:function(i){t.slide(e-1)}}}):t._e()]})],2):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.pagenums&&0===t.s_data.sliderLength||t.s_data.loading,expression:"(!pagenums && s_data.sliderLength === 0)||s_data.loading"}],staticClass:"slider-loading"},[t._t("loading")],2)])},staticRenderFns:[]};e.a=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["index","pageLength"],name:"slideritem",data:function(){return{slideClass:{"slider-item":!0,"slider-active":!1},data:{start:{},end:{},index:this.index?this.index:this.$vnode.key,$el:""}}},mounted:function(){this.renderDom(),this.data.$el=this.$el},methods:{touchStart:function(t){if("touchstart"===t.type){if(t.touches.length>1)return this.data.tracking=!1,!1;this.data.start.t=(new Date).getTime(),this.data.start.x=t.targetTouches[0].clientX,this.data.start.y=t.targetTouches[0].clientY,this.data.end.x=t.targetTouches[0].clientX,this.data.end.y=t.targetTouches[0].clientY,this.data.start.pageX=t.targetTouches[0].pageX,this.data.start.pageY=t.targetTouches[0].pageY}else this.data.start.t=(new Date).getTime(),this.data.start.x=t.clientX,this.data.start.y=t.clientY,this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.start.pageX=t.pageX,this.data.start.pageY=t.pageY},touchEnd:function(t){var e=(new Date).getTime()-this.data.start.t;"touchend"===t.type?(this.data.end.t=(new Date).getTime(),this.data.end.x=t.changedTouches[0].clientX,this.data.end.y=t.changedTouches[0].clientY,this.data.end.pageX=t.changedTouches[0].pageX,this.data.end.pageY=t.changedTouches[0].pageY):(this.data.end.t=(new Date).getTime(),this.data.end.x=t.clientX,this.data.end.y=t.clientY,this.data.end.pageX=t.pageX,this.data.end.pageY=t.pageY);var i=this.data.end.pageX-this.data.start.pageX||0,n=this.data.end.pageY-this.data.start.pageY||0;e<300&&Math.abs(i)<10&&Math.abs(n)<10&&this.$emit("tap",this.data)},renderDom:function(){this.$parent&&this.$parent.renderDom(this.$el)},addActive:function(){this.slideClass["slider-active"]=!0},removeActive:function(){this.slideClass["slider-active"]=!1},onTransitionEnd:function(t){this.$parent&&this.$parent.onItemTransitionEnd(t)},transform:function(){var t=this.$parent.options,e=this.$parent.data,i=this.$parent.s_data;if(!(t&&e&&i&&this.$el&&"coverflow"===t.effect))return{};var n=this.index,a=i.pageWidth/2-this.$el.offsetWidth/2,s=a-i.deviation+"px",r=a+i.deviation+"px",o=a+"px",d={};return n===e.currentPage-1||n===this.pageLength-2&&-1===e.currentPage?(d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="10":d["z-index"]="1"):n===e.currentPage+1||1===n&&e.currentPage===this.pageLength?(d.transform="translate3D("+r+",0 ,0)",d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1","left"===e.direction?d["z-index"]="1":d["z-index"]="10"):n===e.currentPage?(d.transform="translate3D("+o+",0 ,0) scale3d(1,1,1)",d["z-index"]="99",d.opacity="1"):(d.transform="translate3D("+o+",0 ,0)",d.opacity="0"),n===this.pageLength-1&&0===e.currentPage&&(d.transform="translate3D("+s+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),0===n&&e.currentPage===this.pageLength-1&&(d.transform="translate3D("+r+",0 ,0) scale3d("+i.widthScalingRatio+","+i.heightScalingRatio+",1)",d.opacity="1"),(n!==this.pageLength-1&&n!==this.pageLength-2||-1!==e.currentPage)&&(0!==n&&1!==n||e.currentPage!==this.pageLength)||(d.opacity="1",0===n&&(d["z-index"]="99"),n===this.pageLength-1&&(d["z-index"]="99")),d[i.prefixes.transition+"Duration"]=(i.animation?t.speed||300:0)+"ms",d.position="absolute",d}}}},function(t,e,i){"use strict";var n={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.slideClass,style:[t.transform(t.index)],on:{touchstart:t.touchStart,touchend:t.touchEnd,mousedown:t.touchStart,mouseup:t.touchEnd,"webkit-transition-end":t.onTransitionEnd,transitionend:t.onTransitionEnd}},[t._t("default")],2)},staticRenderFns:[]};e.a=n},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.slideritem=e.slider=void 0;var a=n(i(3)),s=n(i(4)),r=a.default,o=s.default;e.default=r,e.slider=r,e.slideritem=o}])},t.exports=n()},sXiX:function(t,e){}});
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,o,a){for(var f,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(c&&c(n,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=t(t.s=a[u]);return i};var n={},r={22:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"176a3ab84124c7ef88d4",1:"6858fc07170088b26679",2:"3e9ef61e327332d28007",3:"5873cf6d87a1b0252794",4:"8c1d0c4bc63a4ae2c283",5:"843c7c4cee3779bcbf5f",6:"13a604478059678ac461",7:"daa2aae303d56c4079db",8:"8d274d9fbfaf13f624f2",9:"eac453567637208bd50e",10:"c30c28b9d9d85fa9bd67",11:"3cff7e7b323b4f65c7fe",12:"8a52a6fcafe5cc7f8308",13:"982a0f766d0c43706149",14:"ab8c46c85b7556bc375e",15:"70800bd50cab6cd104fb",16:"5a0b1832f62c4e54cff1",19:"38055de6a4e5ec0dd3c5",20:"5390289865d79595e30f",21:"7058cd92e63cf28950da"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="/",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var c=window.webpackJsonp;window.webpackJsonp=function(n,o,a){for(var f,d,i,u=0,b=[];u<n.length;u++)d=n[u],r[d]&&b.push(r[d][0]),r[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(c&&c(n,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=t(t.s=a[u]);return i};var n={},r={22:0};function t(c){if(n[c])return n[c].exports;var r=n[c]={i:c,l:!1,exports:{}};return e[c].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.e=function(e){var c=r[e];if(0===c)return new Promise(function(e){e()});if(c)return c[2];var n=new Promise(function(n,t){c=r[e]=[n,t]});c[2]=n;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"176a3ab84124c7ef88d4",1:"6858fc07170088b26679",2:"3e9ef61e327332d28007",3:"5873cf6d87a1b0252794",4:"8c1d0c4bc63a4ae2c283",5:"843c7c4cee3779bcbf5f",6:"13a604478059678ac461",7:"daa2aae303d56c4079db",8:"6b53dd8b958d41b27bb8",9:"eac453567637208bd50e",10:"c30c28b9d9d85fa9bd67",11:"3cff7e7b323b4f65c7fe",12:"8a52a6fcafe5cc7f8308",13:"982a0f766d0c43706149",14:"ab8c46c85b7556bc375e",15:"70800bd50cab6cd104fb",16:"5a0b1832f62c4e54cff1",19:"38055de6a4e5ec0dd3c5",20:"5390289865d79595e30f",21:"7058cd92e63cf28950da"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var c=r[e];0!==c&&(c&&c[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),n},t.m=e,t.c=n,t.d=function(e,c,n){t.o(e,c)||Object.defineProperty(e,c,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var c=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(c,"a",c),c},t.o=function(e,c){return Object.prototype.hasOwnProperty.call(e,c)},t.p="/",t.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment