mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-09-11 00:22:49 -05:00
85 lines
2.5 KiB
HTML
85 lines
2.5 KiB
HTML
<!-- 修改后保存一下 include 这个文件的 html 模板(比如home.html)就会渲染 -->
|
||
|
||
<div class="w-full flex flex-col justify-center items-center">
|
||
<h2 class="text-2xl font-bold my-8 block_simple">{{_('Sipeed 传感器系列')}}</h2>
|
||
<div class="w-full flex flex-col justify-center">
|
||
<div class="cards">
|
||
<!-- cards -->
|
||
<div class="card" v-for="item in data_sipeedsense.cards">
|
||
<div class="img_wrapper">
|
||
<img class="card_img" :src="item.img" />
|
||
</div>
|
||
<h3 class="card_title" class="text-lg">{[item.title]}</h3>
|
||
<div class="card_brief">{[item.brief]}</div>
|
||
<div class="card_btns">
|
||
<a
|
||
v-for="btn in item.btns"
|
||
:href="btn.link"
|
||
:target="btn.new_tab ? '_blank' : '_self'"
|
||
>{[btn.label]}</a
|
||
>
|
||
</div>
|
||
</div>
|
||
<!-- cards end -->
|
||
</div>
|
||
<div class="w-full flex flex-col justify-center items-center mt-10 mb-5">
|
||
<!-- a table to compare upper products' parameters -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<script lang="ts">
|
||
const data_sipeedsense = {
|
||
cards: [
|
||
{
|
||
img: "/hardware/zh/maixsense/assets/me_small.jpg",
|
||
title: "MaixSense A010",
|
||
brief: "100x100 3D TOF {{_('深度传感器模组')}}",
|
||
btns: [
|
||
{
|
||
label: "{{_('文档')}}",
|
||
link: "/hardware/zh/maixsense/index.html",
|
||
},
|
||
{
|
||
label: "{{_('购买')}}",
|
||
link: "https://item.taobao.com/item.htm?id=684566484141",
|
||
new_tab: true,
|
||
},
|
||
],
|
||
},
|
||
{
|
||
img: "/hardware/zh/maixsense/assets/me_big.jpg",
|
||
title: "MaixSense A075v",
|
||
brief: "RGB 3D TOF {{_('深度摄像头模组')}}",
|
||
btns: [
|
||
{
|
||
label: "{{_('文档')}}",
|
||
link: "/hardware/zh/maixsense/index.html",
|
||
},
|
||
{
|
||
label: "{{_('购买')}}",
|
||
link: "https://item.taobao.com/item.htm?id=684566484141",
|
||
new_tab: true,
|
||
},
|
||
],
|
||
},
|
||
{
|
||
img: "/hardware/zh/ThermalCam/T256s/assets/t256s.jpg",
|
||
title: "Sipeed T256s",
|
||
brief: "Thermal Camera {{_('热成像传感器模组')}}",
|
||
btns: [
|
||
{
|
||
label: "{{_('文档')}}",
|
||
link: "/hardware/zh/ThermalCam/T256s/Intro.html",
|
||
},
|
||
{
|
||
label: "{{_('购买')}}",
|
||
link: "https://item.taobao.com/item.htm?id=1042038028765",
|
||
new_tab: true,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
};
|
||
</script>
|