spring
4 天以前 435881d494e2be4ba5ce8bfccb02d6ef49e07314
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
27
28
29
30
31
32
33
<template>
    <view>
        <web-view :webview-styles="webviewStyles" :src="webviewUrl"></web-view>
    </view>
</template>
<script>
/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
export default {
    data() {
        return {
            webviewUrl: '',
            webviewStyles: {
                progress: {
                    color: '#FF7200'
                }
            }
        };
    },
    onLoad(params) {
        this.webviewUrl = decodeURIComponent(params.url);
        if (params.title != ''){
            uni.setNavigationBarTitle({
                title: params.title
            })
        }
    }
};
</script>
<style lang="scss">
    
</style>