我正在尝试在 a 中回显背景图像.phtml
以发送电子邮件。
但是我在引用时遇到了麻烦。图像未显示。
<?php echo '
Plataforma <a href="http://xxxx.com/">http://xxxx.com/</a>
<br>
<div style="width:220px; height:30px; background-color:black; background-repeat: no-repeat; background-image:url("http://www.inova-ria.pt/images/UebeImg/Thumb/Img_153_363_T.jpg")"></div>
'
?>
IDE 验证此代码是否正确,但图像未显示在发送的电子邮件中。