<template>
  <div class="demo">
    <el-card header="组件">
      <h1>人脸识别</h1>
      <GetFace v-model="pic"></GetFace>

      <h1>二维码识别</h1>
      <QRReader v-model="qrcode"></QRReader>

      <h1>彩色标签</h1>
      <ColorTag v-model="tags"></ColorTag>
    </el-card>
  </div>
</template>

<script>
import GetFace from '@/components/GetFace'

export default {
  data () {
    return {
      pic: '',
      qrcode: '',
      tags: ['清', '上', '没', '有', '什', '么', '时', '间', '清', '上', '没', '有', '什', '么', '时', '间']
    }
  },
  components: {
    GetFace
  }
}
</script>

<style lang="scss" scoped>
.demo {
  padding: 20px;
}
h1{
  font-size: 20px; margin: 10px 0 10px;
}
</style>
