| 1234567891011 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/uni-popup/uni-popup"],{241:function(n,t,e){"use strict";e.r(t);var o=e(242),i=e(244);for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e(246);var s,a=e(39),u=Object(a["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"7da806a4",null,!1,o["components"],s);u.options.__file="components/uni-popup/uni-popup.vue",t["default"]=u.exports},242:function(n,t,e){"use strict";e.r(t);var o=e(243);e.d(t,"render",(function(){return o["render"]})),e.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(t,"components",(function(){return o["components"]}))},243:function(n,t,e){"use strict";var o;e.r(t),e.d(t,"render",(function(){return i})),e.d(t,"staticRenderFns",(function(){return s})),e.d(t,"recyclableRender",(function(){return r})),e.d(t,"components",(function(){return o}));try{o={uniTransition:function(){return e.e("components/uni-transition/uni-transition").then(e.bind(null,672))}}}catch(a){if(-1===a.message.indexOf("Cannot find module")||-1===a.message.indexOf(".vue"))throw a;console.error(a.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var n=this,t=n.$createElement;n._self._c},r=!1,s=[];i._withStripped=!0},244:function(n,t,e){"use strict";e.r(t);var o=e(245),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},245:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){e.e("components/uni-transition/uni-transition").then(function(){return resolve(e(672))}.bind(null,e)).catch(e.oe)},i={name:"UniPopup",components:{uniTransition:o},props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0}}},watch:{type:{handler:function(n){switch(this.type){case"top":this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0};break;case"bottom":this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0};break;case"center":this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"};break}},immediate:!0}},created:function(){this.animation?this.duration=300:this.duration=0},methods:{clear:function(n){n.stopPropagation()},open:function(){var n=this;this.showPopup=!0,this.$nextTick((function(){clearTimeout(n.timer),n.timer=setTimeout((function(){n.showTrans=!0}),50)})),this.$emit("change",{show:!0})},close:function(n){var t=this;this.showTrans=!1,this.$nextTick((function(){clearTimeout(t.timer),t.timer=setTimeout((function(){t.$emit("change",{show:!1}),t.showPopup=!1}),300)}))},onTap:function(){this.maskClick&&this.close()}}};t.default=i},246:function(n,t,e){"use strict";e.r(t);var o=e(247),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},247:function(n,t,e){}}]);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/uni-popup/uni-popup.js.map
- ;(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__('1')['createComponent'](__webpack_require__(241))
- })
- },
- [['components/uni-popup/uni-popup-create-component']]
- ]);
|