yunshangxie/unpackage/dist/build/mp-weixin/tuniao-ui/components/tn-line-progress/tn-line-progress.js

11 lines
2.4 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["tuniao-ui/components/tn-line-progress/tn-line-progress"],{5425:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={name:"tn-line-progress",props:{percent:{type:Number,default:0,validator:function(t){return t>=0&&t<=100}},height:{type:Number,default:0},round:{type:Boolean,default:!0},striped:{type:Boolean,default:!1},stripedAnimation:{type:Boolean,default:!0},activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},showPercent:{type:Boolean,default:!1}},computed:{progressStyle:function(){var t={};return t.borderRadius=this.round?"100rpx":0,this.height&&(t.height=this.$tn.string.getLengthUnitValue(this.height)),this.inactiveColor&&(t.backgroundColor=this.inactiveColor),t},progressActiveStyle:function(){var t={};return t.width=this.percent+"%",this.$tn.color.getBackgroundColorStyle(this.activeColor)&&(t.backgroundColor=this.$tn.color.getBackgroundColorStyle(this.activeColor)),t}},data:function(){return{}}};e.default=r},6133:function(t,e,n){"use strict";n.r(e);var r=n("5425"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},6146:function(t,e,n){"use strict";var r=n("8f67"),o=n.n(r);o.a},"8f67":function(t,e,n){},bc50:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.progressStyle])),n=this.__get_style([this.progressActiveStyle]),r=this.$tn.color.getBackgroundColorInternalClass(this.activeColor);this.$mp.data=Object.assign({},{$root:{s0:e,s1:n,g0:r}})},o=[]},d277:function(t,e,n){"use strict";n.r(e);var r=n("bc50"),o=n("6133");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("6146");var a=n("f0c5"),s=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"54bc7bcc",null,!1,r["a"],void 0);e["default"]=s.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'tuniao-ui/components/tn-line-progress/tn-line-progress-create-component',
{
'tuniao-ui/components/tn-line-progress/tn-line-progress-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("d277"))
})
},
[['tuniao-ui/components/tn-line-progress/tn-line-progress-create-component']]
]);