数据页样式调试3

master
zcstatham 2 years ago
parent 00b32fec19
commit 0d8917cc4f
  1. 4
      app/view/index/index.html
  2. 5
      app/view/public/layout.html

@ -1,4 +1,4 @@
{extend name="public/layout" /} {extend name="public/layout" /}
{block name="header"} {block name="header"}
<style> <style>
.layui-table-cell { .layui-table-cell {
@ -228,7 +228,7 @@
limit: 20, limit: 20,
loading: true, loading: true,
cols: [[ //表头 cols: [[ //表头
{type: 'number'}, {type: 'numbers'},
{field: 'car_no', title: '车牌号', width: 100, edit: 'text', fixed: 'left'}, {field: 'car_no', title: '车牌号', width: 100, edit: 'text', fixed: 'left'},
{field: 'car_frame_no', title: '车架号', width: 180, edit: 'text'}, {field: 'car_frame_no', title: '车架号', width: 180, edit: 'text'},
{field: 'engine_no', title: '发动机号', width: 100, edit: 'text'}, {field: 'engine_no', title: '发动机号', width: 100, edit: 'text'},

@ -1,5 +1,10 @@
{include file="public/header" /} {include file="public/header" /}
<!-- Core stylesheets --> <!-- Core stylesheets -->
<style>
html,body {
height: 100%;
}
</style>
{block name="header"}{/block} {block name="header"}{/block}
</head> </head>
<body class="layui-layout-body"> <body class="layui-layout-body">

Loading…
Cancel
Save