(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0de18f"],{"83ca":function(e,t,i){"use strict";i.r(t);var l=i("6b2d");var a=i("b3ad"),o=(i("b6c4"),{data:()=>({form:{title:"",desc:"",icon:"",icon_min_height:0,icon_min_width:0,icon_type_disable:"",appid:"",appsecrent:""}}),components:{MaterialSelect:a.a},methods:{loadDetail(){var e;(e={},l.a.get("/share/list",{params:e})).then(e=>{this.form=e.data})},edit(){var e;(e=this.form,l.a.post("/share/set",e)).then(e=>{this.$message.success("编辑成功!"),loadDetail()})}},mounted(){this.loadDetail()}}),s=i("2877"),r=Object(s.a)(o,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"ls-card m-t-16"},[i("div",{staticClass:"card-title"},[e._v("分享设置")]),i("div",{staticClass:"card-content m-t-24"},[i("el-form",{ref:"form",attrs:{model:e.form,"label-width":"130px"}},[i("el-form-item",{attrs:{label:"默认标题"}},[i("el-input",{model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1),i("el-form-item",{attrs:{label:"默认描述"}},[i("el-input",{model:{value:e.form.desc,callback:function(t){e.$set(e.form,"desc",t)},expression:"form.desc"}})],1),i("el-form-item",{attrs:{label:"默认分享图标"}},[i("material-select",{attrs:{limit:1},model:{value:e.form.icon,callback:function(t){e.$set(e.form,"icon",t)},expression:"form.icon"}})],1),i("el-form-item",{attrs:{label:"图片提取最小高度"}},[i("el-input",{model:{value:e.form.icon_min_height,callback:function(t){e.$set(e.form,"icon_min_height",t)},expression:"form.icon_min_height"}})],1),i("el-form-item",{attrs:{label:"图片提取最小宽度"}},[i("el-input",{model:{value:e.form.icon_min_width,callback:function(t){e.$set(e.form,"icon_min_width",t)},expression:"form.icon_min_width"}})],1),i("el-form-item",{attrs:{label:"图片提取排除格式"}},[i("el-alert",{staticStyle:{width:"340px"},attrs:{title:"温馨提示：使用英文逗号分割(,)示例:  .jpg,.png",type:"info","show-icon":"",closable:!1}}),i("el-input",{staticStyle:{"margin-top":"12px"},model:{value:e.form.icon_type_disable,callback:function(t){e.$set(e.form,"icon_type_disable",t)},expression:"form.icon_type_disable"}})],1),i("el-form-item",{attrs:{label:"微信分享appid"}},[i("el-input",{model:{value:e.form.appid,callback:function(t){e.$set(e.form,"appid",t)},expression:"form.appid"}})],1),i("el-form-item",{attrs:{label:"微信分享appsecrent"}},[i("el-input",{model:{value:e.form.appsecrent,callback:function(t){e.$set(e.form,"appsecrent",t)},expression:"form.appsecrent"}})],1)],1)],1)]),i("div",{staticClass:"bg-white ls-fixed-footer"},[i("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[i("el-button",{attrs:{size:"small"},on:{click:function(t){return e.$router.go(-1)}}},[e._v("取消")]),i("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.edit}},[e._v("编辑")])],1)])])}),[],!1,null,null,null);t.default=r.exports}}]);