Authored by rqq

埋点phtml

... ... @@ -2,7 +2,7 @@
<div class="product-category yoho-page">
{{# content}}
<a class="allproduct buriedpoint" href="{{allproduct}}"data-bp-id="page_product-category_1" >
<a class="allproduct buriedpoint" href="{{allproduct}}"data-bp-id="page_product_category_1" >
全部商品
<span class="arrow-icon iconfont">
&#xe614;
... ... @@ -16,7 +16,7 @@
<div class="content">
<ul class="primary-level">
{{# class}}
<li class="p-level-item buriedpoint" data-bp-id="product-primarylevel_{{name}}_1">{{name}}
<li class="p-level-item buriedpoint" data-bp-id="product_primarylevel_{{name}}_1">{{name}}
<div class="primary-level-trilangle hide"></div>
</li>
{{/ class}}
... ... @@ -25,7 +25,7 @@
{{# category}}
<ul class="sub-level">
{{# subcategory}}
<li data-bp-id="product-sublevel_{{category_name}}_0" class="buriedpoint">
<li data-bp-id="product_sublevel_{{category_name}}_0" class="buriedpoint">
<a href={{url}}>
{{category_name}}
</a>
... ...
... ... @@ -29,17 +29,17 @@
{{#if collect}}
<div class="alreadyCollect" id="collect"></div>
{{else}}
<div class="notCollect buriedpoint" id="collect" data-bp-id="shop_collect_one_1"></div>
<div class="notCollect buriedpoint" id="collect" data-bp-id="shop_branner_collect_1"></div>
{{/if}}
</div>
</div>
</div>
<ul id="nav" class="nav">
<li class="active color buriedpoint" tab="home-page" data-bp-id="shop_nav_one_1">首页</li>
<li tab="new-arrival" data-bp-id="shop_nav_two_1" class="buriedpoint">上新</li>
<li tab="popularity" data-bp-id="shop_nav_three_1" class="buriedpoint">人气</li>
<li data-bp-id="shop_nav_four_1" class="buriedpoint">
<li class="active color buriedpoint" tab="home-page" data-bp-id="shop_nav_index_1">首页</li>
<li tab="new-arrival" data-bp-id="shop_nav_new_1" class="buriedpoint">上新</li>
<li tab="popularity" data-bp-id="shop_nav_populary_1" class="buriedpoint">人气</li>
<li data-bp-id="shop_nav_all_1" class="buriedpoint">
<a href="{{allGoods}}" target="_blank">全部商品</a>
</li>
</ul>
... ... @@ -52,7 +52,7 @@
<div class="multi-browse">
<ul class="swiper-wrapper">
{{#each brandList.list}}
<li class="swiper-slide brand-img buriedpoint" data-bp-id="shop_brandList_{{brandName}}_0">
<li class="swiper-slide brand-img buriedpoint" data-bp-id="shop_brand_{{img}}_0">
<a href="{{url}}">
<img src="{{img}}">
</a>
... ...
... ... @@ -21,7 +21,7 @@
{{/ tags}}
</div>
<div class="good-detail-img">
<a class="good-thumb" href="{{url}}" class="buriedpoint" data-bp-id="shop_good_{{thumb}}">
<a class="good-thumb buriedpoint" href="{{url}}" data-bp-id="shop_good_{{thumb}}_0">
<img class="lazy" data-original="{{thumb}}">
</a>
{{# is_soon_sold_out}}
... ...
... ... @@ -3,7 +3,7 @@
<ul class="swiper-wrapper">
{{#each list}}
{{#if @first}}
<li class="swiper-slide buriedpoint" data-bp-id="shop_bannerarea_one_0">
<li class="swiper-slide buriedpoint" data-bp-id="shop_bannerarea_{{url}}_0">
<a href="{{url}}">
<img src="{{img}}">
</a>
... ...
<ul id="list-nav" class="home-sub-nav list-nav clearfix">
<li data-bp-id="shop_listnav_one_1" class="new active buriedpoint">
<li data-bp-id="shop_listnav_new_1" class="new active buriedpoint">
<a href="javascript:void(0);">
<span class="spanTest">最新</span>
<span class="iconfont cur">&#xe616;</span>
</a>
</li>
<li class="price buriedpoint" data-bp-id="shop_listnav_two_1">
<li class="price buriedpoint" data-bp-id="shop_listnav_price_1">
<a href="javascript:void(0);">
<span class="spanTest">价格</span>
<span class="icon">
... ... @@ -14,7 +14,7 @@
</span>
</a>
</li>
<li class="discount buriedpoint" data-bp-id="shop_listnav_three_1">
<li class="discount buriedpoint" data-bp-id="shop_listnav_discount_1">
<a href="javascript:void(0);">
<span class="spanTest">折扣</span>
<span class="icon">
... ... @@ -23,7 +23,7 @@
</span>
</a>
</li>
<li class="filter buriedpoint" data-bp-id="shop_listnav_four_1">
<li class="filter buriedpoint" data-bp-id="shop_listnav_filter_1">
<a href="javascript:void(0);">
<span class="spanTest">筛选</span>
<span class="iconfont cur">&#xe613;</span>
... ...