<template>
  <div class="Notice">
    <notice :notice="notice" v-on:handleClick="handleClick"/>
  </div>
</template>
<script lang="ts">
import Vue from 'vue'
import { Notice } from '../../tunas'

export default Vue.extend({
  components: {
    Notice
  },
  data() {
    return {
      notice: {
        padding: '5px 20px 30px 0px',
        text: '蓝牙已关闭设备无法使用',
        importText: '开启蓝蓝',
        importWeight: '',
        color: 'blue',
        hasArrow: true
      }
    }
  },

  methods: {
    handleClick(e) {
      console.log('回调信息', e)
    }
  }
})
</script>
