This commit is contained in:
2026-02-01 19:04:54 +08:00
parent db120ceb14
commit 70fad15366
2 changed files with 11 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
<title>RC707的工具箱</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C2H4BGZJBD"></script>
<script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

View File

@@ -4,7 +4,7 @@
<h2 class="hero-title">
今天是{{ `${new Date().getFullYear()}${new Date().getMonth() + 1}${new Date().getDate()}` }}
</h2>
<p class="hero-subtitle">凭君莫话封侯事一将功成万骨枯</p>
<p id="jinrishici-sentence" class="hero-subtitle"></p>
</div>
<div class="tools-grid">
<router-link
@@ -24,7 +24,7 @@
</template>
<script setup>
import { ref } from 'vue'
import {onMounted, ref} from 'vue'
const tools = ref([
{
@@ -63,6 +63,14 @@ const tools = ref([
description: '颜色格式转换'
}
])
onMounted(() => {
let words_script = document.createElement('script');
words_script.charset = "utf-8";
words_script.src= "https://sdk.jinrishici.com/v2/browser/jinrishici.js";
document.body.appendChild(words_script);
})
</script>
<style scoped>