新手请教个<image>组件图片显示的问题
视图:
<template name=“card-template”>
<view class=“card-icon”>
<image id=“icon” src=“…/image/card/{{game}}.png”></image>
</view>
</template>
使用这个模板显示多个图片,发现开发者工具中的界面上是可以显示出图片的,但是在手机预览时却无法显示出来,请教下这是什么原因呢?
视图:
<template name=“card-template”>
<view class=“card-icon”>
<image id=“icon” src=“…/image/card/{{game}}.png”></image>
</view>
</template>
使用这个模板显示多个图片,发现开发者工具中的界面上是可以显示出图片的,但是在手机预览时却无法显示出来,请教下这是什么原因呢?