Commit fa2de6f0 by HTML5-侯张振

修改 每一列希望有固定宽度,字数超了折行展示

parent 3a5f688f
......@@ -152,7 +152,7 @@
<td><?php echo $customer['company_name'];?></td>
<td><?php echo $customer['building_title'];?></td>
<td><?php echo $customer['user_name']?></td>
<td><?php echo $customer['remark']?></td>
<td class="hzz-remark"><?php echo $customer['remark']?></td>
</tr>
<?php
endforeach;
......@@ -175,6 +175,18 @@
background-color: #428bca;
border-color: #428bca;
}
.hzz-remark{
display: inline-block;
width: 100px;
height:auto;
word-wrap: break-word;
word-break: break-all;
border-left: none !important;
border-right: none !important;
border-bottom: none !important;
text-align: center;
background-color:#fff !important;
}
</style>
<div class="pagination-box">
<div class="row">
......
......@@ -128,7 +128,7 @@
<!-- <td><?php //echo $customer['restatus'] == 4 ? '是' : '否';?></td> -->
<td><?php echo $customer['agent_name'] ? : $customer['partner_name'];?></td>
<td><?php echo $customer['partner_user_mobile'];?></td>
<td><?php echo $customer['remark'];?></td>
<td class="fenxiao-remark"><?php echo $customer['remark'];?></td>
</tr>
<?php
endforeach;
......@@ -169,6 +169,20 @@
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<style>
.fenxiao-remark{
display: inline-block;
width: 100px;
height:auto;
word-wrap: break-word;
word-break: break-all;
border-left: none !important;
border-right: none !important;
border-bottom: none !important;
text-align: center;
background-color:#fff !important;
}
</style>
<?php $this->load->view('admin/footer');?>
<!-- BEGIN PAGE LEVEL PLUGINS -->
<link rel="stylesheet" href="<?php echo APPLICATION_PATH ?>/assets/plugins/data-tables/DT_bootstrap.css"/>
......@@ -197,7 +211,7 @@
language: 'cn',
autoclose:true,
});
$('input[type="reset"]').click(function(){
$('input[type="text"]').attr('value','');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment