安装界面优化

This commit is contained in:
hdm 2022-02-21 13:18:07 +08:00
parent 1462dee380
commit 29954df1d8
5 changed files with 6 additions and 5 deletions

View File

@ -26,6 +26,7 @@
<input type="radio" name="editor" value="1" title="百度编辑器(ueditor)" {eq name="$config.editor" value="1"}checked{/eq}>
<input type="radio" name="editor" value="2" title="Markdown编辑器(mdeditor)" {eq name="$config.editor" value="2"}checked{/eq}>
{/empty}
<span style="margin-left:30px; color: red">注意:切换编辑器后,文本内容可能需要重新编辑。</span>
</td>
</tr>
</table>

View File

@ -135,7 +135,7 @@
<td colspan="6">
<textarea name="ueditorcontent" placeholder="请输入内容" class="layui-textarea" id="container" lay-verify="required" lay-reqText="请完善文章内容"
style="border:0;padding:0"></textarea>
{include file="common/ueditor" id="container" name="ueditorcontent" width="776" height="500" toolbar="[]" /}
{include file="common/ueditor" id="container" name="ueditorcontent" width="100%" height="500" toolbar="[]" /}
</td>
</tr>
{else/}

View File

@ -37,10 +37,10 @@
<a href="/admin/index" title="返回系统首页" style="background-color: #E94335"><i
class="layui-icon layui-icon-windows"></i></a><a href="javascript:;" title="修改个人信息"
style="background-color:#fbbc05" data-id="10000" data-title="修改个人信息"
data-src="/admin/api/edit_personal" class="site-menu-active"><i
data-src="/admin/api/edit_personal" class="menu-active"><i
class="layui-icon layui-icon-username"></i></a><a href="javascript:;" title="修改密码"
style="background-color:#34a853" data-id="10001" data-title="修改密码"
data-src="/admin/api/edit_password" class="site-menu-active"><i
data-src="/admin/api/edit_password" class="menu-active"><i
class="layui-icon layui-icon-password"></i></a><a href="/home/index" title="门户首页" style="background-color:#4285f4" target="_blank"><i
class="layui-icon layui-icon-home"></i></a>
</div>

View File

@ -257,7 +257,7 @@ CREATE TABLE `cms_config` (
-- ----------------------------
-- Records of cms_config
-- ----------------------------
INSERT INTO `cms_config` VALUES (1, '网站配置', 'web', 'a:13:{s:2:\"id\";s:1:\"1\";s:11:\"admin_title\";s:9:\"勾股cms\";s:5:\"title\";s:9:\"勾股cms\";s:4:\"logo\";s:39:\"/static/admin/images/nonepic360x360.jpg\";s:4:\"file\";s:0:\"\";s:6:\"domain\";s:24:\"https://www.gougucms.com\";s:3:\"icp\";s:23:\"粤ICP备1xxxxxx11号-1\";s:8:\"keywords\";s:9:\"勾股cms\";s:5:\"beian\";s:29:\"粤公网安备1xxxxxx11号-1\";s:4:\"desc\";s:258:\"勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块一目了然操作简单通用型后台权限管理框架紧随潮流、极低门槛、开箱即用。 \";s:4:\"code\";s:0:\"\";s:9:\"copyright\";s:32:\"© 2022 gougucms.com MIT license\";s:7:\"version\";s:6:\"2.0.11\";}', 1, 1612514630, 1645057819);
INSERT INTO `cms_config` VALUES (1, '网站配置', 'web', 'a:13:{s:2:\"id\";s:1:\"1\";s:11:\"admin_title\";s:9:\"勾股cms\";s:5:\"title\";s:9:\"勾股cms\";s:4:\"logo\";s:39:\"/static/admin/images/nonepic360x360.jpg\";s:4:\"file\";s:0:\"\";s:6:\"domain\";s:24:\"https://www.gougucms.com\";s:3:\"icp\";s:23:\"粤ICP备1xxxxxx11号-1\";s:8:\"keywords\";s:9:\"勾股cms\";s:5:\"beian\";s:29:\"粤公网安备1xxxxxx11号-1\";s:4:\"desc\";s:258:\"勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。后台管理模块一目了然操作简单通用型后台权限管理框架紧随潮流、极低门槛、开箱即用。 \";s:4:\"code\";s:0:\"\";s:9:\"copyright\";s:32:\"© 2022 gougucms.com MIT license\";s:7:\"version\";s:6:\"2.0.18\";}', 1, 1612514630, 1645057819);
INSERT INTO `cms_config` VALUES (2, '邮箱配置', 'email', 'a:8:{s:2:\"id\";s:1:\"2\";s:4:\"smtp\";s:11:\"smtp.qq.com\";s:9:\"smtp_port\";s:3:\"465\";s:9:\"smtp_user\";s:15:\"gougucms@qq.com\";s:8:\"smtp_pwd\";s:6:\"123456\";s:4:\"from\";s:24:\"勾股CMS系统管理员\";s:5:\"email\";s:18:\"admin@gougucms.com\";s:8:\"template\";s:122:\"<p>勾股CMS是一套基于ThinkPHP6 + Layui + MySql打造的轻量级、高性能快速建站的内容管理系统。</p>\";}', 1, 1612521657, 1619088538);
INSERT INTO `cms_config` VALUES (3, '微信配置', 'wechat', 'a:11:{s:2:\"id\";s:1:\"3\";s:5:\"token\";s:8:\"GOUGUCMS\";s:14:\"login_back_url\";s:49:\"https://www.gougucms.com/wechat/index/getChatInfo\";s:5:\"appid\";s:18:\"wxdf96xxxx7cd6f0c5\";s:9:\"appsecret\";s:32:\"1dbf319a4f0dfed7xxxxfd1c7dbba488\";s:5:\"mchid\";s:10:\"151xxxx331\";s:11:\"secrect_key\";s:29:\"gougucmsxxxxhumabcxxxxjixxxng\";s:8:\"cert_url\";s:13:\"/extend/cert/\";s:12:\"pay_back_url\";s:42:\"https://www.gougucms.com/wxappv1/wx/notify\";s:9:\"xcx_appid\";s:18:\"wxdf96xxxx9cd6f0c5\";s:13:\"xcx_appsecret\";s:28:\"gougucmsxxxxhunangdmabcxxxng\";}', 1, 1612522314, 1613789058);
INSERT INTO `cms_config` VALUES (4, 'Api Token配置', 'token', 'a:5:{s:2:\"id\";s:1:\"5\";s:3:\"iss\";s:16:\"www.gougucms.com\";s:3:\"aud\";s:8:\"gougucms\";s:7:\"secrect\";s:8:\"GOUGUCMS\";s:7:\"exptime\";s:4:\"3600\";}', 1, 1627313142, 1627376290);

View File

@ -65,7 +65,7 @@
<label class="layui-form-label">数据库名</label>
<div class="layui-input-inline">
<input type="text" name="DB_NAME" required lay-verify="required" autocomplete="off"
class="layui-input" value="gougucms" lay-reqText="请输入数据库名">
class="layui-input" value="" lay-reqText="请输入数据库名">
</div>
<div class="layui-form-mid layui-word-aux">系统数据库名,必须包含字母,不能有"-"等特殊符号</div>
</div>