| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <template>
- <div id="app">
- <div class="view-container">
- <AppHeader></AppHeader>
- <router-view />
- </div>
-
- </div>
- </template>
- <script lang="ts">
- import AppHeader from '@/components/AppHeader.vue';
- export default {
- name: 'app',
- components: {
- AppHeader,
- },
- data() {
- return {
- isGray: false,
- };
- },
- created() {
-
- },
- }
- </script>
- <style>
- .view-container{
- position: relative;
- margin: 0 auto;
- width: 100%;
- max-width: 1200px;
- }
- .header-box {
- display: flex;
- justify-content: center;
- align-items: center;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- background: #fff;
- border-bottom: 1px solid #f1f1f1;
- color: #909090;
- height: 5rem;
- z-index: 250;
- }
- .header-item {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- padding: 0 80px;
- }
- nav a {
- font-weight: bold;
- color: #515767;
- }
- nav a.route-active {
- color: #1e80ff;
- }
- .header-item i {
- font-size: 30px;
- margin-bottom: 5px;
- }
- </style>
|