固定表头

webUi
赵桐华 5 years ago
parent 144c831b54
commit 951e370bd3
  1. 7
      frontend/views/finance/ticheng-jisuan.php

@ -2,7 +2,9 @@
use \common\libs\MyLib;
?>
<?php $this->beginBlock('header_css'); ?>
<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="/assets/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/assets/css/bootstrap-table-fixed-columns.css">
<?php $this->endBlock(); ?>
<div class="wrapper wrapper-content animated fadeInRight" style="display:fixed;">
@ -131,7 +133,7 @@ use \common\libs\MyLib;
</form>
<div class="row">
<div class="col-md-12">
<table class="table table-bordered" id="listTable" data-toggle="table" data-height="200">
<table class="table table-bordered" id="listTable table" data-toggle="table" data-height="200">
<thead class="bg-warning">
<tr>
<th data-field="state" data-checkbox="true"></th>
@ -178,7 +180,10 @@ use \common\libs\MyLib;
</div>
<?php $this->beginBlock('footer_js'); ?>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/assets/js/bootstrap-table-fixed-columns.js"></script>
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="/assets/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script>

Loading…
Cancel
Save