-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtranslate.html
More file actions
40 lines (38 loc) · 1.38 KB
/
translate.html
File metadata and controls
40 lines (38 loc) · 1.38 KB
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>丝之歌计时器生成器翻译对照</title>
<link rel="stylesheet" href="http://127.0.0.1:12333/x/static/index.css" />
<script src="http://127.0.0.1:12333/x/static/vue.global.prod.js"></script>
<script src="http://127.0.0.1:12333/x/static/index.full.min.js"></script>
</head>
<body>
<div id="app" style="display: flex; flex-direction: column; align-items: center;">
<el-table :data="tableData" border stripe>
<el-table-column prop="description" label="Description" :width="350"></el-table-column>
<el-table-column prop="translate" label="翻译" :width="250"></el-table-column>
<el-table-column prop="tooltip" label="Tooltip"></el-table-column>
<el-table-column label="Key" :width="310">
<template #default="scope">
<div>{{"{{"}}scope.row.key{{"}}"}}</div>
<div v-if="scope.row.alias">{{"{{"}}scope.row.alias{{"}}"}}</div>
</template>
</el-table-column>
</el-table>
</div>
<script>
const { createApp } = Vue;
const app = createApp({
data() {
return {
tableData: {{.tableData}},
};
},
});
app.use(ElementPlus);
app.mount('#app');
</script>
</body>
</html>