init
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<title>RC707的工具箱</title>
|
<title>RC707的工具箱</title>
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C2H4BGZJBD"></script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C2H4BGZJBD"></script>
|
||||||
<script>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "toolbox",
|
"name": "toolbox",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A Vue-based toolbox application",
|
"description": "A Vue-based toolbox application",
|
||||||
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<h2 class="hero-title">
|
<h2 class="hero-title">
|
||||||
今天是{{ `${new Date().getFullYear()}年${new Date().getMonth() + 1}月${new Date().getDate()}日` }}
|
今天是{{ `${new Date().getFullYear()}年${new Date().getMonth() + 1}月${new Date().getDate()}日` }}
|
||||||
</h2>
|
</h2>
|
||||||
<p class="hero-subtitle">凭君莫话封侯事,一将功成万骨枯。</p>
|
<p id="jinrishici-sentence" class="hero-subtitle"></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="tools-grid">
|
<div class="tools-grid">
|
||||||
<router-link
|
<router-link
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from 'vue'
|
import {onMounted, ref} from 'vue'
|
||||||
|
|
||||||
const tools = ref([
|
const tools = ref([
|
||||||
{
|
{
|
||||||
@@ -63,6 +63,14 @@ const tools = ref([
|
|||||||
description: '颜色格式转换'
|
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>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
Reference in New Issue
Block a user