Commit a1c26e8f by HTML5-侯张振

列表宽度

parent d1ea0550
......@@ -124,21 +124,18 @@ class Customer_building_log_model extends MY_Model{
$this->db->order_by('CB.id DESC');
$query = $this->db->get();
if($query->num_rows() > 0)
{
$qery = $query->result_array();
$rAr=array();
for($i=0;$i<count($qery);$i++)
{
if(!isset($rAr[$qery[$i]['recommend_status']]))
{
$rAr[$qery[$i]['recommend_status']]=$qery[$i];
}
}
$qery=array_values($rAr);
// $rAr=array();
// for($i=0;$i<count($qery);$i++)
// {
// if(!isset($rAr[$qery[$i]['recommend_status']]))
// {
// $rAr[$qery[$i]['recommend_status']]=$qery[$i];
// }
// }
// $qery=array_values($rAr);
return $qery;
//$query->result_array();
......
......@@ -125,7 +125,7 @@
}
.zhehang{
display: inline-block;
width: 150px;
width: 100px;
height:auto;
word-wrap: break-word;
word-break: break-all;
......
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