固定表头

webUi
赵桐华 5 years ago
parent 3c9bfbc0d2
commit 1760a844d0
  1. 12
      frontend/views/finance/ticheng-jisuan.php

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

Loading…
Cancel
Save