src/AppBundle/Command/ThemeTemplate/block.json

(开头部分) 830B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

{
  "{{name}}:top_banner": {
    "title": "图片带链接的编辑区",
    "category": "{{name}}",
    "templateName": "@theme/{{name}}/block/carousel.html.twig",
    "items": {
      "carousel": {
        "title": "轮播图",
        "desc": "建议图片大小为1920*520,最多可设置5张图片",
        "count": 2,
        "type": "imglink",
        "default": [
          {
            "src": "\/themes\/{{name}}\/static-src\/img\/post1.jpg",
            "alt": "默认轮播图1",
            "href": "http:\/\/www.edusoho.com",
            "target": "_blank"
          },
          {
            "src": "\/themes\/{{name}}\/static-src\/img\/post2.jpg",
            "alt": "默认轮播图2",
            "href": "http:\/\/www.edusoho.com",
            "target": "_blank"
          }
        ]
      }
    }
  }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。