<template>
    <web-view :src="url"></web-view>
</template>

<script>
export default {
    data() {
        return {
            url: ''
        };
    },
    onLoad(item) {
        this.url = decodeURIComponent(item.url)
        console.log(this.url)
        // 传入需要跳转的链接 使用web-view标签进行跳转
    }
};
</script>

<style lang="scss">
.container {
    width: 100%;
    padding: $uni-spacing-row-lg;
    box-sizing: border-box;
    padding-bottom: 48rpx;

    .tui-text {
        font-size: $uni-font-size-sm;
        text-indent: 2em;
        color: $uni-text-color;
        padding-bottom: $uni-spacing-col-sm;
        tui-text-align: justify;
    }

    .tui-sub {
        padding-left: $uni-spacing-row-sm;
    }
}
</style>
