diff --git a/components.d.ts b/components.d.ts
index fef4f83..6a2a88a 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -22,9 +22,11 @@ declare module 'vue' {
ElInput: typeof import('element-plus/es')['ElInput']
ElInputOtp: typeof import('element-plus/es')['ElInputOtp']
ElPopover: typeof import('element-plus/es')['ElPopover']
+ ElTooltip: typeof import('element-plus/es')['ElTooltip']
+ GameList: typeof import('./src/components/baseLayouts/GameList.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
- UserBar: typeof import('./src/components/User/UserBar.vue')['default']
+ UserBar: typeof import('./src/components/baseLayouts/UserBar.vue')['default']
}
}
@@ -40,7 +42,9 @@ declare global {
const ElInput: typeof import('element-plus/es')['ElInput']
const ElInputOtp: typeof import('element-plus/es')['ElInputOtp']
const ElPopover: typeof import('element-plus/es')['ElPopover']
+ const ElTooltip: typeof import('element-plus/es')['ElTooltip']
+ const GameList: typeof import('./src/components/baseLayouts/GameList.vue')['default']
const RouterLink: typeof import('vue-router')['RouterLink']
const RouterView: typeof import('vue-router')['RouterView']
- const UserBar: typeof import('./src/components/User/UserBar.vue')['default']
+ const UserBar: typeof import('./src/components/baseLayouts/UserBar.vue')['default']
}
\ No newline at end of file
diff --git a/src/assets/style/base.css b/src/assets/style/base.css
index 0e2948b..ad83b4c 100644
--- a/src/assets/style/base.css
+++ b/src/assets/style/base.css
@@ -2,4 +2,52 @@
*::before,
*::after {
box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+html,
+body {
+ height: 100%;
+ width: 100%;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
+ sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ line-height: 1.5;
+ color: #333;
+ background-color: #fff;
+}
+
+#app {
+ height: 100%;
+}
+
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
+ul,
+ol {
+ list-style: none;
+}
+
+img {
+ max-width: 100%;
+ height: auto;
+ display: block;
+}
+
+button {
+ cursor: pointer;
+ border: none;
+ background: none;
+ font: inherit;
+ color: inherit;
+}
+
+input {
+ font: inherit;
+ color: inherit;
}
diff --git a/src/components/baseLayouts/GameList.vue b/src/components/baseLayouts/GameList.vue
new file mode 100644
index 0000000..cb39991
--- /dev/null
+++ b/src/components/baseLayouts/GameList.vue
@@ -0,0 +1,199 @@
+
+ {{ activeGame.description }} {{ activeGame.gameplay }} 请选择一个游戏{{ activeGame.name }}
+ 玩法介绍
+