(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/news"],{"3afa":function(t,n,a){},"47b6":function(t,n,a){"use strict";a.r(n);var o=a("54ad"),i=a("668b");for(var e in i)["default"].indexOf(e)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(e);a("f255");var l=a("828b"),f=Object(l["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=f.exports},"54ad":function(t,n,a){"use strict";a.d(n,"b",(function(){return o})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,a=(t._self._c,t.__get_style([t.newsStyle])),o=t.dataConfig.styleConfig.tabVal?t.__get_style([t.newsWrapperStyle]):null,i=t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.titleStyle]):null,e=t.dataConfig.styleConfig.tabVal&&!t.dataConfig.buttonConfig.tabVal?t.__get_style([t.moreStyle]):null,l=t.dataConfig.styleConfig.tabVal?t.__map(t.dataConfig.listConfig.list,(function(n,a){var o=t.__get_orig(n),i=t.__get_style([t.itemStyle]);return{$orig:o,s4:i}})):null,f=t.dataConfig.styleConfig.tabVal?null:t.__get_style([t.newsWrapperStyle]),r=!t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.leftStyle]):null,s=t.dataConfig.styleConfig.tabVal?null:t.__get_style([t.itemStyle]),c=t.dataConfig.styleConfig.tabVal||t.dataConfig.buttonConfig.tabVal?null:t.__get_style([t.moreStyle]);t.$mp.data=Object.assign({},{$root:{s0:a,s1:o,s2:i,s3:e,l0:l,s5:f,s6:r,s7:s,s8:c}})},i=[]},"668b":function(t,n,a){"use strict";a.r(n);var o=a("972b"),i=a.n(o);for(var e in o)["default"].indexOf(e)<0&&function(t){a.d(n,t,(function(){return o[t]}))}(e);n["default"]=i.a},"972b":function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={components:{uniNoticeBar:function(){a.e("components/uniNoticeBar/uni-notice-bar").then(function(){return resolve(a("2f256"))}.bind(null,a)).catch(a.oe)}},name:"news",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{indicatorDots:!1,autoplay:!0,duration:500}},computed:{newsStyle:function(){return{padding:"".concat(2*this.dataConfig.topConfig.val,"rpx ").concat(2*this.dataConfig.prConfig.val,"rpx ").concat(2*this.dataConfig.bottomConfig.val,"rpx"),marginTop:"".concat(2*this.dataConfig.mbConfig.val,"rpx"),background:this.dataConfig.bottomBgColor.color[0].item}},newsWrapperStyle:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx");return this.dataConfig.fillet.type&&(t="".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx ").concat(2*this.dataConfig.fillet.valList[2].val,"rpx ").concat(2*this.dataConfig.fillet.valList[3].val,"rpx")),{borderRadius:t,background:"linear-gradient(90deg, ".concat(this.dataConfig.moduleColor.color[0].item," 0%, ").concat(this.dataConfig.moduleColor.color[1].item," 100%)")}},moreStyle:function(){return{color:this.dataConfig.bntColor.color[0].item}},titleStyle:function(){return{color:this.dataConfig.titleColor.color[0].item}},leftStyle:function(){return{background:this.dataConfig.toneConfig.tabVal?"linear-gradient(90deg, ".concat(this.dataConfig.titleBgColor.color[0].item," 0%, ").concat(this.dataConfig.titleBgColor.color[1].item," 100%)"):"var(--view-theme)",color:this.dataConfig.toneConfig.tabVal?this.dataConfig.titleColor.color[0].item:"#ffffff"}},itemStyle:function(){return{color:this.dataConfig.newsColor.color[0].item}},linkConfig:function(){return this.dataConfig.linkConfig.value?this.dataConfig.linkConfig.value:"/pages/extension/news_list/index"}},methods:{moreTab:function(t){this.$util.JumpPath(t)}}};n.default=o},f255:function(t,n,a){"use strict";var o=a("3afa"),i=a.n(o);i.a}}]); ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'pages/index/components/news-create-component', { 'pages/index/components/news-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('df3c')['createComponent'](__webpack_require__("47b6")) }) }, [['pages/index/components/news-create-component']] ]);