wb-table/index.html

141 lines
4.9 KiB
HTML
Raw Normal View History

2022-03-11 00:00:19 +08:00
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
2022-03-13 01:27:09 +08:00
<title>五笔输入法86版</title>
<meta name="keywords" content="五笔输入法86版">
<meta name="description" content="五笔输入法86版">
2022-03-11 00:00:19 +08:00
<link href="//unpkg.yutent.top/@bytedo/wcui/dist/css/reset-basic.css" rel="stylesheet">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
2022-03-11 00:39:09 +08:00
2022-03-11 12:13:08 +08:00
<div class="app flex column" anot="app">
2022-03-11 00:39:09 +08:00
<header class="topbar flex ac noselect">
<div class="wrapper flex asc">
2022-03-13 01:27:09 +08:00
<a class="logo">五笔输入法<span>86版</span></a>
2022-03-11 00:39:09 +08:00
<nav class="navs flex">
<a class="nav active">首页</a>
<a class="nav">简码表</a>
<a class="nav">打字练习</a>
2022-03-13 01:23:31 +08:00
<a class="nav" href="./about.html">关于</a>
2022-03-11 00:39:09 +08:00
</nav>
</div>
</header>
<main class="main flex ac">
<div class="wrapper flex column">
<header class="table-info flex alc">
2022-03-20 21:30:49 +08:00
现有单字GB2312(<b>{{gb2312}}</b>)个 + GBK(<b>{{gbk - gb2312}}</b>)个、异形字<b>{{dy}}</b>个、词组<b>{{words}}</b>个、emoji<b>{{emoji}}</b>个 !
2022-03-14 19:03:17 +08:00
<wc-link class="download" type="primary" underline @click="openDownloadPanel">下载词库</wc-link>
2022-03-11 00:39:09 +08:00
</header>
2022-03-11 12:13:08 +08:00
<div class="search">
<section class="field flex alc">
2022-03-11 18:58:43 +08:00
<wc-input placeholder="输入汉字或五笔编码查询" :duplex="filter.text" @submit="search"></wc-input>
2022-03-11 12:13:08 +08:00
</section>
<section class="field flex alc">
2022-03-15 20:00:33 +08:00
<wc-radio-group :duplex="filter.version" @change="search">
2022-03-11 12:13:08 +08:00
<wc-radio value="86">86版</wc-radio>
2022-03-16 01:43:17 +08:00
<wc-radio value="86f" type="danger">86修正版</wc-radio>
2022-03-11 12:13:08 +08:00
</wc-radio-group>
</section>
2022-03-14 19:03:17 +08:00
<section class="field result">{{result}}</section>
2022-03-11 12:13:08 +08:00
</div>
2022-03-15 20:00:33 +08:00
<div class="panel flex column">
2022-03-14 19:03:17 +08:00
<div class="form">
<wc-button class="custom-file" icon="plus">
<input type="file" @change="fileChange">
上传个人词库
</wc-button>
<span class="tips">(仅需要中文即可, 程序会自动生成五笔编码, 词组一行一个)</span>
</div>
2022-03-15 20:00:33 +08:00
<wc-scroll class="scroll-view">
<div class="preview">{{preview}}</div>
</wc-scroll>
2022-03-11 12:13:08 +08:00
</div>
2022-03-11 00:39:09 +08:00
</div>
</main>
<footer class="footer flex ac">
<div class="wrapper flex asc">
<span>&copy;2022, Yutent™.</span>
2022-03-11 18:58:43 +08:00
<span>Power by JavaScript</span>
2022-03-11 00:39:09 +08:00
</div>
</footer>
2022-03-20 21:30:49 +08:00
<a href="//github.com/yutent/wb-table" class="github" target="__target">GitHub</a>
2022-03-14 00:16:51 +08:00
<wc-layer ref="dl" title="下载选项" mask mask-close>
<div class="download-layer">
2022-03-15 20:00:33 +08:00
<section class="field flex">
<span class="label">编码版本</span>
<wc-radio-group :duplex="dlOpt.version" @change="search">
<wc-radio value="86">86版</wc-radio>
2022-03-16 01:43:17 +08:00
<wc-radio value="86f" type="danger">86修正版</wc-radio>
2022-03-15 20:00:33 +08:00
</wc-radio-group>
</section>
2022-03-14 19:03:17 +08:00
2022-03-14 00:16:51 +08:00
<section class="field flex">
<span class="label">词库选择</span>
<wc-checkbox-group :duplex="dlOpt.tables">
2022-03-16 01:43:17 +08:00
<wc-checkbox readonly value="2312">GB2312</wc-checkbox>
<wc-checkbox value="gbk">GBK</wc-checkbox>
2022-03-14 00:16:51 +08:00
<wc-checkbox readonly value="words">词组库</wc-checkbox>
<wc-checkbox readonly value="dy">异形字库</wc-checkbox>
<wc-checkbox value="emoji">emoji</wc-checkbox>
<wc-checkbox value="nethot">网络热词</wc-checkbox>
<wc-checkbox value="tech">计算机术语</wc-checkbox>
<wc-checkbox value="personal" type="info">个人词库(自主上传的)</wc-checkbox>
</wc-checkbox-group>
</section>
2022-03-14 19:03:17 +08:00
<section class="field flex">
<span class="label">词库编码位置</span>
<wc-radio-group :duplex="dlOpt.pos">
<wc-radio value="front">编码前置</wc-radio>
<wc-radio value="back">编码后置</wc-radio>
</wc-radio-group>
<span class="tips">(编码前置时, 自动聚合词组)</span>
</section>
<section class="field flex">
<span class="label">生成反查字库</span>
<wc-switch :duplex="dlOpt.reverse"></wc-switch>
<span class="tips">(输入法支持拼音反查五笔编码时, 请勾选)</span>
</section>
<section class="field flex">
<span class="label">是否生成拼音</span>
<wc-switch :duplex="dlOpt.pinyin"></wc-switch>
<span class="tips">(输入法支持临时拼音时, 请勾选)</span>
</section>
<section class="field flex asc ctrol">
<wc-button @click="closeDownloadPanel">取消</wc-button>
<wc-button type="primary" @click="download">确认下载</wc-button>
</section>
2022-03-14 00:16:51 +08:00
</div>
</wc-layer>
2022-03-11 00:00:19 +08:00
2022-03-11 00:39:09 +08:00
</div>
2022-03-11 12:13:08 +08:00
<script type="module" src="./js/index.js"></script>
2022-03-11 00:39:09 +08:00
2022-03-11 00:00:19 +08:00
</body>
</html>