123456789101112131415161718192021 |
- <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>
|