<template>
  <view class="chat-container">
    <web-view :webview-styles="webviewStyles" src="http://192.168.2.5:28180/ui/chat/aa39d6777becd0e1"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {}
  },
  onLoad() {
    uni.authorize({
      scope: 'scope.record',
      success() {
        uni.getRecorderManager()
      }
    })
  }
}
</script>

<style lang="scss" scoped>
.chat-container {
  height: 100vh;
  width: 100vw;
  background: linear-gradient(180deg, #02815b 0%, #114636 100%);
}
</style>
