<template>
  <h2 class="contentTitle">资源中心</h2>
  <el-row :gutter="20">
    <el-col :span="6">
      <div class="grid-content">
        <router-link to="/iframe/资源中心/情绪识别">
          <img :src="emotionImg" alt="">
          <div>
            <span>情绪识别</span>
            <p>以人脸面部检测为基础，对面部情绪进行识别与分类。</p>
          </div>
        </router-link>

      </div>
    </el-col>
    <el-col :span="6">
      <div class="grid-content">
        <router-link to="/iframe/资源中心/物体识别">
          <img :src="objectImg" alt="">
          <div>
            <span>物体识别</span>
            <p>以预置物体识别模型为基础，实现图片或视频中的物体识别。</p>
          </div>
        </router-link>
      </div>
    </el-col>
    <el-col :span="6">
      <div class="grid-content">
        <router-link to="/iframe/资源中心/语音识别">
          <img :src="speechImg" alt="">
          <div>
            <span>语音识别</span>
            <p>实现普通话、英语、粤语三种录制语言的自动语音识别。</p>
          </div>
        </router-link>
      </div>
    </el-col>
  </el-row>
</template>
<script setup>
import { ref } from 'vue';
import emotionImg from '@/assets/icon/情绪识别icon.png'
import objectImg from '@/assets/icon/物体识别icon.png'
import speechImg from '@/assets/icon/语音识别icon.png'
</script>
<style lang="scss" scoped>
.el-row {
  margin-bottom: 20px;

  .el-col {
    border-radius: 4px;

    .grid-content {
      border-radius: 4px;
      min-height: 36px;
      background: #fff;
      border-radius: 10px;

      a {
        text-decoration: none;
        display: block;
        position: relative;
        padding: 16px;

        img {
          width: 56px;
        }

        div {
          position: absolute;
          left: 80px;
          top: 16px;

          span {
            color: rgba(0, 0, 0, 0.9);
            font-size: 14px;
            margin-bottom: 10px;
            font-weight: 400;
          }

          p {
            color: rgba(0, 0, 0, 0.4);
            font-size: 12px;
            padding-right: 20px;
          }
        }


      }
    }
  }


}

.el-row:last-child {
  margin-bottom: 0;
}
</style>