mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
完善皮肤样式对手机端的兼容;完善部分兼容php8.1细节;修改说明;
This commit is contained in:
@@ -70,7 +70,16 @@ php think run
|
|||||||
|
|
||||||
|
|
||||||
## 项目特性
|
## 项目特性
|
||||||
|
* 兼容PHP8.1
|
||||||
|
* 最低版本PHP7.4
|
||||||
* 支持移动端表格转卡片
|
* 支持移动端表格转卡片
|
||||||
|
* 支持多款皮肤
|
||||||
|
* 标准
|
||||||
|
* 原型
|
||||||
|
* 科幻
|
||||||
|
* GTK
|
||||||
|
* 像素
|
||||||
|
* WIN7
|
||||||
* 快速CURD命令行
|
* 快速CURD命令行
|
||||||
* 一键生成控制器、模型、视图、JS文件
|
* 一键生成控制器、模型、视图、JS文件
|
||||||
* 支持关联查询、字段设置等等
|
* 支持关联查询、字段设置等等
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ namespace app;
|
|||||||
class Request extends \think\Request
|
class Request extends \think\Request
|
||||||
{
|
{
|
||||||
|
|
||||||
protected $filter = ['htmlspecialchars'];
|
protected $filter = ['ua_htmlspecialchars'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -222,6 +222,18 @@ if (!function_exists('unparse_url')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists('ua_htmlspecialchars')) {
|
||||||
|
function ua_htmlspecialchars($string)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (is_null($string)) {
|
||||||
|
$string = '';
|
||||||
|
}
|
||||||
|
|
||||||
|
return htmlspecialchars($string);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function build_upload_url($url, $upload_type = null)
|
function build_upload_url($url, $upload_type = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,7 +34,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.layui-table {
|
.layui-table {
|
||||||
color: #2e3436;
|
color : #2e3436;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-table-view .layui-table[lay-size="sm"] .layui-table-cell {
|
.layui-table-view .layui-table[lay-size="sm"] .layui-table-cell {
|
||||||
@@ -307,7 +308,7 @@
|
|||||||
transition : none;
|
transition : none;
|
||||||
padding : 3px 12px;
|
padding : 3px 12px;
|
||||||
min-height : 30px;
|
min-height : 30px;
|
||||||
min-width : 30px;
|
min-width : 65px;
|
||||||
display : flex;
|
display : flex;
|
||||||
justify-content : center;
|
justify-content : center;
|
||||||
align-items : center;
|
align-items : center;
|
||||||
@@ -666,10 +667,22 @@
|
|||||||
padding : 0 10px;
|
padding : 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layuimini-container .layui-form-select dl dd.layui-this{
|
.layuimini-container .layui-form-select dl dd.layui-this {
|
||||||
background-color: #3c88e5 !important;
|
background-color: #3c88e5 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layui-table-header .layui-table {
|
.layui-table-header .layui-table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-header .layui-nav .layui-nav-child dd.layui-this a,
|
||||||
|
.layui-header .layui-nav-child dd.layui-this,
|
||||||
|
.layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||||
|
background-color: #3c88e5 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layuimini-mobile-show {
|
||||||
|
.layui-nav-more {
|
||||||
|
top: 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -740,4 +740,10 @@ $box-shape: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%,
|
|||||||
|
|
||||||
.layui-iconpicker .layui-iconpicker-list {
|
.layui-iconpicker .layui-iconpicker-list {
|
||||||
background-color: $black-color;
|
background-color: $black-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-header .layui-nav .layui-nav-child dd.layui-this a,
|
||||||
|
.layui-header .layui-nav-child dd.layui-this,
|
||||||
|
.layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||||
|
background-color: $active-color !important;
|
||||||
}
|
}
|
||||||
@@ -624,6 +624,11 @@
|
|||||||
.elem-style-sicfi .layui-iconpicker .layui-iconpicker-list {
|
.elem-style-sicfi .layui-iconpicker .layui-iconpicker-list {
|
||||||
background-color: rgb(2, 17, 20);
|
background-color: rgb(2, 17, 20);
|
||||||
}
|
}
|
||||||
|
.elem-style-sicfi .layui-header .layui-nav .layui-nav-child dd.layui-this a,
|
||||||
|
.elem-style-sicfi .layui-header .layui-nav-child dd.layui-this,
|
||||||
|
.elem-style-sicfi .layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||||
|
background-color: rgba(62, 251, 251, 0.5) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.elem-style-gtk {
|
.elem-style-gtk {
|
||||||
background-color: #f6f5f4;
|
background-color: #f6f5f4;
|
||||||
@@ -651,6 +656,7 @@
|
|||||||
}
|
}
|
||||||
.elem-style-gtk .layui-table {
|
.elem-style-gtk .layui-table {
|
||||||
color: #2e3436;
|
color: #2e3436;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
.elem-style-gtk .layui-table-view .layui-table[lay-size=sm] .layui-table-cell {
|
.elem-style-gtk .layui-table-view .layui-table[lay-size=sm] .layui-table-cell {
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
@@ -881,7 +887,7 @@
|
|||||||
transition: none;
|
transition: none;
|
||||||
padding: 3px 12px;
|
padding: 3px 12px;
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
min-width: 30px;
|
min-width: 65px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -1168,6 +1174,14 @@
|
|||||||
.elem-style-gtk .layui-table-header .layui-table {
|
.elem-style-gtk .layui-table-header .layui-table {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
.elem-style-gtk .layui-header .layui-nav .layui-nav-child dd.layui-this a,
|
||||||
|
.elem-style-gtk .layui-header .layui-nav-child dd.layui-this,
|
||||||
|
.elem-style-gtk .layui-layout-admin .layui-header .layui-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||||
|
background-color: #3c88e5 !important;
|
||||||
|
}
|
||||||
|
.elem-style-gtk .layuimini-mobile-show .layui-nav-more {
|
||||||
|
top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.elem-style-nes a,
|
.elem-style-nes a,
|
||||||
.elem-style-nes button {
|
.elem-style-nes button {
|
||||||
|
|||||||
Reference in New Issue
Block a user