|
@@ -1,5 +1,8 @@
|
|
|
<template>
|
|
|
- <div @click="handleClick">点击我</div>
|
|
|
+ 谷歌埋点Demo - vue
|
|
|
+ <br>
|
|
|
+ <strong>埋点统计数据会有延迟,请耐心等待</strong>
|
|
|
+ <button @click="handleClick">点击我</button>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -77,6 +80,16 @@ onUnmounted(() => {
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
text-align: center;
|
|
|
color: #2c3e50;
|
|
|
- margin-top: 60px;
|
|
|
+ text-align: left;
|
|
|
}
|
|
|
+
|
|
|
+button {
|
|
|
+ width: 100px;
|
|
|
+ height: 30px;
|
|
|
+ background-color: #4CAF50;
|
|
|
+ color: white;
|
|
|
+ border: none;
|
|
|
+ border-radius: 5px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
</style>
|