11 lines
2.2 KiB
JavaScript
11 lines
2.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup"],{1523:function(t,n,e){},1843:function(t,n,e){"use strict";e.r(n);var i=e("2932"),o=e("adac");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("a8e9");var u=e("828b"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},2932:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"76d5":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={name:"UniPopup",props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},custom:{type:Boolean,default:!1},maskClick:{type:Boolean,default:!0},show:{type:Boolean,default:!0},top:{type:String,default:"0"},customClass:{type:String,default:""}},data:function(){return{ani:"",showPopup:!1,callback:null,isIphoneX:!1}},watch:{show:function(t){t?this.open():this.close()}},created:function(){this.isIphoneX=this.$util.uniappIsIPhoneX()},methods:{clear:function(){},open:function(t){var n=this;t&&(this.callback=t),this.$emit("change",{show:!0}),this.showPopup=!0,this.$nextTick((function(){setTimeout((function(){n.ani="uni-"+n.type}),30)}))},close:function(t,n){var e=this;!this.maskClick&&t||(this.$emit("change",{show:!1}),this.ani="",this.$nextTick((function(){setTimeout((function(){e.showPopup=!1}),300)})),n&&n(),this.callback&&this.callback.call(this))}}};n.default=i},a8e9:function(t,n,e){"use strict";var i=e("1523"),o=e.n(i);o.a},adac:function(t,n,e){"use strict";e.r(n);var i=e("76d5"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/uni-popup/uni-popup-create-component',
|
|
{
|
|
'components/uni-popup/uni-popup-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("1843"))
|
|
})
|
|
},
|
|
[['components/uni-popup/uni-popup-create-component']]
|
|
]);
|