<pano :panolist="panolist" :entryname="entrypanoname" style="width: 320px;height: 240px;" :autoinit="autoinit">
<cover-view style="position: fixed;top:80%;width:100%;text-align:center;">
</pano>
wxPano = requirePlugin("wxPano")
console.log("wxPano:",wxPano)
wxPano.onReady = function (e) {
console.log("onReady",e)
}
wxPano.config({
panolist:[{
name:"xindamen",
src: "https://www.aiotforest.com/pano2048-1024.jpg",
infospots:[
{
type: "modal",
modal: {
title: "wxPano",
content: "欢迎使用wxPano"
},
position: { x: 0.092, y: 0.434 },
size: 1,
icon: "info",
bindcamera:true,
bindsize: 0.5,
bindicon: "info",
bindopacity:0.75,
bindposition: { x: 0.5, y: 0.75 }
},
{
type: "page",
page: function(){
wx.navigateTo({url: "ar",
success(evt) {
console.log(evt);
}
})
},
position: { x: 0.437, y: 0.447 },
size: 1,
icon: "info"
}
]
}],
request:wx.request,
loader:"GLLoader",
entryname:"xindamen"
})
大佬解决了吗
这是组件和开发的问题,不是微信的问题。