mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-22 01:20:27 +00:00
11 lines
6.8 KiB
JavaScript
11 lines
6.8 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/liveBroadcast"],{"0701":function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return e})),i.d(a,"a",(function(){return l}));var l={easyLoadimage:function(){return i.e("components/easy-loadimage/easy-loadimage").then(i.bind(null,"1bea"))}},n=function(){var t=this,a=t.$createElement,l=(t._self._c,t.__get_style([t.liveWrapperStyle])),n=t.__get_style([t.liveStyle]),e=0==t.dataConfig.styleConfig.tabVal?t.__map(t.liveList,(function(a,l){var n=t.__get_orig(a),e=t.__get_style([t.liveWrapStyle]),o=101==a.live_status?t.$t("直播中"):null,s=101!=a.live_status&&102==a.live_status?t.$t("预告"):null,r=101!=a.live_status&&102!=a.live_status&&103==a.live_status?t.$t("回放"):null,u=t.anchorShow?a.anchor_img||i("1ffd"):null,f=t.anchorShow?t.$t("主播"):null;return{$orig:n,s2:e,m0:o,m1:s,m2:r,m3:u,m4:f}})):null,o=0!=t.dataConfig.styleConfig.tabVal&&1==t.dataConfig.styleConfig.tabVal?t.__map(t.liveList,(function(a,i){var l=t.__get_orig(a),n=t.__get_style([t.liveWrapStyle]),e=101==a.live_status?t.$t("直播中"):null,o=101!=a.live_status&&102==a.live_status?t.$t("预告"):null,s=101!=a.live_status&&102!=a.live_status&&103==a.live_status?t.$t("回放"):null,r=t.__map(a.goods,(function(a,i){var l=t.__get_orig(a),n=i<3&&i<2?t.$t("¥"):null;return{$orig:l,m8:n}}));return{$orig:l,s3:n,m5:e,m6:o,m7:s,l1:r}})):null,s=0!=t.dataConfig.styleConfig.tabVal&&1!=t.dataConfig.styleConfig.tabVal&&2==t.dataConfig.styleConfig.tabVal?t.__map(t.liveList,(function(a,l){var n=t.__get_orig(a),e=t.__get_style([t.liveWrapStyle]),o=101==a.live_status?t.$t("直播中"):null,s=101!=a.live_status&&102==a.live_status?t.$t("预告"):null,r=101!=a.live_status&&102!=a.live_status&&103==a.live_status?t.$t("回放"):null,u=t.anchorShow?a.anchor_img||i("1ffd"):null,f=t.anchorShow?t.$t("主播"):null;return{$orig:n,s4:e,m9:o,m10:s,m11:r,m12:u,m13:f}})):null,r=0!=t.dataConfig.styleConfig.tabVal&&1!=t.dataConfig.styleConfig.tabVal&&2!=t.dataConfig.styleConfig.tabVal&&3==t.dataConfig.styleConfig.tabVal?t.__map(t.liveList,(function(a,l){var n=t.__get_orig(a),e=l?t.__get_style([t.liveWrapStyle]):null,o=l&&101==a.live_status?t.$t("直播中"):null,s=l&&101!=a.live_status&&102==a.live_status?t.$t("预告"):null,r=l&&101!=a.live_status&&102!=a.live_status&&103==a.live_status?t.$t("回放"):null,u=l&&t.anchorShow?a.anchor_img||i("1ffd"):null,f=l&&t.anchorShow?t.$t("主播"):null,c=l||101!=a.live_status?null:t.$t("直播中"),g=l||101==a.live_status||102!=a.live_status?null:t.$t("预告"),d=l||101==a.live_status||102==a.live_status||103!=a.live_status?null:t.$t("回放"),v=l||!t.titleShow&&!t.anchorShow?null:t.__get_style([t.imgStyle2]),m=!l&&(t.titleShow||t.anchorShow)&&t.anchorShow?a.anchor_img||i("1ffd"):null,_=!l&&(t.titleShow||t.anchorShow)&&t.anchorShow?t.$t("主播"):null;return{$orig:n,s5:e,m14:o,m15:s,m16:r,m17:u,m18:f,m19:c,m20:g,m21:d,s6:v,m22:m,m23:_}})):null;t.$mp.data=Object.assign({},{$root:{s0:l,s1:n,l0:e,l2:o,l3:s,l4:r}})},e=[]},"399a":function(t,a,i){},"4a81":function(t,a,i){"use strict";i.r(a);var l=i("0701"),n=i("8004");for(var e in n)["default"].indexOf(e)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(e);i("c74b");var o=i("828b"),s=Object(o["a"])(n["default"],l["b"],l["c"],!1,null,null,null,!1,l["a"],void 0);a["default"]=s.exports},"4db4":function(t,a,i){"use strict";var l=i("47a9");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n,e=l(i("7ca3")),o=i("8f59"),s=i("d369"),r=(n={computed:(0,o.mapGetters)(["uid"]),name:"liveBroadcast",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},data:function(){return{listStyle:0,mbConfig:0,liveList:[],customParams:0,bg:"",titleColor:"",prConfig:"",boxShadow:"",itemStyle:0}}},(0,e.default)(n,"computed",{imgStyle:function(){var t="".concat(2*this.dataConfig.filletImg.val,"rpx");return this.dataConfig.filletImg.type&&(t="".concat(2*this.dataConfig.filletImg.valList[0].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[1].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[3].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[2].val,"rpx")),t},imgStyle2:function(){var t="".concat(2*this.dataConfig.filletImg.val,"rpx");return this.dataConfig.filletImg.type&&(t="0 0 ".concat(2*this.dataConfig.filletImg.valList[3].val,"rpx ").concat(2*this.dataConfig.filletImg.valList[2].val,"rpx")),{"border-radius":t}},liveWrapperStyle:function(){return{padding:"".concat(2*this.dataConfig.topConfig.val,"rpx ").concat(2*this.dataConfig.prConfig.val,"rpx ").concat(2*this.dataConfig.bottomConfig.val,"rpx"),"margin-top":"".concat(2*this.dataConfig.mbConfig.val,"rpx"),background:this.dataConfig.bottomBgColor.color[0].item}},liveStyle: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")),{"border-radius":t,background:"linear-gradient(90deg, ".concat(this.dataConfig.moduleColor.color[0].item," 0%, ").concat(this.dataConfig.moduleColor.color[1].item," 100%)")}},liveWrapStyle:function(){var t=0,a=0,i=0;return 2==this.dataConfig.styleConfig.tabVal?(a="".concat(2*this.dataConfig.liveConfig.val,"rpx"),i="".concat(2*this.dataConfig.liveConfig.val,"rpx")):t="".concat(2*this.dataConfig.liveConfig.val,"rpx"),{"margin-top":t,"margin-left":a,"margin-right":i}},anchorShow:function(){return this.dataConfig.checkboxInfo.type.includes(1)},titleShow:function(){return this.dataConfig.checkboxInfo.type.includes(0)}}),(0,e.default)(n,"watch",{uid:{handler:function(t,a){this.getCustomParams()},immediate:!0,deep:!0}}),(0,e.default)(n,"created",(function(){})),(0,e.default)(n,"mounted",(function(){this.getLiveList()})),(0,e.default)(n,"methods",{getCustomParams:function(){this.customParams=encodeURIComponent(JSON.stringify({pid:this.uid}))},getLiveList:function(){var t=this;this.$config.LIMIT;(0,s.getLiveList)(1,void 0==this.dataConfig.numberConfig.val?10:this.dataConfig.numberConfig.val).then((function(a){t.liveList=a.data})).catch((function(t){}))}}),n);a.default=r},8004:function(t,a,i){"use strict";i.r(a);var l=i("4db4"),n=i.n(l);for(var e in l)["default"].indexOf(e)<0&&function(t){i.d(a,t,(function(){return l[t]}))}(e);a["default"]=n.a},c74b:function(t,a,i){"use strict";var l=i("399a"),n=i.n(l);n.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'pages/index/components/liveBroadcast-create-component',
|
|
{
|
|
'pages/index/components/liveBroadcast-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("4a81"))
|
|
})
|
|
},
|
|
[['pages/index/components/liveBroadcast-create-component']]
|
|
]);
|