acdr/acdr-admin/yskj-admin-ui/yskj-admin-ui-mall-uniapp/pages/public/webview.vue

19 lines
332 B
Vue
Raw Normal View History

2024-09-05 14:05:15 +08:00
<!-- 网页加载 -->
<template>
<view>
<web-view :src="url" />
</view>
</template>
<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref } from 'vue';
const url = ref('');
onLoad((options) => {
url.value = decodeURIComponent(options.url);
});
</script>
<style lang="scss" scoped></style>