Compare commits

..

No commits in common. "7bb8672d11d475c13696ed68e15ab15e639c7c0a" and "31088b07580fb9e3b0a7a8f3f8d9efa60cf87b92" have entirely different histories.

3 changed files with 47 additions and 68 deletions

View File

@ -561,7 +561,7 @@ class Backend extends Controller
$primaryvalue = array_unique(is_array($primaryvalue) ? $primaryvalue : explode(',', $primaryvalue)); $primaryvalue = array_unique(is_array($primaryvalue) ? $primaryvalue : explode(',', $primaryvalue));
//修复自定义data-primary-key为字符串内容时给排序字段添加上引号 //修复自定义data-primary-key为字符串内容时给排序字段添加上引号
$primaryvalue = array_map(function ($value) { $primaryvalue = array_map(function ($value) {
return \think\Db::quote($value); return '\'' . $value . '\'';
}, $primaryvalue); }, $primaryvalue);
$primaryvalue = implode(',', $primaryvalue); $primaryvalue = implode(',', $primaryvalue);

View File

@ -1347,26 +1347,26 @@ table.table-nowrap thead > tr > th {
.fixed-table-toolbar .toolbar .btn { .fixed-table-toolbar .toolbar .btn {
min-height: 33px; min-height: 33px;
} }
.fixed-table-toolbar .toolbar > a.btn-refresh, .fixed-table-toolbar .toolbar a.btn-refresh,
.fixed-table-toolbar .toolbar > a.btn-del, .fixed-table-toolbar .toolbar a.btn-del,
.fixed-table-toolbar .toolbar > a.btn-add, .fixed-table-toolbar .toolbar a.btn-add,
.fixed-table-toolbar .toolbar > a.btn-edit, .fixed-table-toolbar .toolbar a.btn-edit,
.fixed-table-toolbar .toolbar > a.btn-import, .fixed-table-toolbar .toolbar a.btn-import,
.fixed-table-toolbar .toolbar a.btn-more, .fixed-table-toolbar .toolbar a.btn-more,
.fixed-table-toolbar .toolbar > a.btn-recyclebin, .fixed-table-toolbar .toolbar a.btn-recyclebin,
.fixed-table-toolbar .toolbar > .btn-mini-xs, .fixed-table-toolbar .toolbar .btn-mini-xs,
.fixed-table-toolbar .toolbar > .btn-multi:not([data-action=destroy]) { .fixed-table-toolbar .toolbar .btn-multi {
font-size: 0; font-size: 0;
} }
.fixed-table-toolbar .toolbar > a.btn-refresh > .fa, .fixed-table-toolbar .toolbar a.btn-refresh .fa,
.fixed-table-toolbar .toolbar > a.btn-del > .fa, .fixed-table-toolbar .toolbar a.btn-del .fa,
.fixed-table-toolbar .toolbar > a.btn-add > .fa, .fixed-table-toolbar .toolbar a.btn-add .fa,
.fixed-table-toolbar .toolbar > a.btn-edit > .fa, .fixed-table-toolbar .toolbar a.btn-edit .fa,
.fixed-table-toolbar .toolbar > a.btn-import > .fa, .fixed-table-toolbar .toolbar a.btn-import .fa,
.fixed-table-toolbar .toolbar a.btn-more > .fa, .fixed-table-toolbar .toolbar a.btn-more .fa,
.fixed-table-toolbar .toolbar > a.btn-recyclebin > .fa, .fixed-table-toolbar .toolbar a.btn-recyclebin .fa,
.fixed-table-toolbar .toolbar > .btn-mini-xs > .fa, .fixed-table-toolbar .toolbar .btn-mini-xs .fa,
.fixed-table-toolbar .toolbar > .btn-multi:not([data-action=destroy]) > .fa { .fixed-table-toolbar .toolbar .btn-multi .fa {
font-size: initial; font-size: initial;
} }
.fixed-table-toolbar .search { .fixed-table-toolbar .search {
@ -1644,7 +1644,9 @@ table.table-nowrap thead > tr > th {
} }
.btn-commonsearch.searching, .btn-commonsearch.searching,
.btn-commonsearch.searching:focus { .btn-commonsearch.searching:focus {
color: #4e73df; background: #444c69;
color: #fff;
border-color: #444c69;
} }
.btn-commonsearch.searching:hover, .btn-commonsearch.searching:hover,
.btn-commonsearch.searching:active, .btn-commonsearch.searching:active,
@ -1653,16 +1655,6 @@ table.table-nowrap thead > tr > th {
color: #fff; color: #fff;
outline: none; outline: none;
} }
.btn-commonsearch.searching:after {
content: " ";
position: absolute;
right: 4px;
bottom: 8px;
background: #4e73df;
border-radius: 50%;
height: 4px;
width: 4px;
}
.btn-switcher { .btn-switcher {
margin-top: 5px; margin-top: 5px;
display: inline-block; display: inline-block;

View File

@ -1359,14 +1359,13 @@ table.table-nowrap {
min-height: @input-min-height; min-height: @input-min-height;
} }
> a.btn-refresh, > a.btn-del, > a.btn-add, > a.btn-edit, > a.btn-import, a.btn-more, > a.btn-recyclebin, > .btn-mini-xs, > .btn-multi:not([data-action=destroy]) { a.btn-refresh, a.btn-del, a.btn-add, a.btn-edit, a.btn-import, a.btn-more, a.btn-recyclebin, .btn-mini-xs, .btn-multi {
font-size: 0; font-size: 0;
> .fa { .fa {
font-size: initial; font-size: initial;
} }
} }
} }
.search { .search {
@ -1702,10 +1701,9 @@ table.table-nowrap {
&.searching { &.searching {
&, &:focus { &, &:focus {
//background: @component-active-bg; background: @component-active-bg;
//color: @component-active-color; color: @component-active-color;
//border-color: @component-active-bg; border-color: @component-active-bg;
color: #4e73df;
} }
&:hover, &:active, &:active:hover { &:hover, &:active, &:active:hover {
@ -1713,17 +1711,6 @@ table.table-nowrap {
color: @component-active-color; color: @component-active-color;
outline: none; outline: none;
} }
&:after {
content: " ";
position: absolute;
right: 4px;
bottom: 8px;
background: #4e73df;
border-radius: 50%;
height: 4px;
width: 4px;
}
} }
} }