Files
RentWeAppFront/pages/vr/vr.vue
2025-12-25 08:26:09 +08:00

27 lines
338 B
Vue

<template>
<view class="vr-page">
<web-view :src="src"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
src: ""
};
},
onLoad(options) {
this.src = decodeURIComponent(options.url);
}
};
</script>
<style>
.vr-page,
.vr-page web-view {
width: 100%;
height: 100%;
}
</style>