固定表头

webUi
赵桐华 5 years ago
parent 71278031a7
commit 0b54a5a028
  1. 10
      frontend/views/finance/ticheng-jisuan.php

@ -129,13 +129,9 @@ use \common\libs\MyLib;
<button type="button" class="btn btn-primary mb-8 calc-btn">计算</button> <button type="button" class="btn btn-primary mb-8 calc-btn">计算</button>
<hr> <hr>
</form> </form>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<table id="listTable"> <table class="table table-bordered" id="listTable" data-toggle="table" data-height="200">
<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>
@ -177,6 +173,10 @@ use \common\libs\MyLib;
</table> </table>
</div> </div>
</div> </div>
</div>
</div>
</div>
<?php $this->beginBlock('footer_js'); ?> <?php $this->beginBlock('footer_js'); ?>
<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/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script> <script src="/assets/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>

Loading…
Cancel
Save