mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-25 14:53:52 +00:00
11 lines
4.9 KiB
JavaScript
11 lines
4.9 KiB
JavaScript
require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subpackage/diyComponents/news"],{4584:function(t,n,e){"use strict";var o=e("9274"),a=e.n(o);a.a},9274:function(t,n,e){},a958:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.newsList.length),o=e&&t.dataConfig.styleConfig.tabVal?t.__get_style([t.newsWrapperStyle]):null,a=e&&t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.titleStyle]):null,i=e&&t.dataConfig.styleConfig.tabVal&&!t.dataConfig.buttonConfig.tabVal?t.__get_style([t.moreStyle]):null,l=e&&t.dataConfig.styleConfig.tabVal&&!t.dataConfig.buttonConfig.tabVal?t.$t("更多"):null,r=e&&t.dataConfig.styleConfig.tabVal?t.__map(t.newsList,(function(n,e){var o=t.__get_orig(n),a=t.__get_style([t.itemStyle]);return{$orig:o,s3:a}})):null,f=e&&!t.dataConfig.styleConfig.tabVal?t.__get_style([t.newsWrapperStyle]):null,c=e&&!t.dataConfig.styleConfig.tabVal&&t.dataConfig.titleConfig.tabVal?t.__get_style([t.leftStyle]):null,s=e&&!t.dataConfig.styleConfig.tabVal?t.__get_style([t.itemStyle]):null,u=!e||t.dataConfig.styleConfig.tabVal||t.dataConfig.buttonConfig.tabVal?null:t.__get_style([t.moreStyle]);t.$mp.data=Object.assign({},{$root:{g0:e,s0:o,s1:a,s2:i,m0:l,l0:r,s4:f,s5:c,s6:s,s7:u}})},a=[]},d1ff:function(t,n,e){"use strict";e.r(n);var o=e("a958"),a=e("fe10");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("4584");var l=e("828b"),r=Object(l["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=r.exports},dac4:function(t,n,e){"use strict";var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(e("7ca3"));function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}var l={components:{uniNoticeBar:function(){e.e("components/uniNoticeBar/uni-notice-bar").then(function(){return resolve(e("2afc"))}.bind(null,e)).catch(e.oe)},commonWrapper:function(){e.e("subpackage/diyComponents/commonWrapper").then(function(){return resolve(e("11450"))}.bind(null,e)).catch(e.oe)}},name:"news",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{indicatorDots:!1,autoplay:!0,duration:500,newsList:[],swiperIndex:0}},computed:{configData:function(){return function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){(0,a.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({},this.dataConfig)},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=l},fe10:function(t,n,e){"use strict";e.r(n);var o=e("dac4"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=a.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'subpackage/diyComponents/news-create-component',
|
|
{
|
|
'subpackage/diyComponents/news-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("d1ff"))
|
|
})
|
|
},
|
|
[['subpackage/diyComponents/news-create-component']]
|
|
]);
|