Section

产品型号对比V2

7 个模板实例,4 个 section 配置,1 类 block。

真实模板变体

Schema

{
  "name": "产品型号对比V2",
  "class": "choose-shaver",
  "settings": [
    {
      "type": "text",
      "id": "section_id",
      "label": "Section ID",
      "default": "choose-shaver"
    },
    {
      "type": "textarea",
      "id": "heading",
      "label": "Heading",
      "default": "Choose Your Shaver"
    },
    {
      "type": "url",
      "id": "compare_url",
      "label": "Compare Page URL"
    },
    {
      "type": "checkbox",
      "id": "showAll",
      "label": "Show Compare Button"
    }
  ],
  "blocks": [
    {
      "type": "product",
      "name": "Product block",
      "settings": [
        {
          "type": "image_picker",
          "id": "p_image",
          "label": "Product image"
        },
        {
          "type": "product",
          "id": "product",
          "label": "Product"
        },
        {
          "type": "text",
          "id": "p_title",
          "label": "product title",
          "default": "Swift"
        },
        {
          "type": "text",
          "id": "text_des",
          "label": "text description",
          "default": "NEW"
        },
        {
          "type": "text",
          "id": "product_price",
          "label": "product price",
          "default": "$ XXX"
        },
        {
          "type": "textarea",
          "id": "p_title_sub",
          "label": "product title Sub"
        },
        {
          "type": "text",
          "id": "btn1_name",
          "label": "Button 1 Name"
        },
        {
          "type": "url",
          "id": "btn1_url",
          "label": "Button 1 URL"
        },
        {
          "type": "text",
          "id": "btn2_name",
          "label": "Button 2 Name"
        },
        {
          "type": "url",
          "id": "btn2_url",
          "label": "Button 2 URL"
        },
        {
          "type": "image_picker",
          "id": "icon_1",
          "label": "Icon 1"
        },
        {
          "type": "text",
          "id": "icon_t_1",
          "label": "Icon 1 title",
          "default": "110,000 rpm Motor Revoluions"
        },
        {
          "type": "text",
          "id": "icon_sub_t_1",
          "label": "Icon 1 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_2",
          "label": "Icon 2"
        },
        {
          "type": "text",
          "id": "icon_t_2",
          "label": "Icon 2 title",
          "default": "22/ms wind speed"
        },
        {
          "type": "text",
          "id": "icon_sub_t_2",
          "label": "Icon 2 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_3",
          "label": "Icon 3"
        },
        {
          "type": "text",
          "id": "icon_t_3",
          "label": "Icon 3 title",
          "default": "Nylon + Glass Fiber"
        },
        {
          "type": "text",
          "id": "icon_sub_t_3",
          "label": "Icon 3 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_4",
          "label": "Icon 4"
        },
        {
          "type": "text",
          "id": "icon_t_4",
          "label": "Icon 4 title",
          "default": "Max Power 1600W"
        },
        {
          "type": "text",
          "id": "icon_sub_t_4",
          "label": "Icon 4 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_5",
          "label": "Icon 5"
        },
        {
          "type": "text",
          "id": "icon_t_5",
          "label": "Icon 5 title",
          "default": "100 times/s Thermostat Algorithm"
        },
        {
          "type": "text",
          "id": "icon_sub_t_5",
          "label": "Icon 5 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_6",
          "label": "Icon 6"
        },
        {
          "type": "text",
          "id": "icon_t_6",
          "label": "Icon 6 title"
        },
        {
          "type": "text",
          "id": "icon_sub_t_6",
          "label": "Icon 6 subtitle"
        },
        {
          "type": "image_picker",
          "id": "icon_7",
          "label": "Icon 7"
        },
        {
          "type": "text",
          "id": "icon_t_7",
          "label": "Icon 7 title"
        },
        {
          "type": "text",
          "id": "icon_sub_t_7",
          "label": "Icon 7 subtitle"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "产品型号对比V2"
    }
  ]
}