This commit is contained in:
WindowBird 2025-09-18 10:47:28 +08:00
parent 17940d484e
commit 4ddb9bfd5c
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,23 @@
<template>
<view class="pages">
<web-view ref="webview" :src="https"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
https: "",
};
},
onLoad(option) {
this.id = decodeURIComponent(option.id);
this.https = "http://192.168.2.129:4500/guide?id=" + this.id;
console.log("id:" + option.id);
},
methods: {},
};
</script>
<style lang="scss" scoped></style>

View File

@ -245,6 +245,12 @@
"navigationBarTitleText": "上传",
"navigationStyle": "custom"
}
},
{
"path": "webViewVR/webViewVR",
"style": {
"navigationBarTitleText": "VR"
}
}
]
}

View File

@ -37,7 +37,7 @@
@click="toggleAudio"
></image>
</view>
<view class="tubiao-item">
<view class="tubiao-item" @click="goToVR">
<image :src="pageConfig.topIcons.bottomIcon.img" mode=""></image>
</view>
</view>
@ -446,6 +446,13 @@ export default {
}
},
goToVR() {
let id = "15";
uni.navigateTo({
url: "/page_user/webViewVR/webViewVR?id=" + id,
});
},
/**
* 切换音频播放状态
*/