1 行
6.9 KiB
JavaScript
可执行文件
1 行
6.9 KiB
JavaScript
可执行文件
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4048f4c9"],{5729:function(o,e,t){},a505:function(o,e,t){"use strict";t.r(e);var a=function(){var o=this,e=o._self._c;return e("div",{attrs:{id:"diy-home-top"}},[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("el-switch",{model:{value:o.componentData.position,callback:function(e){o.$set(o.componentData,"position",e)},expression:"componentData.position"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:o.componentData.position,expression:"componentData.position"}],staticClass:"form-item-content-inline",attrs:{label:"固定左距离"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:1024},model:{value:o.componentData.positionLeft,callback:function(e){o.$set(o.componentData,"positionLeft",e)},expression:"componentData.positionLeft"}})],1)]),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:o.componentData.position,expression:"componentData.position"}],staticClass:"form-item-content-inline",attrs:{label:"固定上距离"}},[e("div",{staticStyle:{width:"100%","padding-left":"50px"}},[e("el-slider",{attrs:{max:1024},model:{value:o.componentData.positionTop,callback:function(e){o.$set(o.componentData,"positionTop",e)},expression:"componentData.positionTop"}})],1)]),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"页面背景颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.colorChange},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.colorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"店铺切换显示"}},[e("el-switch",{model:{value:o.componentData.showLocation,callback:function(e){o.$set(o.componentData,"showLocation",e)},expression:"componentData.showLocation"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"地图图标颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.iconMapColorChange},model:{value:o.componentData.iconMapColor,callback:function(e){o.$set(o.componentData,"iconMapColor",e)},expression:"componentData.iconMapColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.iconMapColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"店铺切换颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.storeSwitchColorChange},model:{value:o.componentData.storeSwitchColor,callback:function(e){o.$set(o.componentData,"storeSwitchColor",e)},expression:"componentData.storeSwitchColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.storeSwitchColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"搜索框显示"}},[e("el-switch",{model:{value:o.componentData.showSearch,callback:function(e){o.$set(o.componentData,"showSearch",e)},expression:"componentData.showSearch"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"搜索提示颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.searchPlaceholderColorChange},model:{value:o.componentData.searchPlaceholderColor,callback:function(e){o.$set(o.componentData,"searchPlaceholderColor",e)},expression:"componentData.searchPlaceholderColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.searchPlaceholderColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"搜索背景颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.searchBackgroundColorChange},model:{value:o.componentData.searchBackgroundColor,callback:function(e){o.$set(o.componentData,"searchBackgroundColor",e)},expression:"componentData.searchBackgroundColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.searchBackgroundColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"扫码图标显示"}},[e("el-switch",{model:{value:o.componentData.showQRcode,callback:function(e){o.$set(o.componentData,"showQRcode",e)},expression:"componentData.showQRcode"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"扫码购图标颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.QRCodeColorChange},model:{value:o.componentData.QRCodeColor,callback:function(e){o.$set(o.componentData,"QRCodeColor",e)},expression:"componentData.QRCodeColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.QRCodeColorReset}},[o._v("重置")])],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"会员图标显示"}},[e("el-switch",{model:{value:o.componentData.showMemberCard,callback:function(e){o.$set(o.componentData,"showMemberCard",e)},expression:"componentData.showMemberCard"}})],1),e("el-form-item",{staticClass:"form-item-content-inline",attrs:{label:"会员卡图标颜色"}},[e("el-color-picker",{attrs:{"show-alpha":"",predefine:this.$root.predefineColors},on:{"active-change":o.memberCardColorChange},model:{value:o.componentData.memberCardColor,callback:function(e){o.$set(o.componentData,"memberCardColor",e)},expression:"componentData.memberCardColor"}}),e("el-link",{attrs:{type:"primary"},on:{click:o.memberCardColorReset}},[o._v("重置")])],1)],1)],1)},n=[],r={name:"diy-home-top",props:["componentData"],methods:{colorChange:function(o){this.componentData.backgroundColor=o},colorReset:function(){this.componentData.backgroundColor="#333"},iconMapColorChange:function(o){this.componentData.iconMapColor=o},iconMapColorReset:function(){this.componentData.iconMapColor="#FFF"},storeSwitchColorChange:function(o){this.componentData.storeSwitchColor=o},storeSwitchColorReset:function(){this.componentData.storeSwitchColor="#FFF"},searchPlaceholderColorChange:function(o){this.componentData.searchPlaceholderColor=o},searchPlaceholderColorReset:function(){this.componentData.searchPlaceholderColor="#CCC"},searchBackgroundColorChange:function(o){this.componentData.searchBackgroundColor=o},searchBackgroundColorReset:function(){this.componentData.searchBackgroundColor="#FFF"},QRCodeColorChange:function(o){this.componentData.QRCodeColor=o},QRCodeColorReset:function(){this.componentData.QRCodeColor="#FFF"},memberCardColorChange:function(o){this.componentData.memberCardColor=o},memberCardColorReset:function(){this.componentData.memberCardColor="#FFF"}}},c=r,l=(t("ab4c"),t("2877")),i=Object(l["a"])(c,a,n,!1,null,"30c935e3",null);e["default"]=i.exports},ab4c:function(o,e,t){"use strict";t("5729")}}]); |