浏览代码

feat: 更新曝光埋点

zhangyuhan 5 天之前
父节点
当前提交
c9d21efb52

+ 1 - 0
apps/bigmember_pc/src/components/common/ContentLayout.vue

@@ -13,6 +13,7 @@
               v-for="(item, index) in adList"
               :key="index"
               :data-exposure="'工作台内详情页-右侧广告位' + (item.s_remark || '')"
+              data-exposure-loop
             >
               <a
                 :href="item.s_link"

+ 1 - 1
apps/jy-pc/src/components/layout/ContentLayOut.vue

@@ -7,7 +7,7 @@
       <slot name="right">
         <slot name="right-top"></slot>
         <div class="ad-list">
-          <div class="ad-item-container" v-for="item in adList" :key="item.id" :data-exposure="'工作台内其他详情页-右侧广告位' + (item.s_remark || '')">
+          <div class="ad-item-container" v-for="item in adList" :key="item.id" data-exposure-loop :data-exposure="'工作台内其他详情页-右侧广告位' + (item.s_remark || '')">
             <a :href="item.s_link" target="_blank" :id="item.id">
               <img :src="item.s_pic" />
             </a>