小程序引入模板(template)图片不能正常显示
对开发过程中碰到的坑进行记录,方便你我,也加深记忆。由于本人也刚开始自学小程序,水平有限,其中若有错误,还望指正1.小程序引入模板(template),模板中包含图片,引入使用页面中,图片不能正常显示示例代码(不全):<template name="pageState"> <view wx:if='{{State=="error"}}'> <view class="loading_error"> <image class="loading_.