(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/px-popup-bottom/px-popup-bottom"],{1054:function(t,e,n){"use strict";n.r(e);var i=n(1055),o=n(1057);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n(1060);var u,a=n(34),c=Object(a["default"])(o["default"],i["render"],i["staticRenderFns"],!1,null,"32af3e28",null,!1,i["components"],u);c.options.__file="components/px-popup-bottom/px-popup-bottom.vue",e["default"]=c.exports},1055:function(t,e,n){"use strict";n.r(e);var i=n(1056);n.d(e,"render",(function(){return i["render"]})),n.d(e,"staticRenderFns",(function(){return i["staticRenderFns"]})),n.d(e,"recyclableRender",(function(){return i["recyclableRender"]})),n.d(e,"components",(function(){return i["components"]}))},1056:function(t,e,n){"use strict";var i;n.r(e),n.d(e,"render",(function(){return o})),n.d(e,"staticRenderFns",(function(){return u})),n.d(e,"recyclableRender",(function(){return r})),n.d(e,"components",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},r=!1,u=[];o._withStripped=!0},1057:function(t,e,n){"use strict";n.r(e);var i=n(1058),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},1058:function(t,e,n){"use strict";(function(t){var i=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n(59)),r=i(n(61)),u=i(n(1059)),a={props:{title:{type:String,default:""},fontweight:{type:[String,Number],default:"normal"},visible:{type:Boolean,default:!1},maxHeight:{type:[String,Number],default:"75%"},radius:{type:[String,Number],default:"0"},animaTime:{type:Number,default:.2},bottom:{type:[String,Number],default:0},bgColor:{type:[String],default:"#ffffff"},zindex:{type:[String,Number],default:1e3},maskZindex:{type:[String,Number],default:999},always:{type:Boolean,default:!1}},data:function(){return{show:!1,height:0,PopHeight:0,cotMaxHeight:"",isAnimaStart:!1,rpxRate:"",cotRadius:0,closeIcon:u.default}},watch:{visible:function(t){var e=this;this.isAnimaStart=!0,setTimeout((function(){e.isAnimaStart=!1}),1e3*this.animaTime),t&&0===this.height?(0===this.PopHeight||this.always?this.setContViewHeight():this.height=this.PopHeight,this.$emit("open")):this.height=0,this.show=t},maxHeight:{handler:function(t){this.cotMaxHeight=this.unitCheck(t)},immediate:!0},radius:{handler:function(t){this.cotRadius=this.unitCheck(t)},immediate:!0}},created:function(){this.rpxRate=this.getRpxRate()},mounted:function(){this.$nextTick((function(){}))},methods:{onClose:function(){this.$emit("update:visible",!1),this.$emit("close")},onScrollToLower:function(t){this.$emit("reachBottom")},getRpxRate:function(){var e=t.getSystemInfoSync(),n=e.windowWidth,i=750/n;return i},unitCheck:function(t){var e=String(t);return e.includes("px")||e.includes("%")?e:"".concat(e,"rpx")},preventTouch:function(t){t.addEventListener("touchmove",(function(t){t.stopPropagation()}),{passive:!1})},setBodyOverFlow:function(t){document.body.style.overflow=t},setContViewHeight:function(){var t=this;return(0,r.default)(o.default.mark((function e(){var n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.computeHeight();case 2:n=e.sent,t.height=n.height+(t.title?100/parseFloat(t.rpxRate):0),t.PopHeight=t.height;case 5:case"end":return e.stop()}}),e)})))()},computeHeight:function(){var e=this;return new Promise((function(n){e.$nextTick((function(){var i=t.createSelectorQuery().in(e);i.select("#popup_content").boundingClientRect((function(t){n(t)})).exec()}))}))}}};e.default=a}).call(this,n(2)["default"])},1060:function(t,e,n){"use strict";n.r(e);var i=n(1061),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},1061:function(t,e,n){}}]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/px-popup-bottom/px-popup-bottom.js.map ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/px-popup-bottom/px-popup-bottom-create-component', { 'components/px-popup-bottom/px-popup-bottom-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('2')['createComponent'](__webpack_require__(1054)) }) }, [['components/px-popup-bottom/px-popup-bottom-create-component']] ]);