12345678910111213141516171819202122232425 |
- <template>
- <div class="about">
- <h1>This is an about page{{ c.count }}{{ c.doubleCount }}</h1>
- <el-button
- @click="c.increment"
- >点击
- </el-button
- >
- </div>
- </template>
- <script setup lang="ts">
- import {useCounterStore} from '@/stores/counter'
- const c = useCounterStore()
- </script>
- <style>
- @media (min-width: 1024px) {
- .about {
- min-height: 100vh;
- display: flex;
- align-items: center;
- }
- }
- </style>
|