-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 2.47 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
42
43
44
45
46
47
48
49
<html>
<header>
<title>OpenCC</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="resources.js"></script>
<script src="main.js"></script>
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<script src="https://unpkg.com/[email protected]/dist/vue.min.js"></script>
<script src="https://unpkg.com/[email protected]/lib/index.js"></script>
</header>
<body>
<div id="app" style="font-family: Sans-serif !important">
<div style="margin: 30px">
<h1>OpenCC</h1>
</div>
<div style="margin: 30px">
<el-row :gutter="20">
<el-col :span="12">
<div class="grid-content bg-purple">
<div style="padding-top: 30px; padding-bottom: 30px">
<el-radio-group v-model="src_locale" @change="change">
<el-radio label="cn">大陆简体</el-radio>
<el-radio label="hk">香港繁體</el-radio>
<el-radio label="tw">臺灣正體</el-radio>
<el-radio label="jp">日本新字體</el-radio>
</el-radio-group>
</div>
<el-input type="textarea" v-model="src_text" :rows="20" @input="change"></el-input>
</div>
</el-col>
<el-col :span="12">
<div class="grid-content bg-purple">
<div style="padding-top: 30px; padding-bottom: 30px">
<el-radio-group v-model="dst_locale" @change="change">
<el-radio label="cn">大陆简体</el-radio>
<el-radio label="hk">香港繁體</el-radio>
<el-radio label="tw">臺灣正體</el-radio>
<el-radio label="jp">日本新字體</el-radio>
</el-radio-group>
</div>
<el-input type="textarea" v-model="dst_text" :rows="20"></el-input>
</div>
</el-col>
</el-row>
</div>
</div>
<script src="ui.js"></script>
</body>
</html>