mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2026-02-14 23:31:44 +00:00
广告优化,加入插件版本使用统计
This commit is contained in:
@@ -80,6 +80,9 @@ export default defineComponent({
|
||||
// 单位分钟
|
||||
const diff = (Date.now() - time) / 1000 / 60;
|
||||
isShow.value = diff >= showDuration;
|
||||
if (isShow.value && ads.value.length) {
|
||||
ga(GA_EventName.ShowAd);
|
||||
}
|
||||
}
|
||||
}
|
||||
onUnmounted(() => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div v-if="data" class="banner" :class="ani" @click="onClick" :title="data.tip" :style="getStyle()">
|
||||
<div class="text">
|
||||
<span>
|
||||
<span v-if="data.name">
|
||||
{{ data.name }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user