12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["node-modules/uview-ui/components/u-popup/u-popup"],{3295:function(e,t,o){"use strict";var n=o("c4fe"),i=o.n(n);i.a},"8cf4":function(e,t,o){"use strict";o.r(t);var n=o("ffe9"),i=o.n(n);for(var u in n)"default"!==u&&function(e){o.d(t,e,(function(){return n[e]}))}(u);t["default"]=i.a},"963d":function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"c",(function(){return u})),o.d(t,"a",(function(){return n}));var n={uOverlay:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-overlay/u-overlay")]).then(o.bind(null,"798a"))},uTransition:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-transition/u-transition")]).then(o.bind(null,"16f5"))},uStatusBar:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-status-bar/u-status-bar")]).then(o.bind(null,"ec6f"))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,"2acb"))},uSafeBottom:function(){return Promise.all([o.e("common/vendor"),o.e("node-modules/uview-ui/components/u-safe-bottom/u-safe-bottom")]).then(o.bind(null,"424d"))}},i=function(){var e=this,t=e.$createElement,o=(e._self._c,e.__get_style([e.contentStyle]));e.$mp.data=Object.assign({},{$root:{s0:o}})},u=[]},"9b93":function(e,t,o){"use strict";o.r(t);var n=o("963d"),i=o("8cf4");for(var u in i)"default"!==u&&function(e){o.d(t,e,(function(){return i[e]}))}(u);o("3295");var r,s=o("f0c5"),d=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"078737a2",null,!1,n["a"],r);t["default"]=d.exports},c4fe:function(e,t,o){},ffe9:function(e,t,o){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o("9f1a"));function i(e){return e&&e.__esModule?e:{default:e}}var u={name:"u-popup",mixins:[e.$u.mpMixin,e.$u.mixin,n.default],data:function(){return{overlayDuration:this.duration+50}},watch:{show:function(e,t){if(!0===e){var o=this.$children;this.retryComputedComponentRect(o)}}},computed:{transitionStyle:function(){var t={zIndex:this.zIndex,position:"fixed",display:"flex"};return t[this.mode]=0,"left"===this.mode||"right"===this.mode?e.$u.deepMerge(t,{bottom:0,top:0}):"top"===this.mode||"bottom"===this.mode?e.$u.deepMerge(t,{left:0,right:0}):"center"===this.mode?e.$u.deepMerge(t,{alignItems:"center","justify-content":"center",top:0,left:0,right:0,bottom:0}):void 0},contentStyle:function(){var t={},o=e.$u.sys();o.safeAreaInsets;if("center"!==this.mode&&(t.flex=1),this.bgColor&&(t.backgroundColor=this.bgColor),this.round){var n=e.$u.addUnit(this.round);"top"===this.mode?(t.borderBottomLeftRadius=n,t.borderBottomRightRadius=n):"bottom"===this.mode?(t.borderTopLeftRadius=n,t.borderTopRightRadius=n):"center"===this.mode&&(t.borderRadius=n)}return e.$u.deepMerge(t,e.$u.addStyle(this.customStyle))},position:function(){return"center"===this.mode?this.zoom?"fade-zoom":"fade":"left"===this.mode?"slide-left":"right"===this.mode?"slide-right":"bottom"===this.mode?"slide-up":"top"===this.mode?"slide-down":void 0}},methods:{overlayClick:function(){this.closeOnClickOverlay&&this.$emit("close")},close:function(e){this.$emit("close")},afterEnter:function(){this.$emit("open")},clickHandler:function(){"center"===this.mode&&this.overlayClick(),this.$emit("click")},retryComputedComponentRect:function(t){for(var o=this,n=["u-calendar-month","u-album","u-collapse-item","u-dropdown","u-index-item","u-index-list","u-line-progress","u-list-item","u-rate","u-read-more","u-row","u-row-notice","u-scroll-list","u-skeleton","u-slider","u-steps-item","u-sticky","u-subsection","u-swipe-action-item","u-tabbar","u-tabs","u-tooltip"],i=function(i){var u=t[i],r=u.$children;n.includes(u.$options.name)&&"function"===typeof(null===u||void 0===u?void 0:u.init)&&e.$u.sleep(50).then((function(){u.init()})),r.length&&o.retryComputedComponentRect(r)},u=0;u<t.length;u++)i(u)}}};t.default=u}).call(this,o("543d")["default"])}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'node-modules/uview-ui/components/u-popup/u-popup-create-component',
- {
- 'node-modules/uview-ui/components/u-popup/u-popup-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("9b93"))
- })
- },
- [['node-modules/uview-ui/components/u-popup/u-popup-create-component']]
- ]);
|