(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uview-ui/components/u-read-more/u-read-more"],{"46ec":function(t,e,n){},"4b7b":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var o={uIcon:function(){return n.e("uview-ui/components/u-icon/u-icon").then(n.bind(null,"f728"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.isLongContent?t.__get_style([t.innerShadowStyle]):null);t.$mp.data=Object.assign({},{$root:{s0:n}})},u=[]},"4ee0":function(t,e,n){"use strict";var o=n("46ec"),i=n.n(o);i.a},"8d6e":function(t,e,n){"use strict";n.r(e);var o=n("4b7b"),i=n("9c55");for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("4ee0");var r,a=n("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"94556bbe",null,!1,o["a"],r);e["default"]=c.exports},"9c55":function(t,e,n){"use strict";n.r(e);var o=n("a0f7"),i=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=i.a},a0f7:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-read-more",props:{showHeight:{type:[Number,String],default:400},toggle:{type:Boolean,default:!1},closeText:{type:String,default:"展开阅读全文"},openText:{type:String,default:"收起"},color:{type:String,default:"#2979ff"},fontSize:{type:[String,Number],default:28},shadowStyle:{type:Object,default:function(){return{backgroundImage:"linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 80%)",paddingTop:"300rpx",marginTop:"-300rpx"}}},textIndent:{type:String,default:"2em"},index:{type:[Number,String],default:""}},watch:{paramsChange:function(t){this.init()}},computed:{paramsChange:function(){return"".concat(this.toggle,"-").concat(this.showHeight)},innerShadowStyle:function(){return this.showMore?{}:this.shadowStyle}},data:function(){return{isLongContent:!1,showMore:!1,elId:this.$u.guid()}},mounted:function(){this.$nextTick((function(){this.init()}))},methods:{init:function(){var e=this;this.$uGetRect("."+this.elId).then((function(n){n.height>t.upx2px(e.showHeight)&&(e.isLongContent=!0,e.showMore=!1)}))},toggleReadMore:function(){this.showMore=!this.showMore,0==this.toggle&&(this.isLongContent=!1),this.$emit(this.showMore?"open":"close",this.index)}}};e.default=n}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'uview-ui/components/u-read-more/u-read-more-create-component',
    {
        'uview-ui/components/u-read-more/u-read-more-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("8d6e"))
        })
    },
    [['uview-ui/components/u-read-more/u-read-more-create-component']]
]);
