(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/u-announcement/u-announcement"],{"698b":function(t,n,e){"use strict";var i;e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return i}));var o=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"792c":function(t,n,e){},ae06:function(t,n,e){"use strict";e.r(n);var i=e("b3e1"),o=e.n(i);for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},b13c:function(t,n,e){"use strict";e.r(n);var i=e("698b"),o=e("ae06");for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("d198");var a,c=e("f0c5"),r=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,"2c6d6959",null,!1,i["a"],a);n["default"]=r.exports},b3e1:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=function(){e.e("components/basic-component/u-popup/u-popup").then(function(){return resolve(e("523b"))}.bind(null,e)).catch(e.oe)},o={data:function(){return{animationDuration:"10s",animationPlayState:"paused",showText:"",visibleSync:!1,showDrawer:!1,timer:null}},components:{uPopup:i},props:{content:String,bgColor:{type:String,default:"#f67f79"},icon:{type:String,default:""},name:{type:String,default:"公告"},textColor:{type:String,default:"#ffffff"},headerUrl:{type:String,default:""},btnText:{type:String,default:"我知道了"},btnTextColor:{type:String,default:"#ffffff"},btnColor:{type:String,default:"#ff4544"},btnRadius:{type:String,default:"40rpx"},btnWidth:{type:Number,default:500}},watch:{content:{immediate:!0,handler:function(t){var n=this;t&&(this.showText=t.replace(/[\r\n]/g,""),this.$nextTick((function(){n.initSize()})))}}},methods:{initSize:function(){var n=this,e=[],i=new Promise((function(e){t.createSelectorQuery().in(n).select("#u-notice-content").boundingClientRect().exec((function(t){n.textWidth=t[0].width,e()}))}));e.push(i),Promise.all(e).then((function(){n.animationDuration="".concat(n.textWidth/t.upx2px(100),"s"),n.animationPlayState="paused",setTimeout((function(){n.animationPlayState="running"}),10)}))},take:function(t){this.visibleSync=t}},computed:{btnStyle:function(){return"width: ".concat(this.btnWidth,"rpx;color:").concat(this.btnTextColor,";background-color:").concat(this.btnColor,";border-radius: ").concat(this.btnRadius,";")}},mounted:function(){var t=this;this.$nextTick((function(){t.initSize()}))}};n.default=o}).call(this,e("543d")["default"])},d198:function(t,n,e){"use strict";var i=e("792c"),o=e.n(i);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/u-announcement/u-announcement-create-component',
    {
        'components/page-component/u-announcement/u-announcement-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("b13c"))
        })
    },
    [['components/page-component/u-announcement/u-announcement-create-component']]
]);
