<template>
  <div class="container">
    <div class="first_line">
      <img
        :src="item.img_url"
        v-for="item of menuList"
        :key="item.name"
        @click="router.push({ path: item.name, query: { data: item.data } })"
      />
    </div>
    <div class="fooder-mark">
      <div class="content">COPYRIGHT © 2024 杭州研一智控科技有限公司 版权所有</div>
    </div>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
import experiment from "@/assets/image/home/experiment.png";
import experiment2 from "@/assets/image/home/experiment2.png";
const menuList = [
  {
    name: "/experiment",
    img_url: experiment,
    data: 1,
  },
  // {
  //   name: '/equipment',
  //   img_url: experiment2,
  //   data: 3
  // }
];

const router = useRouter();
</script>

<style lang="less" scoped>
.container {
  position: relative;
  width: 100%;
  padding: 8px 13px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;

  .first_line {
    // height: 111px;
    display: flex;
    justify-content: center;
    gap: 28px;
    img {
      width: 146px;
      height: auto;
    }
  }
  .back-btn {
    position: absolute;
    right: 40px;
    bottom: 30px;
  }
  .svg-icon {
    margin-right: 3px;
  }
  .fooder-mark {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    .content {
      width: 730px;
      height: 31px;
      font-family: Microsoft YaHei, Microsoft YaHei;
      font-weight: 400;
      font-size: 12px;
      color: #989898;
      line-height: 36px;
      text-align: center;
      font-style: normal;
      text-transform: none;
    }
  }
}
</style>
