<template>
	<view>
		<web-view :src="host + '/static/html/livechat.html'" @message="handleMsg"></web-view>
	</view>
</template>

<script>
	import { app_host } from '@/utils/request'
	export default {
		data() {
			return {
				host: app_host.replace('/api', '')
			}
		},
		methods: {
			handleMsg(data) {
				console.log(data)
			}
		}
	}
</script>

<style>

</style>