Files
threeonecheck_web/pages/login/agreement.vue
2026-01-18 16:06:37 +08:00

27 lines
544 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<web-view :webview-styles="webviewStyles" :src="articleUrl"></web-view>
</view>
</template>
<script setup>
import { ref, onMounted } from 'vue';
// 响应式数据
const articleUrl = ref('');
const webviewStyles = ref({
progress: {
color: '#3D83F6' // 使用蓝色主题色
}
});
// 页面加载时
onMounted(() => {
// 设置协议URL实际使用时替换为真实的协议地址
articleUrl.value = 'http://www.baidu.com/';
});
</script>
<style lang="scss" scoped>
// 可以根据需要添加样式
</style>