小程序图片链接到新页面失败
问题相关代码,请勿粘贴截图
index.wxml
<image style="position: relative; left: 547rpx; top: -732rpx; width: 90rpx; height: 90rpx; display: float; box-sizing: border-box" bindtap="clickadd" src="../../images/media.svg" ></image>
index.js
Page({
clickadd: function(){
wx.navigateTo({
title:"new",
url: "../media/media.wxml",
})
},
});
app.json
"pages": [
"pages/index/index",
"pages/getOpenId/index",
"pages/getMiniProgramCode/index",
"pages/media/media"
],