mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 13:19:31 +08:00
v1.0.0-beta 源码正式开源
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user