Theme Block

KOL Video Slider

88 个配置项,0 类嵌套 block。

Schema

{
  "name": "KOL Video Slider",
  "settings": [
    {
      "type": "header",
      "content": "Gallery settings"
    },
    {
      "type": "text",
      "id": "title",
      "label": "Gallery title",
      "default": "KOL Video Gallery"
    },
    {
      "type": "textarea",
      "id": "description",
      "label": "Gallery description",
      "default": "Discover products through our influencer videos"
    },
    {
      "type": "text",
      "id": "button_text",
      "label": "Product button text",
      "default": "View"
    },
    {
      "type": "header",
      "content": "Slider settings"
    },
    {
      "type": "range",
      "id": "videos_per_row",
      "min": 1,
      "max": 6,
      "step": 1,
      "label": "Videos per row",
      "default": 4
    },
    {
      "type": "checkbox",
      "id": "show_navigation",
      "label": "Show navigation arrows",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "show_dots",
      "label": "Show dots navigation",
      "default": true
    },
    {
      "type": "range",
      "id": "gap_size",
      "min": 8,
      "max": 32,
      "step": 4,
      "unit": "px",
      "label": "Gap between videos",
      "default": 16
    },
    {
      "type": "header",
      "content": "Video settings"
    },
    {
      "type": "checkbox",
      "id": "autoplay",
      "label": "Autoplay videos",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "muted",
      "label": "Mute videos by default",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "loop",
      "label": "Loop videos",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "controls",
      "label": "Show video controls",
      "default": false
    },
    {
      "type": "header",
      "content": "Product pricing"
    },
    {
      "type": "checkbox",
      "id": "show_compare_price",
      "label": "Show MSRP price",
      "default": true
    },
    {
      "type": "checkbox",
      "id": "show_discount_badge",
      "label": "Show discount percentage",
      "default": true
    },
    {
      "type": "header",
      "content": "Style"
    },
    {
      "type": "range",
      "id": "title_size",
      "min": 16,
      "max": 48,
      "step": 2,
      "unit": "px",
      "label": "Title size",
      "default": 32
    },
    {
      "type": "range",
      "id": "description_size",
      "min": 12,
      "max": 24,
      "step": 1,
      "unit": "px",
      "label": "Description size",
      "default": 16
    },
    {
      "type": "range",
      "id": "slider_border_radius",
      "min": 0,
      "max": 24,
      "step": 2,
      "unit": "px",
      "label": "Slider border radius",
      "default": 0
    },
    {
      "type": "range",
      "id": "card_border_radius",
      "min": 0,
      "max": 24,
      "step": 2,
      "unit": "px",
      "label": "Card border radius",
      "default": 12
    },
    {
      "type": "range",
      "id": "button_border_radius",
      "min": 0,
      "max": 24,
      "step": 2,
      "unit": "px",
      "label": "Button border radius",
      "default": 6
    },
    {
      "type": "header",
      "content": "Colors"
    },
    {
      "type": "color",
      "id": "background_color",
      "label": "Background color",
      "default": "#ffffff"
    },
    {
      "type": "color",
      "id": "card_background",
      "label": "Card background",
      "default": "#ffffff"
    },
    {
      "type": "color",
      "id": "text_color",
      "label": "Text color",
      "default": "#000000"
    },
    {
      "type": "color",
      "id": "price_color",
      "label": "Sale price color",
      "default": "#000000"
    },
    {
      "type": "color",
      "id": "compare_price_color",
      "label": "MSRP price color",
      "default": "#999999"
    },
    {
      "type": "color",
      "id": "discount_badge_color",
      "label": "Discount badge background",
      "default": "#ff4444"
    },
    {
      "type": "color",
      "id": "discount_badge_text_color",
      "label": "Discount badge text",
      "default": "#ffffff"
    },
    {
      "type": "color",
      "id": "accent_color",
      "label": "Accent color",
      "default": "#007bff"
    },
    {
      "type": "color",
      "id": "button_color",
      "label": "Button color",
      "default": "#000000"
    },
    {
      "type": "color",
      "id": "button_text_color",
      "label": "Button text color",
      "default": "#ffffff"
    },
    {
      "type": "color",
      "id": "button_hover_color",
      "label": "Button hover color",
      "default": "#333333"
    },
    {
      "type": "color",
      "id": "nav_button_color",
      "label": "Navigation button color",
      "default": "#ffffff"
    },
    {
      "type": "color",
      "id": "nav_button_text_color",
      "label": "Navigation button text color",
      "default": "#000000"
    },
    {
      "type": "color",
      "id": "nav_button_hover_color",
      "label": "Navigation button hover color",
      "default": "#f5f5f5"
    },
    {
      "type": "color",
      "id": "dot_color",
      "label": "Dot color",
      "default": "#cccccc"
    },
    {
      "type": "color",
      "id": "dot_active_color",
      "label": "Active dot color",
      "default": "#000000"
    },
    {
      "type": "header",
      "content": "Video 1"
    },
    {
      "type": "checkbox",
      "id": "video_1_enabled",
      "label": "Enable video 1",
      "default": true
    },
    {
      "type": "url",
      "id": "video_1",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_1",
      "label": "KOL name",
      "default": "Sarah Johnson"
    },
    {
      "type": "textarea",
      "id": "video_description_1",
      "label": "Video description",
      "default": "Love this product! Perfect for everyday use."
    },
    {
      "type": "product",
      "id": "product_1",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 2"
    },
    {
      "type": "checkbox",
      "id": "video_2_enabled",
      "label": "Enable video 2",
      "default": true
    },
    {
      "type": "url",
      "id": "video_2",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_2",
      "label": "KOL name",
      "default": "Mike Chen"
    },
    {
      "type": "textarea",
      "id": "video_description_2",
      "label": "Video description",
      "default": "Amazing quality and great value!"
    },
    {
      "type": "product",
      "id": "product_2",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 3"
    },
    {
      "type": "checkbox",
      "id": "video_3_enabled",
      "label": "Enable video 3",
      "default": true
    },
    {
      "type": "url",
      "id": "video_3",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_3",
      "label": "KOL name",
      "default": "Emma Davis"
    },
    {
      "type": "textarea",
      "id": "video_description_3",
      "label": "Video description",
      "default": "Highly recommend this to everyone!"
    },
    {
      "type": "product",
      "id": "product_3",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 4"
    },
    {
      "type": "checkbox",
      "id": "video_4_enabled",
      "label": "Enable video 4",
      "default": true
    },
    {
      "type": "url",
      "id": "video_4",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_4",
      "label": "KOL name",
      "default": "Alex Kim"
    },
    {
      "type": "textarea",
      "id": "video_description_4",
      "label": "Video description",
      "default": "Best purchase I've made this year!"
    },
    {
      "type": "product",
      "id": "product_4",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 5"
    },
    {
      "type": "checkbox",
      "id": "video_5_enabled",
      "label": "Enable video 5",
      "default": true
    },
    {
      "type": "url",
      "id": "video_5",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_5",
      "label": "KOL name",
      "default": "Lisa Wang"
    },
    {
      "type": "textarea",
      "id": "video_description_5",
      "label": "Video description",
      "default": "Exceeded my expectations completely!"
    },
    {
      "type": "product",
      "id": "product_5",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 6"
    },
    {
      "type": "checkbox",
      "id": "video_6_enabled",
      "label": "Enable video 6",
      "default": false
    },
    {
      "type": "url",
      "id": "video_6",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_6",
      "label": "KOL name"
    },
    {
      "type": "textarea",
      "id": "video_description_6",
      "label": "Video description"
    },
    {
      "type": "product",
      "id": "product_6",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 7"
    },
    {
      "type": "checkbox",
      "id": "video_7_enabled",
      "label": "Enable video 7",
      "default": false
    },
    {
      "type": "url",
      "id": "video_7",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_7",
      "label": "KOL name"
    },
    {
      "type": "textarea",
      "id": "video_description_7",
      "label": "Video description"
    },
    {
      "type": "product",
      "id": "product_7",
      "label": "Featured product"
    },
    {
      "type": "header",
      "content": "Video 8"
    },
    {
      "type": "checkbox",
      "id": "video_8_enabled",
      "label": "Enable video 8",
      "default": false
    },
    {
      "type": "url",
      "id": "video_8",
      "label": "Video file URL"
    },
    {
      "type": "text",
      "id": "kol_name_8",
      "label": "KOL name"
    },
    {
      "type": "textarea",
      "id": "video_description_8",
      "label": "Video description"
    },
    {
      "type": "product",
      "id": "product_8",
      "label": "Featured product"
    }
  ],
  "blocks": [],
  "presets": [
    {
      "name": "KOL Video Slider"
    }
  ]
}