同步代码

This commit is contained in:
GaoHao
2025-02-07 14:49:20 +08:00
commit 0740c3f349
1141 changed files with 167372 additions and 0 deletions

21
pages/webview/webview.vue Normal file
View File

@@ -0,0 +1,21 @@
<template>
<web-view class="view" :src="webUrl"></web-view>
</template>
<script setup>
import { ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
const webUrl = ref('');
onLoad((options) => {
webUrl.value = options.url;
});
</script>
<style scoped lang="scss">
.view {
width: 100vw;
height: 100vh;
}
</style>