1
0
şunun yansıması https://github.com/ialley-workshop-open/uni-halo.git eşitlendi 2026-06-11 12:49:30 +08:00
Dosyalar
uni-halo/pagesC/website/website.vue
T
2025-06-15 18:38:52 +08:00

30 satır
493 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.query.data);
this.webUrl = decodeURIComponent(url);
if (title) {
this.fnSetPageTitle(title);
}
}
};
</script>
<style scoped>
.app-page {
width: 100vw;
}
</style>