zhaojs
2023-04-25 f38ca22088b7a0de7e7db316c564b4bf7526f105
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<template>
    <view>
        <web-view :webview-styles="webviewStyles" :src="srcUrl"></web-view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                webviewStyles: {
                    progress: {
                        color: '#FF3333'
                    }
                },
                srcUrl: '',
            }
        },
        onLoad(opt) {
            this.srcUrl = decodeURIComponent(opt.url)
        }
    }
</script>
 
<style>
</style>