!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/close_sq4.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/common/popup.js","@xysfe/actui/es/assets/mixins/fontsize.js","@xysfe/actui/es/assets/img/close_sq4.png"],t):"object"==typeof exports?exports["assets/common/layer.js"]=t(require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/popup.js"),require("@xysfe/actui/es/assets/mixins/fontsize.js"),require("@xysfe/actui/es/assets/img/close_sq4.png")):e["assets/common/layer.js"]=t(e["@xysfe/actui/es/assets/mixins/visible.js"],e["@xysfe/actui/es/assets/common/popup.js"],e["@xysfe/actui/es/assets/mixins/fontsize.js"],e["@xysfe/actui/es/assets/img/close_sq4.png"])}("undefined"!=typeof self?self:this,function(e,t,s,o){return function(e){function t(o){if(s[o])return s[o].exports;var n=s[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var s={};return t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=921)}({131:function(t,s){t.exports=e},551:function(e,s){e.exports=t},679:function(e,t,s){"use strict";var o=s(131),n=s.n(o),i=s(551),r=s.n(i),a=s(923),c=s.n(a);t.a={name:"ActLayer",mixins:[n.a,c.a],methods:{hideLayer:function(e){this.$emit("hidelayer",e)},headLoaded:function(){}},props:{type:{type:String,default:"big"},headImg:{type:String,default:""},headImgColor:{type:String,default:""},hbgColor:{type:String,default:""},cbgColor:{type:String,default:""},showHead:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},zIndex:{type:[String,Number],default:"999"}},computed:{_headerBgColor:function(){return this.hbgColor?this.hbgColor:"big"===this.type?"#f9443c":"#f7debb"},_contentBgColor:function(){return this.cbgColor?this.cbgColor:"big"===this.type||"img"===this.type?"#fff":"#f9443c"}},components:{ActPopup:r.a}}},8:function(e,t,s){"use strict";function o(e,t,s,o,n,i,r,a){e=e||{};var c=typeof e.default;"object"!==c&&"function"!==c||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=s,u._compiled=!0),o&&(u.functional=!0),i&&(u._scopeId=i);var l;if(r?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=l):n&&(l=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(e,t){return l.call(t),f(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}t.a=o},921:function(e,t,s){"use strict";function o(e){a||s(922)}Object.defineProperty(t,"__esModule",{value:!0});var n=s(679),i=s(924),r=s(8),a=!1,c=o,u=Object(r.a)(n.a,i.a,i.b,!1,c,"data-v-a275e3e0",null);u.options.__file="src\\components\\common\\layer.vue",t.default=u.exports},922:function(e,t){},923:function(e,t){e.exports=s},924:function(e,t,s){"use strict";s.d(t,"a",function(){return o}),s.d(t,"b",function(){return n});var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("act-popup",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],attrs:{zIndex:e.zIndex,opacity:e.opacity},scopedSlots:e._u([{key:"mask",fn:function(){return[o("div",{staticClass:"act-layer",class:"act-layer-"+e.type,style:{fontSize:e._fontSize}},["img"===e.type?[o("div",{ref:"headImg",staticClass:"head-img",style:{backgroundColor:e.headImgColor}},[o("img",{attrs:{src:e.headImg},on:{load:e.headLoaded}})]),e._v(" "),o("div",{staticClass:"act-layer-content fix-gap",style:{backgroundColor:e._contentBgColor}},[o("div",[e._t("content")],2)])]:o("div",{staticClass:"layer-wrap",style:{backgroundColor:e._contentBgColor}},[e.showHead?o("div",{staticClass:"act-layer-header",style:{color:e._headerBgColor,backgroundColor:e._headerBgColor}},[e._t("header")],2):e._e(),e._v(" "),o("div",{staticClass:"act-layer-content"},[e._t("content")],2)]),e._v(" "),e.showClose?o("div",{staticClass:"act-layer-close"},[o("img",{attrs:{src:s(925)},on:{click:e.hideLayer}})]):e._e()],2)]},proxy:!0}],null,!0)})},n=[];o._withStripped=!0},925:function(e,t){e.exports=o}})});