zz-shopify-components 0.25.1-beta.5 → 0.25.1-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -217,6 +217,12 @@
|
|
|
217
217
|
</style>
|
|
218
218
|
|
|
219
219
|
<div
|
|
220
|
+
{% if block.settings.module_id != blank %}
|
|
221
|
+
data-track-zz-block="{{ block.settings.module_id }}"
|
|
222
|
+
{% endif %}
|
|
223
|
+
{% if block.settings.is_exposure != false %}
|
|
224
|
+
data-track-zz-exposure="true"
|
|
225
|
+
{% endif %}
|
|
220
226
|
class='zz-video-swiper-preview zz-video-swiper-preview-{{ block.id }}'
|
|
221
227
|
>
|
|
222
228
|
<div class='swiper-wrapper'>
|
|
@@ -552,7 +558,24 @@
|
|
|
552
558
|
{ "value": "bottom", "label": "底部" },
|
|
553
559
|
],
|
|
554
560
|
"default": "bottom",
|
|
555
|
-
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"type": "header",
|
|
564
|
+
"content": "统计相关"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"type": "text",
|
|
568
|
+
"id": "module_id",
|
|
569
|
+
"label": "唯一业务id",
|
|
570
|
+
"info": "需要唯一不要与其他模块重复,用户定位、埋点统计、代码隐藏控制等"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"type": "checkbox",
|
|
574
|
+
"id": "is_exposure",
|
|
575
|
+
"label": "是否曝光统计",
|
|
576
|
+
"default": false,
|
|
577
|
+
"info": "勾选后会对Block模块进行曝光统计埋点, 必须填写唯一业务id"
|
|
578
|
+
},
|
|
556
579
|
],
|
|
557
580
|
"blocks": [
|
|
558
581
|
{
|