init
This commit is contained in:
@@ -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