代码提交

This commit is contained in:
黄少君
2023-11-14 17:21:03 +08:00
parent d0b337c596
commit dcab74274f
567 changed files with 22414 additions and 7375 deletions

33
pages/webview/index.vue Normal file
View File

@ -0,0 +1,33 @@
<!--
@name: webview
@author: kahu4
@date: 2023-11-08 18:49
@descriptionindex
@update: 2023-11-08 18:49
-->
<script setup>
import { onLoad } from "@dcloudio/uni-app";
import { useRouter } from "@/hooks/useRouter";
import { ref } from "vue";
const {getParams} = useRouter()
const routeParams = ref({src: ''})
onLoad((options) => {
routeParams.value = getParams(options)
})
</script>
<template>
<view class="webview-container">
<web-view :src="routeParams.src" />
</view>
</template>
<style
scoped
lang="scss"
>
</style>