-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Pikachu</title>
<link rel="stylesheet" href="./render/css/flat-ui.min.css">
<link rel="stylesheet" href="./render/css/main.css">
</head>
<body id="app">
<div class="loading-mask" v-if="appLoading || showMask">
<span class="fui-gear" v-if="appLoading"></span>
</div>
<div class="app-tip-bar" v-bind:class="{'tip-show': appShowTip, 'error-tip-bar': appShowTipError}">
<p class="text-warning">{{appTipMessage}}</p>
</div>
<div class="title-bar">
<span class="logo"></span>
<span class="app-title-name">{{appName}}</span>
<span class="fui-cross-circle fr" title="关闭" v-on:click="hideApp()"></span>
</div>
<div class="app-menu">
<span v-on:click="openMenu(0, $event)">Project</span>
<span v-on:click="openMenu(1, $event)">Edit</span>
<span v-on:click="openMenu(2, $event)">Tools</span>
<span v-on:click="openMenu(3, $event)">Window</span>
<span v-on:click="openMenu(4, $event)">Setting</span>
<span v-on:click="openMenu(5, $event)">Help</span>
</div>
<div class="app-wrap">
<router-view></router-view>
</div>
<script src="./render/js/vue.min.js"></script>
<script src="./render/js/vue-router.min.js"></script>
<script>
(function () {
var config = require('./config');
window.appRoute = require('./render/js/app').start(config);
}());
</script>
</body>
</html>