|
@@ -99,7 +99,7 @@ class BuyHouseNewsController extends Controller
|
|
|
$style .='font-weight:bold;';
|
|
|
}
|
|
|
return '<span style="'.$style.'">'.$this->title.'</span>';
|
|
|
- })->width(200);
|
|
|
+ })->style('max-width:200px');
|
|
|
$grid->small_img('缩略图')->display(function () {
|
|
|
if ($this->small_img) {
|
|
|
return '<span class="vtip" title="<img src=\''.upload_asset($this->small_img).'\' height=120>">
|