mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 01:50:15 +09:00
28 lines
438 B
Vue
28 lines
438 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 = url;
|
|
this.fnSetPageTitle(title);
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style scoped>
|
|
.app-page {
|
|
width: 100vw;
|
|
}
|
|
</style>
|