<template>
	<view>
		<ChatLayout :phone="data.phone" :chatInfo="data.data"></ChatLayout>
	</view>
</template>

<script setup>
import ChatLayout from '@/components/message/chat/chat-layout.vue'
import {
	ref,
	reactive
} from 'vue'
import {
	onLoad,
	onPageScroll
} from "@dcloudio/uni-app";
import {
	stringUtil,
	util
} from '@/utils/common.js';
const data = reactive({
	phone: "iphone",
	data: {}
})
onLoad((options) => {
	console.log(options)
	if (options.phone) {
		data.phone = options.phone
	}
	if (options.data) {
		data.data = JSON.parse(options.data)
	}
})
</script>

<style lang="less"></style>
