(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d216d58"],{c3c5:function(t,e,i){"use strict";i.r(e);var l=i("f175");var s={data:()=>({form:{index_title:"",index_keywords:"",index_description:"",article_list_title:"",article_list_keywords:"",article_list_description:"",article_details_title:"",article_details_keywords:"",article_details_description:""}}),components:{},methods:{saveConfig(){var t;(t=this.form,l.a.post("/settings.seo_setting/setConfig",t)).then(t=>{this.getConfig()})},getConfig(){l.a.get("/settings.seo_setting/getConfig").then(t=>{this.form=t})}},mounted(){this.getConfig()}},r=i("2877"),o=Object(r.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t._m(0),i("el-form",{ref:"form",attrs:{"label-position":"left",model:t.form,"label-width":"80px"}},[i("div",{staticClass:"ls-card p-15 mt-3"},[i("span",[t._v("首页")]),i("el-form-item",{staticStyle:{"margin-top":"15px"},attrs:{label:"title"}},[i("el-input",{model:{value:t.form.index_title,callback:function(e){t.$set(t.form,"index_title",e)},expression:"form.index_title"}})],1),i("el-form-item",{attrs:{label:"keywords"}},[i("el-input",{model:{value:t.form.index_keywords,callback:function(e){t.$set(t.form,"index_keywords",e)},expression:"form.index_keywords"}})],1),i("el-form-item",{attrs:{label:"description"}},[i("el-input",{model:{value:t.form.index_description,callback:function(e){t.$set(t.form,"index_description",e)},expression:"form.index_description"}})],1)],1),i("div",{staticClass:"ls-card p-15 mt-4"},[i("span",[t._v("帖子列表")]),i("el-form-item",{staticStyle:{"margin-top":"15px"},attrs:{label:"title"}},[i("el-input",{model:{value:t.form.article_list_title,callback:function(e){t.$set(t.form,"article_list_title",e)},expression:"form.article_list_title"}})],1),i("el-form-item",{attrs:{label:"keywords"}},[i("el-input",{model:{value:t.form.article_list_keywords,callback:function(e){t.$set(t.form,"article_list_keywords",e)},expression:"form.article_list_keywords"}})],1),i("el-form-item",{attrs:{label:"description"}},[i("el-input",{model:{value:t.form.article_list_description,callback:function(e){t.$set(t.form,"article_list_description",e)},expression:"form.article_list_description"}})],1)],1),i("div",{staticClass:"ls-card p-15 mt-4"},[i("span",[t._v("帖子内容")]),i("el-form-item",{staticStyle:{"margin-top":"15px"},attrs:{label:"title"}},[i("el-input",{model:{value:t.form.article_details_title,callback:function(e){t.$set(t.form,"article_details_title",e)},expression:"form.article_details_title"}})],1),i("el-form-item",{attrs:{label:"keywords"}},[i("el-input",{model:{value:t.form.article_details_keywords,callback:function(e){t.$set(t.form,"article_details_keywords",e)},expression:"form.article_details_keywords"}})],1),i("el-form-item",{attrs:{label:"description"}},[i("el-input",{model:{value:t.form.article_details_description,callback:function(e){t.$set(t.form,"article_details_description",e)},expression:"form.article_details_description"}})],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",type:"primary"},on:{click:function(e){return t.saveConfig()}}},[t._v("保存")])],1)])],1)}),[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"ls-card p-15"},[i("div",{staticClass:"mb-4",staticStyle:{"font-size":"18px"}},[t._v("seo优化")]),t._v(' 插入的变量必需包括花括号"{}”，当应用范围不支持该变量时，该变量将不会在前台显示(变量后边的分隔符也不会显示)，留空为系统默认设置，SEO自定义,以下是可用SEO变量: '),i("br"),i("br"),t._v(" 站点名称 "),i("span",{staticStyle:{color:"red"}},[t._v("{bbname}")]),t._v(" (应用范围:所有位置) "),i("br"),i("br"),t._v(" 当前模块名称 "),i("span",{staticStyle:{color:"red"}},[t._v("{forum}")]),t._v(" (应用范围:帖子列表页) "),i("br"),i("br"),t._v(" 帖子标题 "),i("span",{staticStyle:{color:"red"}},[t._v("{subject}")]),t._v(" (应用范围:帖子内容页) "),i("br"),i("br"),t._v(" 主题标签 "),i("span",{staticStyle:{color:"red"}},[t._v("{tags}")]),t._v(" (应用范围:帖子内容页) "),i("br"),i("br")])}],!1,null,null,null);e.default=o.exports}}]);