11 lines
3.4 KiB
JavaScript
11 lines
3.4 KiB
JavaScript
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["tuniao-ui/components/tn-column-notice/tn-column-notice"],{"1ea0":function(t,e,n){},"8e6c":function(t,e,n){"use strict";var o=n("1ea0"),i=n.n(o);i.a},a214:function(t,e,n){"use strict";n.r(e);var o=n("f7fc"),i=n("c19b");for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);n("8e6c");var l=n("f0c5"),r=Object(l["a"])(i["default"],o["b"],o["c"],!1,null,"be802fc2",null,!1,o["a"],void 0);e["default"]=r.exports},c19b:function(t,e,n){"use strict";n.r(e);var o=n("eccc"),i=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);e["default"]=i.a},eccc:function(t,e,n){"use strict";var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("16ca")),c={name:"tn-column-notice",mixins:[i.default],props:{list:{type:Array,default:function(){return[]}},show:{type:Boolean,default:!0},playStatus:{type:String,default:"play"},mode:{type:String,default:"horizontal"},leftIcon:{type:Boolean,default:!0},leftIconName:{type:String,default:"sound"},leftIconSize:{type:Number,default:34},rightIcon:{type:Boolean,default:!1},rightIconName:{type:String,default:"right"},rightIconSize:{type:Number,default:26},closeBtn:{type:Boolean,default:!1},radius:{type:Number,default:0},padding:{type:String,default:"18rpx 24rpx"},autoplay:{type:Boolean,default:!0},duration:{type:Number,default:2e3}},computed:{fontStyle:function(){var t=this;return function(e){var n={};return n.color=t.fontColorStyle?t.fontColorStyle:"",n.fontSize=t.fontSizeStyle?t.fontSizeStyle:"","leftIcon"===e&&t.leftIconSize&&(n.fontSize=t.leftIconSize+"rpx"),"rightIcon"===e&&t.rightIconSize&&(n.fontSize=t.rightIconSize+"rpx"),"close"===e&&(n.fontSize="24rpx"),n}},noticeStyle:function(){var t={};return t.backgroundColor=this.backgroundColorStyle?this.backgroundColorStyle:"transparent",this.padding&&(t.padding=this.padding),t},swiperStyle:function(){var t={};return t.height=this.fontSize?this.fontSize+6+this.fontUnit:"32rpx",t.lineHeight=t.height,t},vertical:function(){return"horizontal"!==this.mode}},data:function(){return{}},watch:{},methods:{click:function(t){this.$emit("click",t)},close:function(){this.$emit("close")},clickLeftIcon:function(){this.$emit("clickLeft")},clickRightIcon:function(){this.$emit("clickRight")},change:function(t){var e=t.detail.current;e===this.list.length-1&&this.$emit("end")}}};e.default=c},f7fc:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__get_style([t.noticeStyle])),o=t.leftIcon?t.__get_style([t.fontStyle("leftIcon")]):null,i=t.__get_style([t.swiperStyle]),c=t.__get_style([t.fontStyle()]),l=t.rightIcon?t.__get_style([t.fontStyle("rightIcon")]):null,r=t.closeBtn?t.__get_style([t.fontStyle("close")]):null;t.$mp.data=Object.assign({},{$root:{s0:n,s1:o,s2:i,s3:c,s4:l,s5:r}})},i=[]}}]);
|
||
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||
|
'tuniao-ui/components/tn-column-notice/tn-column-notice-create-component',
|
||
|
{
|
||
|
'tuniao-ui/components/tn-column-notice/tn-column-notice-create-component':(function(module, exports, __webpack_require__){
|
||
|
__webpack_require__('543d')['createComponent'](__webpack_require__("a214"))
|
||
|
})
|
||
|
},
|
||
|
[['tuniao-ui/components/tn-column-notice/tn-column-notice-create-component']]
|
||
|
]);
|