From 953c801c9de1c2b34492d3d19313cc77089b5340 Mon Sep 17 00:00:00 2001 From: Eltrac <45323514+BigCoke233@users.noreply.github.com> Date: Sat, 14 Dec 2019 15:53:14 +0800 Subject: =?UTF-8?q?=F0=9F=94=A9=20Perf:=20=E4=BD=BF=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E6=A0=8F=E7=BD=AE=E4=BA=8E=E9=A1=B6=E9=83=A8=E6=97=B6=E9=80=8F?= =?UTF-8?q?=E6=98=8E=EF=BC=8C=E6=88=90=E4=B8=BA=E7=8B=AC=E7=AB=8B=E7=9A=84?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/Options.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/Options.php') diff --git a/libs/Options.php b/libs/Options.php index 0e48c53..81a192a 100644 --- a/libs/Options.php +++ b/libs/Options.php @@ -83,10 +83,16 @@ function themeConfig($form) { //nav $navStyle = new Typecho_Widget_Helper_Form_Element_Select('navStyle',array('0'=>'顶部导航栏','1'=>'左侧抽屉栏'),'0','

导航栏 Nav

类型','选择导航栏的类型(若选择左侧抽屉蓝,则下一条设置失效)'); $form->addInput($navStyle); + $navAero = new Typecho_Widget_Helper_Form_Element_Select('navAero',array('0'=>'是','1'=>'否'),'0','顶部透明','视口处于最顶部时,顶部导航栏是否变为透明'); + $form->addInput($navAero); //index-banner $bannerUrl = new Typecho_Widget_Helper_Form_Element_Text('bannerUrl', NULL, 'https://s2.ax1x.com/2019/07/10/ZcRGX8.png', _t('

首页大图 Banner

图片 Url'), _t('首页大图的图片地址')); $form->addInput($bannerUrl); + $bannerColor = new Typecho_Widget_Helper_Form_Element_Text('bannerColor', NULL, NULL, _t('背景色'), _t('填写 16 进制颜色代码或 rgb 值,方便某些懒得找图的懒人(比如我就是!)')); + $form->addInput($bannerColor); + $bannerFont = new Typecho_Widget_Helper_Form_Element_Select('bannerFont',array('0'=>'白色','1'=>'黑色'),'0','字体颜色','为了兼容不同的底色和背景色'); + $form->addInput($bannerFont); $bannerHeight = new Typecho_Widget_Helper_Form_Element_Text('bannerHeight', NULL, '60', _t('高度'), _t('首页大图所占屏幕的高度,100为最大,填入纯数字,如"35"')); $form->addInput($bannerHeight); $bannerTitle = new Typecho_Widget_Helper_Form_Element_Text('bannerTitle', NULL, NULL, _t('标题'), _t('这里是首页大图显示的的标题')); -- cgit v1.2.3