Commit 93ab05b7cc5332cb63992e7a047fffbdcb858814
1 parent
fb413c77
Exists in
master
【工具】GM工具
Showing
1 changed file
with
60 additions
and
3 deletions
Show diff stats
src/components/PlayerEdit.vue
1 | 1 | <template> |
2 | - | |
2 | + <div class="container-fluid mt-1"> | |
3 | + <div class="container-fluid mt-1"> | |
4 | + <div class="row bg-white"> | |
5 | + <div class="col-2 p-3 bg-primary text-white">选择服务器</div> | |
6 | + <div class="col-3 p-3 bg-primary text-white"> | |
7 | + <select v-model="serveradd" name="server"> | |
8 | + <option value="http://localhost:9002/api/gm/action">本机</option> | |
9 | + <option value="http://localhost:9002/api/gm/action">内网测试服</option> | |
10 | + <option value="http://localhost:9002/api/gm/action">审核服</option> | |
11 | + </select> | |
12 | + </div> | |
13 | + <div class="col-2 p-3 bg-info text-white">玩家唯一ID</div> | |
14 | + <div class="col-3 p-3 bg-info text-white"> | |
15 | + <input v-model="puid" placeholder="玩家唯一ID......"> | |
16 | + </div> | |
17 | + </div> | |
18 | + </div> | |
3 | 19 | |
4 | - <h1>PlayerEdit</h1> | |
5 | -</template> | |
6 | 20 | \ No newline at end of file |
21 | + <div class="container-fluid mt-1"> | |
22 | + <div class="row"> | |
23 | + <div class="col-3 card"> | |
24 | + <div class="card-body"> | |
25 | + <div class="d-grid"> | |
26 | + <button type="button" class="btn btn-primary btn-block mt-1">货币添加</button> | |
27 | + </div> | |
28 | + <div class="d-grid"> | |
29 | + <button type="button" class="btn btn-primary btn-block mt-1">货币添加</button> | |
30 | + </div> | |
31 | + <div class="d-grid"> | |
32 | + <button type="button" class="btn btn-primary btn-block mt-1">货币添加</button> | |
33 | + </div> | |
34 | + </div> | |
35 | + </div> | |
36 | + <div class="col-3 p-3 bg-primary text-white">选择服务器</div> | |
37 | + <div class="col-3 p-3 bg-dark text-white"></div> | |
38 | + <div class="col-3 p-3 bg-dark text-white"></div> | |
39 | + </div> | |
40 | + </div> | |
41 | + | |
42 | + | |
43 | + | |
44 | + </div> | |
45 | + <div id="output"> | |
46 | + 选择的网站是: {{ serveradd }} | |
47 | + </div> | |
48 | +</template> | |
49 | + | |
50 | +<script> | |
51 | +export default { | |
52 | + name: 'HelloWorld', | |
53 | + props: { | |
54 | + msg: String | |
55 | + }, | |
56 | + data() { | |
57 | + return { | |
58 | + serveradd: '', | |
59 | + puid: 0, | |
60 | + } | |
61 | + } | |
62 | +} | |
63 | +</script> | ... | ... |