1
0
ミラー元 https://github.com/ialley-workshop-open/uni-halo.git 前回の同期 2026-06-11 12:49:30 +08:00
ファイル
uni-halo/pagesC/website/website.vue
T

31 行
525 B
Vue

<template>
<view class="app-page">
<web-view :src="webUrl"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
title: '',
webUrl: ''
};
},
onLoad(e) {
const {title, url} = JSON.parse(e.data);
this.webUrl = decodeURIComponent(url);
console.log("webUrl" + this.webUrl)
if (title) {
this.fnSetPageTitle(title);
}
}
};
</script>
<style scoped>
.app-page {
width: 100vw;
}
</style>