<template>
    <div>
        好友资料，
        <u-button @click="toPrivate">发送消息</u-button>
    </div>
</template>

<script>
    export default {
        methods: {
            toPrivate() {
                uni.navigateTo({
                    url: '/pages/im/private/index?targetId=10047&conversationType=1'
                })
            }
        }
    }
</script>

<style>
</style>
