打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Test-main:修订间差异

来自LCD wiki
无编辑摘要
标签已被回退
已还原Wzy讨论)的编辑至最后由Root修订的版本
标签回退
第1行: 第1行:
<noinclude>
{{#widget:StyledHeader
== 参数说明 ==
| color = #73c0ef
* boxid 对象id, 默认值: home-tab, 当需要在同一个页面上显示多个组件时,需要保证boxid唯一
}}
* themeColor 主题颜色, 默认值: #36a5e8
 
* tabs 分栏名称列表
= [[File:RPi-Boards.png|left|thumb|100x100像素]]Raspberry Pi树莓派显示器 =
* tabContents 分栏内容列表
 
** title 要跳转的文档名称
== Raspberry Pi HDMI 显示器==
** subtitle: 子标题,
** coverimg 封面图片, 默认显示, 失去鼠标焦点时显示
** backimg 背面图片, 获取到鼠标焦点时显示
== 用法 ==
<pre><nowiki>
{{#widget:Home
{{#widget:Home
| tabs = ["HDMI显示屏", "MHS-series显示屏", "GPIO显示屏"]
| boxid = hdmi
| tabs = ["HDMI显示屏"]
| tabContents = [
| tabContents = [
     [
     [
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "3.5inch HDMI Display-B",
         subtitle: "子标题",  
        subtitle: "MPI3508",
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
        coverimg: "http://www.lcdwiki.com/zh/images/e/e9/3508-main-20210302.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg" },  
        backimg: "http://www.lcdwiki.com/zh/images/2/28/MPI3508-20181115.jpg"
    ],
      }, 
    [
      {
        title: "4inch HDMI Display-C",  
         subtitle: "MPI4008",  
         coverimg: "http://www.lcdwiki.com/zh/images/4/4a/4.0-HDMI-main-20210302.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/6/62/4.0-HDMI-2pin.jpg"
      },
      {
        title: "4.3inch HDMI Display-C",
        subtitle: "MPI4305",
        coverimg: "http://www.lcdwiki.com/zh/images/8/84/4.3inch-HDMI-8.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/7/75/4.3inch-HDMI-6.jpg"
      }, 
      {
        title: "5inch HDMI Display",
        subtitle: "MPI5008",
        coverimg: "http://www.lcdwiki.com/zh/images/c/c3/MPI5008-66.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/2/2f/MPI5008-11.jpg"
      }, 
      {
        title: "5inch HDMI Display-B",
        subtitle: "MPI5001",
        coverimg: "http://www.lcdwiki.com/zh/images/2/22/MPI5001-01.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/e/e6/MPI5001-04.jpg"
      },
      {
        title: "5.5inch HDMI Display",
        subtitle: "MPI5518",
        coverimg: "http://www.lcdwiki.com/zh/images/5/51/5.5-IPS-main-7.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/2/2f/5.5-IPS-2pin.jpg"
      }, 
      {
        title: "7inch HDMI Display-B",
        subtitle: "MPI7001",
        coverimg: "http://www.lcdwiki.com/zh/images/thumb/6/67/MPI7001-001.jpg/320px-MPI7001-001.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/4/4c/7-B-2pin.jpg"
      },
      {
        title: "7inch HDMI Display-C",  
        subtitle: "MPI7002",
        coverimg: "http://www.lcdwiki.com/zh/images/thumb/f/fb/MPI7002-04.jpg/320px-MPI7002-04.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/3/38/7-C-2660-2pin.jpg"
      }, 
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "7inch HDMI Display-S",  
         subtitle: "子标题",  
         subtitle: "MPI7008",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/a/af/7-S-1-2.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg" },  
         backimg: "http://www.lcdwiki.com/zh/images/a/a9/7-S-2pin.jpg"
    ],
      },  
    [
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "7inch HDMI Display-H",  
         subtitle: "子标题",  
         subtitle: "MPI7006",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/c/cb/MPI7006-004.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg" },  
        backimg: "http://www.lcdwiki.com/zh/images/e/e4/MPI7006-002.jpg"
      }, 
      {
        title: "10.1inch HDMI Display-H",
        subtitle: "MPI1001",
        coverimg: "http://www.lcdwiki.com/zh/images/6/6f/10.1-H-main-6.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/6/6d/10.1-H--%E5%8A%9F%E8%83%BD%E5%9B%BE.jpg"
      }, 
      {
        title: "10.1inch HDMI Display-Y",
        subtitle: "MPI1008",
        coverimg: "http://www.lcdwiki.com/zh/images/d/dd/MPI1008-002.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/0/01/MPI1008-003.jpg"
      },  
     ],
     ],
   ]
   ]
}}
}}
</nowiki></pre>
== RaspberryPi MHS/GPIO Module ==
== 效果展示 ==
{{#widget:Home
{{#widget:Home
| tabs = ["HDMI显示屏", "MHS-series显示屏", "GPIO显示屏"]
| boxid = mhs
| tabs = ["MHS-显示屏", "GPIO显示屏"]
| tabContents = [
| tabContents = [
     [
     [
       {  
       {  
         title: "3.5寸HDMI显示屏,这是一个很长的标题这是一个很长的标题这是一个很长的标题",  
         title: "MHS-3.2inch Display",  
         subtitle: "这是一个很长的子标题这是一个很长的子标题这是一个很长的子标题",  
         subtitle: "MHS3232",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/2/20/3.2-MHS-main-20210302-2.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: "http://www.lcdwiki.com/zh/images/e/e1/3.2-MHS-saize-004.jpg"
       },   
       },   
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "MHS-3.5inch RPi Display",  
         subtitle: "子标题",  
         subtitle: "MHS3528",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/2/23/3.5-MHS-main-20210302.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: "http://www.lcdwiki.com/zh/images/5/59/MHS3528-002.jpg"
       },  
       },  
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "MHS-4.0inch Display-B",  
         subtitle: "子标题",  
         subtitle: "MHS4001",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/6/67/4.0-MHS-main-20210302-2.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: "http://www.lcdwiki.com/zh/images/f/fe/MHS3958-003.jpg"
       },   
       },   
 
    ],
    [
        {
        title: "2.4inch RPi Display For RPi 3A+",
        subtitle: "MPI2411",
        coverimg: "http://www.lcdwiki.com/zh/images/2/20/3.2-MHS-main-20210302-2.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/1/11/MPI2411-003.jpg"
      }, 
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.4inch RPi Display",  
         subtitle: "子标题",  
         subtitle: "MPI2418",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/e/eb/2.4-RPi-30.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
        backimg: ""
      },
      {
        title: "2.8inch RPi Display",
        subtitle: "MPI2801",
        coverimg: "http://www.lcdwiki.com/zh/images/1/1b/2.8-RPi-main-8.jpg",
        backimg: ""
      }, 
      {
        title: "3.2inch RPi Display",
        subtitle: "MPI3201",
        coverimg: "http://www.lcdwiki.com/zh/images/e/ee/MPI3201-RPi-5.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/8/8c/MPI3201-RPi-901.jpg"
      }, 
      {
        title: "3.5inch RPi Display",
        subtitle: "MPI3501",
        coverimg: "http://www.lcdwiki.com/zh/images/4/44/MPI3501-main-26.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/f/fb/3.5-MPI3501-2pin.jpg"
       },   
       },   
    ],
  ]
}}
{{StyledHeader
| text = Arduino
| header = h1
| color = #bc1d46
}}
{{#widget:Home
| boxid = Arduino_Display
| tabs = ["For UNO", "For Mega2560"]
| themeColor = #bc1d46
| tabContents = [
[
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.4inch Arduino Display",  
         subtitle: "子标题",  
         subtitle: "MAR2406",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/f/f8/2.4-UNO-1.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
      }, 
      {
        title: "2.6inch Arduino Display",
        subtitle: "MAR2601",
        coverimg: "http://www.lcdwiki.com/zh/images/c/cb/2.6-UNO-2.jpg",
        backimg: ""
       },  
       },  
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.8inch Arduino Display",  
         subtitle: "子标题",  
         subtitle: "MAR2808",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/4/4f/MAR2808-011.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
       },  
       },  
        {
        title: "3.5寸HDMI显示屏",
        coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
      },
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "3.5inch Arduino Display-UNO",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         subtitle: "MAR3501/MAR3502",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         coverimg: "http://www.lcdwiki.com/zh/images/6/6f/MAR3502-01.jpg",
        backimg: ""
       },   
       },   
    ],
    [
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "3.95inch Arduino Display-UNO",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         subtitle: "MAR3954",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"  
         coverimg: "http://www.lcdwiki.com/zh/images/a/ad/3.95-UNO-main-5.jpg",
       },  
        backimg: ""
       },
 
     ],
     ],
     [
     [
       
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.8inch RPi Display",
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
        subtitle: "MPI2801",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"  
         coverimg: "http://www.lcdwiki.com/zh/images/1/1b/2.8-RPi-main-8.jpg",
       },  
        backimg: ""
      }, 
      {
        title: "3.2inch RPi Display",
        subtitle: "MPI3201",
        coverimg: "http://www.lcdwiki.com/zh/images/e/ee/MPI3201-RPi-5.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/8/8c/MPI3201-RPi-901.jpg"
      }, 
      {
        title: "3.5inch RPi Display",
        subtitle: "MPI3501",
        coverimg: "http://www.lcdwiki.com/zh/images/4/44/MPI3501-main-26.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/f/fb/3.5-MPI3501-2pin.jpg"
       },
     ],
     ],
   ]
   ]
}}
{{StyledHeader
| text = 并口显示屏模块-适配开发板
| header = h1
| color = black
}}
}}
{{#widget:Home
{{#widget:Home
| boxid = demo1
| boxid = Parallel
| tabs = ["HDMI显示屏", "MHS-series显示屏"]
| tabs = ["并口显示屏"]
| themeColor = #bc1d46
| themeColor = black
| tabContents = [
| tabContents = [
     [
     [
       {  
       {  
         title: "3.5寸HDMI显示屏,这是一个很长的标题这是一个很长的标题这是一个很长的标题",  
         title: "3.5inch HDMI Display-B",  
         subtitle: "这是一个很长的子标题这是一个很长的子标题这是一个很长的子标题",  
         subtitle: "MPI3508",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/e/e9/3508-main-20210302.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
        backimg: ""
      }, 
      {
        title: "4inch HDMI Display-C",
        subtitle: "MPI4008",
        coverimg: "http://www.lcdwiki.com/zh/images/4/4a/4.0-HDMI-main-20210302.jpg",  
         backimg: ""
      },
      {
        title: "4.3inch HDMI Display-C",
        subtitle: "MPI4305",
        coverimg: "http://www.lcdwiki.com/zh/images/8/84/4.3inch-HDMI-8.jpg",
        backimg: ""
      }, 
      {
        title: "5inch HDMI Display",
        subtitle: "MPI5008",
        coverimg: "http://www.lcdwiki.com/zh/images/c/c3/MPI5008-66.jpg",
        backimg: ""
       },   
       },   
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "5inch HDMI Display-B",  
         subtitle: "子标题",  
         subtitle: "MPI5001",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/2/22/MPI5001-01.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
       },  
       },  
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "5.5inch HDMI Display",
         subtitle: "子标题",  
        subtitle: "MPI5518",
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
        coverimg: "http://www.lcdwiki.com/zh/images/5/51/5.5-IPS-main-7.jpg",
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
        backimg: ""
      }, 
      {
        title: "7inch HDMI Display-B",  
         subtitle: "MPI7001",  
         coverimg: "http://www.lcdwiki.com/zh/images/thumb/6/67/MPI7001-001.jpg/320px-MPI7001-001.jpg",  
         backimg: ""
      }, 
      {
        title: "7inch HDMI Display-C",
        subtitle: "MPI7002",
        coverimg: "http://www.lcdwiki.com/zh/images/thumb/f/fb/MPI7002-04.jpg/320px-MPI7002-04.jpg",
        backimg: ""
       },   
       },   
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "7inch HDMI Display-S",  
         subtitle: "子标题",  
         subtitle: "MPI7008",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/a/af/7-S-1-2.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
      },
      {
        title: "7inch HDMI Display-H",
        subtitle: "MPI7006",
        coverimg: "http://www.lcdwiki.com/zh/images/c/cb/MPI7006-004.jpg",
        backimg: ""
       },   
       },   
     
    ],
  ]
}}
{{StyledHeader
| text = SPI 显示器
| header = h1
| color = #bc1d46
}}
{{#widget:Home
| boxid = SPI_Display
| tabs = ["0.96inch~2.0inch", "2.2inch~4.0inch"]
| themeColor = #bc1d46
| tabContents = [
[
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.4inch Arduino Display",  
         subtitle: "子标题",  
         subtitle: "MAR2406",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/f/f8/2.4-UNO-1.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
      }, 
      {
        title: "2.6inch Arduino Display",
        subtitle: "MAR2601",
        coverimg: "http://www.lcdwiki.com/zh/images/c/cb/2.6-UNO-2.jpg",
        backimg: ""
       },  
       },  
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.8inch Arduino Display",  
         subtitle: "子标题",  
         subtitle: "MAR2808",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         coverimg: "http://www.lcdwiki.com/zh/images/4/4f/MAR2808-011.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         backimg: ""
       },  
       },  
        {
        title: "3.5寸HDMI显示屏",
        coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
      },
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "3.5inch Arduino Display-UNO",  
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
         subtitle: "MAR3501/MAR3502",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"
         coverimg: "http://www.lcdwiki.com/zh/images/6/6f/MAR3502-01.jpg",
        backimg: ""
       },   
       },   
      {
        title: "3.95inch Arduino Display-UNO",
        subtitle: "MAR3954",
        coverimg: "http://www.lcdwiki.com/zh/images/a/ad/3.95-UNO-main-5.jpg",
        backimg: ""
      }, 
 
     ],
     ],
     [
     [
       
       {  
       {  
         title: "3.5寸HDMI显示屏",  
         title: "2.8inch RPi Display",
         coverimg: "http://www.lcdwiki.com/images/thumb/0/09/Main_MPI3508.jpg/200px-Main_MPI3508.jpg",  
        subtitle: "MPI2801",  
         backimg: "http://www.lcdwiki.com/zh/images/thumb/2/21/MPI3508-01.jpg/300px-MPI3508-01.jpg"  
         coverimg: "http://www.lcdwiki.com/zh/images/1/1b/2.8-RPi-main-8.jpg",
       },  
        backimg: ""
      }, 
      {
        title: "3.2inch RPi Display",
        subtitle: "MPI3201",
        coverimg: "http://www.lcdwiki.com/zh/images/e/ee/MPI3201-RPi-5.jpg",  
         backimg: "http://www.lcdwiki.com/zh/images/8/8c/MPI3201-RPi-901.jpg"
      }, 
      {
        title: "3.5inch RPi Display",
        subtitle: "MPI3501",
        coverimg: "http://www.lcdwiki.com/zh/images/4/44/MPI3501-main-26.jpg",
        backimg: "http://www.lcdwiki.com/zh/images/f/fb/3.5-MPI3501-2pin.jpg"
       },
     ],
     ],
   ]
   ]
}}
}}
</noinclude>
<includeonly>
<onlyinclude>
<html>
  <div
    id="<!--{$boxid|default:"home-tab"}-->"
    class="v-application v-application--is-ltr theme--light"
    style="display: none;"
  >
    <v-container>
      <v-tabs
        v-model="tab"
        show-arrows
        grow
        center-active
        dark
        hide-slider
        active-class="active-tab"
        :background-color="themeColor"
      >
        <v-tab v-for="(tabName, index) in tabs" :key="index">
          {{tabName}}
        </v-tab>
      </v-tabs>
      <v-tabs-items v-model="tab">
        <v-tab-item v-for="(content, index) in tabContents" :key="index">
        <v-container>
          <v-row no-gutters>
            <v-col v-for="(item, idx) in content" :key="idx"
            cols="6" sm="6" md="4" lg="3" xl="3"
            >
              <a :href="baseURL() + encodeURIComponent(item.title)">
                <v-card class="ma-1 ma-md-2 ma-lg-3 ma-xl-3" elevation=1>
                  <v-img
                    dark
                    :src="getImageUrl(item)"
                    :lazy-src=item.backimg
                    :aspect-ratio="1/1"
                    class="grey darken-4"
                    @mouseover="setHoveredItem(item)"
                    @mouseout="resetHoveredItem()"
                  ></v-img>
                  <div class="home-box-item-title">{{ item.title }}</div>
                  <div class="home-box-item-subtitle">{{ item.subtitle }}</div>
                </v-card>
              </a>
            <v-col/>
          </v-row>
          </v-container>
        </v-tab-item>
      </v-tabs-items>
    </v-container>
  </div>
  <script src="/res/Common/js/vue.min.js"></script>
  <script src="/res/Common/js/vuetify.min.js"></script>
  <script>
    if (typeof HomeBoxPool == "undefined") {
        HomeBoxPool = new Map();
    }
    HomeBoxPool["<!--{$boxid|default:"home-tab"}-->"] = setInterval(() => {
      if (typeof Vuetify !== "undefined" && typeof Vue !== "undefined") {
        clearInterval(HomeBoxPool["<!--{$boxid|default:"home-tab"}-->"]);
        let appDom = document.getElementById("<!--{$boxid|default:"home-tab"}-->");
        appDom.style.display = 'block';
        new Vue({
          el: "#<!--{$boxid|default:"home-tab"}-->",
          vuetify: new Vuetify(),
          methods: {
            setHoveredItem(item) {
              if (this.$vuetify.breakpoint.mdAndUp){
                this.hoveredItem = item; 
              } 
            },
            resetHoveredItem() {
              if (this.$vuetify.breakpoint.mdAndUp){
                this.hoveredItem = null;
              }
            },
            getImageUrl(item) {
              if (this.hoveredItem === item) {
                if (item.backimg) {
                  return item.backimg;
                }
              }
              return item.coverimg;
            },
            baseURL(){
              return /https?:\/\/[^\/]+\/(zh)(\/|$)/.test(window.location.href) ? '/zh/' : '/'
            }
          },
          data: {
            themeColor: "<!--{$themeColor|default:"#36a5e8"}-->",
            tab: null,
            tabs: <!--{$tabs}-->,
            tabContents: <!--{$tabContents}-->,
            hoveredItem: null,
          },
        });
      }
    }, 50);
  </script>
  <style scoped>
    .home-box-item-title, .home-box-item-subtitle {
      text-align: center;
      font-size: 14px; /* 默认字体大小 */
      white-space: nowrap;        /* 防止文本换行 */
      overflow: hidden;          /* 隐藏超出范围的文本 */
      text-overflow: ellipsis;    /* 使用省略号表示超出文本 */
      max-width: 100%;            /* 设置最大宽度 */
    }
    .home-box-item-title {
      font-weight: bold;
      color: #313131
    }
    .home-box-item-subtitle {
      color: #666666
    }
    @media (min-width: 960px) {
      .home-box-item-title, .home-box-item-subtitle {
        font-size: 16px; /* 中屏幕及以上 */
      }
    }
    @media (min-width: 1280px) {
      .home-box-item-title, .home-box-item-subtitle{
        font-size: 18px; /* 大屏幕及以上 */
      }
    }
    .active-tab {
      font-weight: bold;
      font-size: 18px;
    }


    .active-tab::after {
= OLED Display Module=
      content: '';
= RGB Display Module=
      position: absolute;
= 开发板=
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.3); /* 透明白色 */
      pointer-events: none; /* 让蒙版不影响鼠标事件 */
    }
  </style>
</html>
</onlyinclude>
</includeonly>

2024年7月29日 (一) 20:08的版本

Raspberry Pi树莓派显示器

Raspberry Pi HDMI 显示器

RaspberryPi MHS/GPIO Module

Arduino

并口显示屏模块-适配开发板

SPI 显示器

OLED Display Module

RGB Display Module

开发板