11 lines
3.1 KiB
JavaScript
11 lines
3.1 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["tuniao-ui/components/tn-modal/tn-modal"],{2208:function(t,n,e){"use strict";var o=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=o(e("16ca")),l={mixins:[u.default],name:"tn-modal",props:{value:{type:Boolean,default:!1},width:{type:String,default:"84%"},padding:{type:String,default:""},radius:{type:Number,default:12},title:{type:String,default:""},content:{type:String,default:""},button:{type:Array,default:function(){return[]}},safeAreaInsetBottom:{type:Boolean,default:!1},maskCloseable:{type:Boolean,default:!0},showCloseBtn:{type:Boolean,default:!1},zoom:{type:Boolean,default:!0},custom:{type:Boolean,default:!1},zIndex:{type:Number,default:0}},computed:{boxStyle:function(){var t={};return this.padding&&(t.padding=this.padding),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),t},contentClass:function(){var t="";return this.title?t+=" tn-margin-top":t+=" tn-modal__box__content--no-title",t},contentStyle:function(){var t={};return this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.fontColorStyle&&(t.color=this.fontColorStyle),t}},data:function(){return{}},methods:{handleClick:function(t){this.value&&this.$emit("click",{index:Number(t)})},close:function(){this.$emit("cancel"),this.$emit("input",!1)}}};n.default=l},"5c68":function(t,n,e){"use strict";e.r(n);var o=e("bebb"),u=e("cf81");for(var l in u)["default"].indexOf(l)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(l);e("7954");var a=e("f0c5"),i=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"34ec3b36",null,!1,o["a"],void 0);n["default"]=i.exports},"67d3":function(t,n,e){},7954:function(t,n,e){"use strict";var o=e("67d3"),u=e.n(o);u.a},bebb:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return l})),e.d(n,"a",(function(){return o}));var o={tnPopup:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-popup/tn-popup")]).then(e.bind(null,"3b24"))},tnButton:function(){return Promise.all([e.e("common/vendor"),e.e("tuniao-ui/components/tn-button/tn-button")]).then(e.bind(null,"f566"))}},u=function(){var t=this,n=t.$createElement,e=(t._self._c,t.value?t.__get_style([t.boxStyle]):null),o=t.value&&!t.custom?t.button&&t.button.length:null,u=t.value&&!t.custom&&o?t.button.length:null,l=t.value&&!t.custom&&o?t.__map(t.button,(function(n,e){var o=t.__get_orig(n),u=t.button.length,l=t.button.length;return{$orig:o,g2:u,g3:l}})):null;t.$mp.data=Object.assign({},{$root:{s0:e,g0:o,g1:u,l0:l}})},l=[]},cf81:function(t,n,e){"use strict";e.r(n);var o=e("2208"),u=e.n(o);for(var l in o)["default"].indexOf(l)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(l);n["default"]=u.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'tuniao-ui/components/tn-modal/tn-modal-create-component',
|
|
{
|
|
'tuniao-ui/components/tn-modal/tn-modal-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('543d')['createComponent'](__webpack_require__("5c68"))
|
|
})
|
|
},
|
|
[['tuniao-ui/components/tn-modal/tn-modal-create-component']]
|
|
]);
|