作者 Karson

优化多级菜单在移动端的显示效果

优化附件选择列表
{if !$Think.get.mimetype}
<style>
#one .commonsearch-table{
padding-top:15px!important;
}
</style>
{/if}
<div class="panel panel-default panel-intro">
{if !$Think.get.mimetype}
<div class="panel-heading">
... ...
... ... @@ -4,7 +4,7 @@
<!-- 加载样式及META信息 -->
{include file="common/meta" /}
</head>
<body class="hold-transition skin-green {$Think.config.fastadmin.adminskin} sidebar-mini fixed {:$Think.config.fastadmin.multipletab?'multipletab':''} {:$Think.config.fastadmin.multiplenav?'multiplenav':''}" id="tabs">
<body class="hold-transition {$Think.config.fastadmin.adminskin|default='skin-green'} sidebar-mini fixed {:$Think.config.fastadmin.multipletab?'multipletab':''} {:$Think.config.fastadmin.multiplenav?'multiplenav':''}" id="tabs">
<div class="wrapper">
... ...
... ... @@ -990,6 +990,7 @@ table.table-nowrap thead > tr > th {
}
.sidebar .mobilenav a.btn-app i.fa {
font-size: 24px;
display: inline-block;
}
.sidebar .mobilenav a.btn-app span {
margin-top: 5px;
... ...
... ... @@ -101,6 +101,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
sortName: 'id',
showToggle: false,
showExport: false,
maintainSelected: true,
columns: [
[
{field: 'state', checkbox: multiple, visible: multiple, operate: false},
... ... @@ -117,7 +118,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
return value.replace(/\*/g, '%');
}
},
{field: 'createtime', title: __('Createtime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
{field: 'createtime', title: __('Createtime'), formatter: Table.api.formatter.datetime, datetimeFormat: 'YYYY-MM-DD', operate: 'RANGE', addclass: 'datetimerange', sortable: true},
{
field: 'operate', title: __('Operate'), events: {
'click .btn-chooseone': function (e, value, row, index) {
... ... @@ -171,7 +172,7 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
return '<a href="' + row.fullurl + '" target="_blank" class="label bg-green">' + row.url + '</a>';
},
filename: function (value, row, index) {
return '<div style="width:200px;margin:0 auto;text-align:center;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">' + Table.api.formatter.search.call(this, value, row, index) + '</div>';
return '<div style="width:180px;margin:0 auto;text-align:center;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">' + Table.api.formatter.search.call(this, value, row, index) + '</div>';
},
}
}
... ...
... ... @@ -1223,6 +1223,7 @@ table.table-nowrap {
i.fa {
font-size: 24px;
display: inline-block;
}
span {
... ...