lvnengdist/static/js/pages-index-index.6021f8c1.js

1 line
150 KiB
JavaScript
Raw Normal View History

2020-11-04 09:41:42 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"01a9":function(A,t,e){"use strict";e.r(t);var i=e("038b"),a=e.n(i);for(var n in i)"default"!==n&&function(A){e.d(t,A,(function(){return i[A]}))}(n);t["default"]=a.a},"038b":function(A,t,e){"use strict";var i=e("ee27");e("4160"),e("a9e3"),e("ac1f"),e("5319"),e("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("f3f3")),n={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(A){A?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var A=(0,a.default)({},this.styles,{"transition-duration":this.duration/1e3+"s"}),t="";for(var e in A){var i=this.toLine(e);t+=i+":"+A[e]+";"}return t}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var A=this;for(var t in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===t?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[t]," ");this.$nextTick((function(){setTimeout((function(){A._animation(!0)}),50)}))},close:function(A){clearTimeout(this.timer),this._animation(!1)},_animation:function(A){var t=this,e=this.getTranfrom(A);for(var i in this.transform="",e)"opacity"===i?this.ani.in="fade-".concat(A?"out":"in"):this.transform+="".concat(e[i]," ");this.timer=setTimeout((function(){A||(t.isShow=!1),t.$emit("change",{detail:t.isShow})}),this.duration)},getTranfrom:function(A){var t={transform:""};return this.modeClass.forEach((function(e){switch(e){case"fade":t.opacity=A?1:0;break;case"slide-top":t.transform+="translateY(".concat(A?"0":"-100%",") ");break;case"slide-right":t.transform+="translateX(".concat(A?"0":"100%",") ");break;case"slide-bottom":t.transform+="translateY(".concat(A?"0":"100%",") ");break;case"slide-left":t.transform+="translateX(".concat(A?"0":"-100%",") ");break;case"zoom-in":t.transform+="scale(".concat(A?1:.8,") ");break;case"zoom-out":t.transform+="scale(".concat(A?1:1.2,") ");break}})),t},_modeClassArr:function(A){var t=this.modeClass;if("string"!==typeof t){var e="";return t.forEach((function(t){e+=t+"-"+A+","})),e.substr(0,e.length-1)}return t+"-"+A},toLine:function(A){return A.replace(/([A-Z])/g,"-$1").toLowerCase()}}};t.default=n},"08d0":function(A,t,e){"use strict";e.r(t);var i=e("62e0"),a=e.n(i);for(var n in i)"default"!==n&&function(A){e.d(t,A,(function(){return i[A]}))}(n);t["default"]=a.a},"09f1":function(A,t,e){var i=e("24fb");t=i(!1),t.push([A.i,".cur[data-v-127c8f73]{background-color:#4a9a9a!important}.curs[data-v-127c8f73]{background-color:#417506!important}.cue[data-v-127c8f73]{background-color:#09afaf!important}uni-page-body[data-v-127c8f73]{background-color:#231f20;width:100%;height:100%}.indexHead[data-v-127c8f73]{width:100%;position:relative}.headerImg[data-v-127c8f73]{width:100%;height:53px;display:block}.title[data-v-127c8f73]{position:absolute;font-size:27px;top:10px;left:37%;color:#fff;font-weight:600}.hotel[data-v-127c8f73]{margin-left:%?10?%;font-size:24px}.secede[data-v-127c8f73]{position:absolute;top:0;right:16px;font-size:16px;color:#779197;line-height:34px}.secede uni-text[data-v-127c8f73]{line-height:33px;margin-right:5px;position:relative;top:-3px}.secede uni-image[data-v-127c8f73]{width:20px;height:20px}.commun[data-v-127c8f73],.home[data-v-127c8f73]{font-size:18px;position:absolute}.commun[data-v-127c8f73]{left:16%}.message[data-v-127c8f73]{color:#208688;margin-left:10px}.home[data-v-127c8f73]{left:70%;color:#fff}.home uni-text[data-v-127c8f73]{margin-right:%?10?%}.home uni-image[data-v-127c8f73]{width:28px;height:20px;margin-right:%?4?%;vertical-align:middle}.indexRight[data-v-127c8f73]{\r\n/* \twidth: 80px; */background:#1e2a2c;border:4px solid #2c4646;position:absolute;right:17px;top:46px;padding:25px 15px 0 15px}.indexMiddle[data-v-