mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-24 10:50:28 +00:00
11 lines
4.4 KiB
JavaScript
11 lines
4.4 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/news"],{"2d5f":function(t,n,o){"use strict";o.d(n,"b",(function(){return a})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){}));var a=function(){var t=this,n=t.$createElement,o=(t._self._c,t.newsList.length),a=o?t.__get_style([t.newsStyle]):null,i=o&&t.dataConfig.styleConfig.tabVal?t.__get_style([t.newsWrapperStyle]):null,e=o&&t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.titleStyle]):null,l=o&&t.dataConfig.styleConfig.tabVal&&!t.dataConfig.buttonConfig.tabVal?t.__get_style([t.moreStyle]):null,f=o&&t.dataConfig.styleConfig.tabVal&&!t.dataConfig.buttonConfig.tabVal?t.$t("更多"):null,r=o&&t.dataConfig.styleConfig.tabVal?t.__map(t.newsList,(function(n,o){var a=t.__get_orig(n),i=t.__get_style([t.itemStyle]);return{$orig:a,s4:i}})):null,s=o&&!t.dataConfig.styleConfig.tabVal?t.__get_style([t.newsWrapperStyle]):null,c=o&&!t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.leftStyle]):null,u=o&&!t.dataConfig.styleConfig.tabVal?t.__get_style([t.itemStyle]):null,g=!o||t.dataConfig.styleConfig.tabVal||t.dataConfig.buttonConfig.tabVal?null:t.__get_style([t.moreStyle]);t.$mp.data=Object.assign({},{$root:{g0:o,s0:a,s1:i,s2:e,s3:l,m0:f,l0:r,s5:s,s6:c,s7:u,s8:g}})},i=[]},"767a":function(t,n,o){"use strict";o.r(n);var a=o("d04d"),i=o.n(a);for(var e in a)["default"].indexOf(e)<0&&function(t){o.d(n,t,(function(){return a[t]}))}(e);n["default"]=i.a},"7f03":function(t,n,o){},bced:function(t,n,o){"use strict";var a=o("7f03"),i=o.n(a);i.a},d04d:function(t,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={components:{uniNoticeBar:function(){o.e("components/uniNoticeBar/uni-notice-bar").then(function(){return resolve(o("efb1"))}.bind(null,o)).catch(o.oe)}},name:"news",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{indicatorDots:!1,autoplay:!0,duration:500,newsList:[],swiperIndex:0}},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[3].val,"rpx ").concat(2*this.dataConfig.fillet.valList[2].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"}},mounted:function(){var t=this.dataConfig.listConfig.list,n=[];t.forEach((function(t){t.show&&n.push(t)})),this.newsList=n},methods:{changeIndex:function(t){this.swiperIndex=t.detail.current},moreTab:function(t){this.$util.JumpPath(t)}}};n.default=a},dff0:function(t,n,o){"use strict";o.r(n);var a=o("2d5f"),i=o("767a");for(var e in i)["default"].indexOf(e)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(e);o("bced");var l=o("828b"),f=Object(l["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=f.exports}}]);
|
|
;(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__("dff0"))
|
|
})
|
|
},
|
|
[['pages/index/components/news-create-component']]
|
|
]);
|