diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 1d19666f59fd0f4e8fc8d5a2e8e956adb32186bd..793a80aeb376870cee89e649ab8ec653d0493e78 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -1,3 +1,4 @@ +// 公共样式入口文件 @import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; diff --git a/src/components/animation/VopPlayer.vue b/src/components/animation/VopPlayer.vue deleted file mode 100644 index 702cf6aa3c311c419f1a1402f035f4ec31a748de..0000000000000000000000000000000000000000 --- a/src/components/animation/VopPlayer.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/layout/MainLayout.vue b/src/components/layout/MainLayout.vue new file mode 100644 index 0000000000000000000000000000000000000000..b86bb8328d637b2b215b841a187e38270791472a --- /dev/null +++ b/src/components/layout/MainLayout.vue @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/src/modules/animation/Animation.vue b/src/modules/animation/Animation.vue index acceb3833186e329c2adfa1d85077875717e0cef..c794e3d4ee69a1624fe4ebca1f65e0a4f4d890ae 100644 --- a/src/modules/animation/Animation.vue +++ b/src/modules/animation/Animation.vue @@ -64,7 +64,7 @@ const handleVop = () => { }) .on("frame", (frame: any, timestamp: any) => { // frame: 当前帧(从0开始) timestamp: (播放时间戳) - // console.log(frame, "-------", timestamp); + console.log(frame, "-------", timestamp); if (frame === 50) { // do something } diff --git a/src/modules/layout/Layout.vue b/src/modules/layout/Layout.vue new file mode 100644 index 0000000000000000000000000000000000000000..50d3506bb5f2ec44eb1f4988ec0d79e920f0dbf4 --- /dev/null +++ b/src/modules/layout/Layout.vue @@ -0,0 +1,82 @@ + + + + + \ No newline at end of file diff --git a/src/modules/layout/index.html b/src/modules/layout/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f7aeb99e1c7dfb4efcc9bd1cf8ad04eb2d4861a6 --- /dev/null +++ b/src/modules/layout/index.html @@ -0,0 +1,13 @@ + + + + + + + layout + + +
+ + + diff --git a/src/modules/layout/layout.ts b/src/modules/layout/layout.ts new file mode 100644 index 0000000000000000000000000000000000000000..10d514eda4cea101a8b914da9df7c9245ebed475 --- /dev/null +++ b/src/modules/layout/layout.ts @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import Layout from './Layout.vue' +import '@/assets/styles/index.scss' + +createApp(Layout).mount('#layout') diff --git a/tailwind.config.js b/tailwind.config.js index c24095543161da3bdce82b93ab5f6f76eb739cb6..07c053cf4dafb035c616a1035ecbc3be32cdb760 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -14,6 +14,7 @@ module.exports = { inset: { }, textColor: { + 'aaa': '#aaa', }, backgroundColor: { },