我知道它可以引用您的图片文件夹的内容使用氚。不过,我正在使用read()函数引入一个html片段。有办法通过html片段指定图像吗?例:
<img src='/moovweb_local_assets_/images/Logo150.png">' alt="1" /> 发布于 2014-02-11 08:53:47
我不知道这件事,但我可以给你一些窍门。在这个img标记中添加任何类或id,并在氚的帮助下添加src属性及其url。例如,
html:
<img id="myImage" alt="1" /> 氚:
$$("#myImage"){
attribute('src',asset('images/Logo150.png'));
}https://stackoverflow.com/questions/21659752
复制相似问题