比如在一个表格其中一列中插入标签,
<code>@extends('index') @section('content') <table> <thead> <tr><th>图片</th></tr> </thead> <tbody> <td><img src="/static/imghwm/default1.png" data-src="/img/bVu19O" class="lazy" alt="为什么Lavarel框架的blade模板引擎中<img>标签图片显示不了?" ></td> </tbody> </table> @endsection </code>
在浏览器上的显示效果是:
所以想请各位帮忙解决一下这个问题,谢谢!
比如在一个表格其中一列中插入标签,
<code>@extends('index') @section('content') <table> <thead> <tr><th>图片</th></tr> </thead> <tbody> <td><img src="/static/imghwm/default1.png" data-src="/img/bVu19O" class="lazy" alt="为什么Lavarel框架的blade模板引擎中<img>标签图片显示不了?" ></td> </tbody> </table> @endsection </code>
在浏览器上的显示效果是:
所以想请各位帮忙解决一下这个问题,谢谢!
看你图片404的时候请求路径是什么
为什么不在img所在td前括tr呢,加上试试。