Commit fb413c775b63f23ca06e7fc2faf2c55d786ec9d7

Authored by 王家文
1 parent c66a110d
Exists in master

【工具】GM工具

src/App.vue
1   -
2 1 <template>
3   - <nav class="navbar navbar-expand-sm bg-dark navbar-dark">
4   - <!-- Brand -->
  2 +
  3 + <nav class="navbar navbar-expand-sm bg-primary navbar-dark">
5 4 <a class="navbar-brand" href="#">梦幻合合合</a>
6 5  
7   - <!-- Links -->
8 6 <ul class="navbar-nav">
9   - <!-- Dropdown -->
10   - <li class="nav-item dropdown">
11   - <a class="nav-link dropdown-toggle" href="#" id="navbardrop" data-bs-toggle="dropdown">
12   - 服务器选择
13   - </a>
14   - <div class="dropdown-menu">
15   - <a class="dropdown-item" href="#">Link 1</a>
16   - <a class="dropdown-item" href="#">Link 2</a>
17   - <a class="dropdown-item" href="#">Link 3</a>
18   - </div>
19   - </li>
20   -
21 7 <li class="nav-item">
22 8 <a class="nav-link" href="#">玩家修改</a>
23 9 </li>
24 10 <li class="nav-item">
25   - <a class="nav-link" href="#">玩家查询</a>
  11 + <a class="nav-link" href="#/about">玩家查询</a>
26 12 </li>
27 13  
28 14 </ul>
... ... @@ -33,7 +19,7 @@
33 19  
34 20 <script setup>
35 21 import { ref, computed } from 'vue'
36   -import Home from './components/Home.vue'
  22 +import Home from './components/PlayerEdit.vue'
37 23 import About from './components/About.vue'
38 24 import NotFound from './components/NotFound.vue'
39 25 const routes = {
... ...
src/components/PlayerEdit.vue 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +<template>
  2 +
  3 +
  4 + <h1>PlayerEdit</h1>
  5 +</template>
0 6 \ No newline at end of file
... ...
src/index.css
... ... @@ -4,5 +4,5 @@
4 4 -moz-osx-font-smoothing: grayscale;
5 5 text-align: center;
6 6 color: #2c3e50;
7   - margin-top: 60px;
  7 + margin-top: 10px;
8 8 }
... ...