文件
mashangyoujiu/Public/DIY/js/chunk-f4f2487c.6002687f.js

1 行
6.7 KiB
JavaScript
可执行文件

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f4f2487c"],{"6ee1":function(o,e,t){},a52d:function(o,e,t){"use strict";t("6ee1")},d14c:function(o,e,t){"use strict";t.r(e);var n=function(){var o=this,e=o._self._c;return e("div",{attrs:{id:"diy-live"}},[e("el-form",{attrs:{model:o.componentData,"label-width":"80px","label-position":"top"}},[e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"上边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:o.componentData.marginTop,callback:function(e){o.$set(o.componentData,"marginTop",e)},expression:"componentData.marginTop"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"下边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:o.componentData.marginBottom,callback:function(e){o.$set(o.componentData,"marginBottom",e)},expression:"componentData.marginBottom"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"左右边距"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:o.componentData.marginLR,callback:function(e){o.$set(o.componentData,"marginLR",e)},expression:"componentData.marginLR"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"组件圆角(px)"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:50},model:{value:o.componentData.borderRadius,callback:function(e){o.$set(o.componentData,"borderRadius",e)},expression:"componentData.borderRadius"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"背景颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors,"show-alpha":""},on:{"active-change":o.backgroundColorChange},model:{value:o.componentData.backgroundColor,callback:function(e){o.$set(o.componentData,"backgroundColor",e)},expression:"componentData.backgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.backgroundColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"头像边框颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors,"show-alpha":""},on:{"active-change":o.avatarBroderColorChange},model:{value:o.componentData.avatarBroderColor,callback:function(e){o.$set(o.componentData,"avatarBroderColor",e)},expression:"componentData.avatarBroderColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.avatarBroderColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"主播名称颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors},on:{"active-change":o.userNameColorChange},model:{value:o.componentData.userNameColor,callback:function(e){o.$set(o.componentData,"userNameColor",e)},expression:"componentData.userNameColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.userNameColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"查看更多颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors},on:{"active-change":o.moreColorChange},model:{value:o.componentData.moreColor,callback:function(e){o.$set(o.componentData,"moreColor",e)},expression:"componentData.moreColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.moreColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"直播中背景颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors,"show-alpha":""},on:{"active-change":o.processingBackgroundColorChange},model:{value:o.componentData.processingBackgroundColor,callback:function(e){o.$set(o.componentData,"processingBackgroundColor",e)},expression:"componentData.processingBackgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.processingBackgroundColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"直播中文字颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors},on:{"active-change":o.processingTextColorChange},model:{value:o.componentData.processingTextColor,callback:function(e){o.$set(o.componentData,"processingTextColor",e)},expression:"componentData.processingTextColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.processingTextColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"预播背景颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors,"show-alpha":""},on:{"active-change":o.preBackgroundColorChange},model:{value:o.componentData.preBackgroundColor,callback:function(e){o.$set(o.componentData,"preBackgroundColor",e)},expression:"componentData.preBackgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.preBackgroundColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"预播文字颜色"}},[e("el-color-picker",{attrs:{predefine:this.$root.predefineColors},on:{"active-change":o.preTextColorChange},model:{value:o.componentData.preTextColor,callback:function(e){o.$set(o.componentData,"preTextColor",e)},expression:"componentData.preTextColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.preTextColorReset}},[o._v("重置")])],1)],1)],1)},a=[],r={name:"diy-live",props:["componentData"],data:function(){return{}},methods:{backgroundColorChange:function(o){this.componentData.backgroundColor=o},backgroundColorReset:function(){this.componentData.backgroundColor="#FFF"},avatarBroderColorChange:function(o){this.componentData.avatarBroderColor=o},avatarBroderColorReset:function(){this.componentData.avatarBroderColor="#FF948A"},userNameColorChange:function(o){this.componentData.userNameColor=o},userNameColorReset:function(){this.componentData.userNameColor="#000"},moreColorChange:function(o){this.componentData.moreColor=o},moreColorReset:function(){this.componentData.moreColor="#888"},processingBackgroundColorChange:function(o){this.componentData.processingBackgroundColor=o},processingBackgroundColorReset:function(){this.componentData.processingBackgroundColor="#ff5c6d"},processingTextColorChange:function(o){this.componentData.processingTextColor=o},processingTextColorReset:function(){this.componentData.processingTextColor="#FFF"},preBackgroundColorChange:function(o){this.componentData.preBackgroundColor=o},preBackgroundColorReset:function(){this.componentData.preBackgroundColor="#A271FE"},preTextColorChange:function(o){this.componentData.preTextColor=o},preTextColorReset:function(){this.componentData.preTextColor="#FFF"}}},l=r,i=(t("a52d"),t("2877")),c=Object(i["a"])(l,n,a,!1,null,"e61c405c",null);e["default"]=c.exports}}]);