diff --git a/packages/apps/vueapp/package.json b/packages/apps/vueapp/package.json index 2c654c4..9edddda 100644 --- a/packages/apps/vueapp/package.json +++ b/packages/apps/vueapp/package.json @@ -4,8 +4,10 @@ "version": "0.0.0", "scripts": { "dev": "vite", + "dev:clean":"vite --force", "build": "vite build", - "preview": "vite preview" + "preview": "vite preview", + "go":"pnpm voerkai18n extract && pnpm voerkai18n compile && vite" }, "dependencies": { "@voerkai18n/cli": "workspace:^1.0.11", diff --git a/packages/apps/vueapp/src/App.vue b/packages/apps/vueapp/src/App.vue index d307d1f..7c9d3f2 100644 --- a/packages/apps/vueapp/src/App.vue +++ b/packages/apps/vueapp/src/App.vue @@ -25,6 +25,7 @@ export default { data() { return { language: this.i18n.activeLanguage, + tabIndex:0 } }, watch: { @@ -41,21 +42,32 @@ export default { @@ -65,8 +77,50 @@ export default { font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - text-align: center; - color: #2c3e50; - margin-top: 60px; + color: #2c3e50; + margin-top:80px; +} +.navbar{ + position: fixed; + margin:0; + top:0; + left:0; + width: 100%; + height: 48px; + background: #298df1; + padding: 12px; + color:white; + text-align: left ; +} +.navbar>.menu{ + float:right; + top:0; + margin:0px; + padding-right:20px; +} + +.navbar>.menu>.menuitem{ + padding:8px; + margin:8px; + cursor:pointer; +} +.tabs{ + width:100%; + padding: 8px; + position: relative; + display: flex; + align-items: flex-start; + flex-direction: row; + +} +.tabs > .tab{ + position: relative; + padding: 8px; + background: #f3f3f3; + min-height: 500px; + margin:4px; + color:rgb(4, 123, 202); + flex:1; + border-radius: 8px; } diff --git a/packages/apps/vueapp/src/components/china.vue b/packages/apps/vueapp/src/components/china.vue index 244be3a..7da5aae 100644 --- a/packages/apps/vueapp/src/components/china.vue +++ b/packages/apps/vueapp/src/components/china.vue @@ -10,7 +10,7 @@ const count = ref(0)