修改各页面标题

master
叶志超 2021-11-16 15:51:30 +08:00
parent 8fe166dfb7
commit 1f596c6ed3
5 changed files with 21 additions and 21 deletions

View File

@ -1,12 +1,8 @@
# Vite Electron Typescript Template
`vite 2` `vue 3` `electron 12`
## How to use ## How to use
clone the repo via git and install dependencies: clone the repo via git and install dependencies:
```shell ```shell
git clone --depth 1 --single-branch https://github.com/hocili/vite-electron-typescript-template.git your-project-name git clone https://github.com/651778286/gnss-tool-kit.git
cd your-project-name cd gnss-tool-kit
yarn yarn
``` ```

View File

@ -1,6 +1,6 @@
<template> <template>
<full-screen-container> <full-screen-container>
<TheHeader /> <TheHeader title="卫星数据监控平台" />
<div class="main-content flex flex-1 flex-col"> <div class="main-content flex flex-1 flex-col">
<DigitalFlopContainer /> <DigitalFlopContainer />

View File

@ -3,11 +3,15 @@
<Decoration8 class="w-1/4 h-16" /> <Decoration8 class="w-1/4 h-16" />
<Decoration5 class="w-2/5 h-16 m-12" /> <Decoration5 class="w-2/5 h-16 m-12" />
<Decoration8 class="w-1/4 h-16" :reverse="true" /> <Decoration8 class="w-1/4 h-16" :reverse="true" />
<div class="absolute left-1/2 transform -translate-x-2/4 text-3xl font-bold top-8 text-white">卫星数据监控平台</div> <div class="absolute left-1/2 transform -translate-x-2/4 text-3xl font-bold top-8 text-white">{{ title }}</div>
</div> </div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import Decoration5 from './Decoration5.vue' import Decoration5 from './Decoration5.vue'
import Decoration8 from './Decoration8.vue' import Decoration8 from './Decoration8.vue'
defineProps({
title: String
})
</script> </script>

View File

@ -1,6 +1,6 @@
<template> <template>
<full-screen-container> <full-screen-container>
<TheHeader /> <TheHeader title="卫星状态监控平台" />
<div class="main-content flex-1 grid grid-cols-2 grid-rows-2"> <div class="main-content flex-1 grid grid-cols-2 grid-rows-2">
<div> <div>

View File

@ -1,20 +1,20 @@
<template> <template>
<full-screen-container> <full-screen-container>
<TheHeader /> <TheHeader title="卫星信号监控平台" />
<div class="main-content flex-1 grid grid-cols-2 grid-rows-2"> <div class="main-content flex-1 grid grid-cols-2 grid-rows-2">
<div> <div>
<SNRView title="北斗" /> <SNRView title="北斗" />
</div> </div>
<div> <div>
<SNRView title="GPS" /> <SNRView title="GPS" />
</div> </div>
<div> <div>
<SNRView title="格洛纳斯" /> <SNRView title="格洛纳斯" />
</div> </div>
<div> <div>
<SNRView title="伽利略" /> <SNRView title="伽利略" />
</div> </div>
</div> </div>
</full-screen-container> </full-screen-container>
</template> </template>