(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d238247"],{fdb5:function(a,t,o){"use strict";o.r(t);var e,n=function(){var a=this,t=a.$createElement,o=a._self._c||t;return o("v-container",[o("v-form",{directives:[{name:"loading",rawName:"v-loading",value:a.tload,expression:"tload"}],staticStyle:{"max-width":"600px",margin:"auto"}},[o("v-text-field",{attrs:{label:"小程序标题栏标题"},model:{value:a.formData.navbarTitle,callback:function(t){a.$set(a.formData,"navbarTitle",t)},expression:"formData.navbarTitle"}}),o("div",{staticClass:"panel-start item-center mt-3"},[o("div",[o("div",[a._v("标题栏前景色:")]),o("el-color-picker",{model:{value:a.formData.navbarFrontColor,callback:function(t){a.$set(a.formData,"navbarFrontColor",t)},expression:"formData.navbarFrontColor"}})],1),o("div",{staticClass:"ml-4"},[o("div",[a._v("标题栏背景色:")]),o("el-color-picker",{model:{value:a.formData.navbarBackColor,callback:function(t){a.$set(a.formData,"navbarBackColor",t)},expression:"formData.navbarBackColor"}})],1)]),o("v-text-field",{staticClass:"mt-3",attrs:{label:"分享标题"},model:{value:a.formData.shareTitle,callback:function(t){a.$set(a.formData,"shareTitle",t)},expression:"formData.shareTitle"}}),o("v-text-field",{staticClass:"mt-3",attrs:{label:"分享路径(禁止带参数)"},model:{value:a.formData.sharePath,callback:function(t){a.$set(a.formData,"sharePath",t)},expression:"formData.sharePath"}}),o("v-btn",{staticClass:"mt-3 dark",attrs:{loading:a.tload},on:{click:function(t){return a.submit()}}},[a._v("保存")])],1)],1)},r=[],l={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{navbarTitle:"",navbarFrontColor:"#000000",navbarBackColor:"#ffffff",shareTitle:"",sharePath:""},pageLoad:this.load,tload:!1}},watch:{load:function(a){a&&(this.pageLoad=a)},pageLoad:function(a){a&&this.getConfig()}},mounted:function(){e=this,e.getConfig()},methods:{getConfig:function(){e.tload=!0,this.$post("config/get",{config_key:"mwx_page_setting"},function(a){e.tload=!1,0==a.errno&&a.data.config_content&&(e.formData=JSON.parse(a.data.config_content))})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"mwx_page_setting",config_content:JSON.stringify(this.formData)},function(a){e.tload=!1,0===a.errno&&e.$message({showClose:!0,message:a.errmsg,type:"success"})})}}},i=l,s=o("6691"),c=Object(s["a"])(i,n,r,!1,null,null,null);t["default"]=c.exports}}]);
//# sourceMappingURL=chunk-2d238247.2ceb8c9a.js.map