wb-table/index.html

128 lines
4.3 KiB
HTML

<!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">
<title>五笔输入法86版</title>
<meta name="keywords" content="五笔输入法86版">
<meta name="description" content="五笔输入法86版">
<link href="//unpkg.yutent.top/@bytedo/wcui/dist/css/reset-basic.css" rel="stylesheet">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="app flex column" anot="app">
<header class="topbar flex ac noselect">
<div class="wrapper flex asc">
<a class="logo">五笔输入法<span>86版</span></a>
<nav class="navs flex">
<a class="nav active">首页</a>
<a class="nav">简码表</a>
<a class="nav">打字练习</a>
<a class="nav" href="./about.html">关于</a>
</nav>
</div>
</header>
<main class="main flex ac">
<div class="wrapper flex column">
<header class="table-info flex alc">
现有单字<i>{{single}}</i>个, 词组<i>{{words}}</i>个, 异形字<i>{{dy}}</i>个 !
<wc-link class="download" type="primary" underline @click="openDownloadPanel">下载词库</wc-link>
</header>
<div class="search">
<section class="field flex alc">
<wc-input placeholder="输入汉字或五笔编码查询" :duplex="filter.text" @submit="search"></wc-input>
</section>
<section class="field flex alc">
<wc-radio-group :duplex="filter.table" @change="search">
<wc-radio value="86">86版</wc-radio>
<wc-radio value="18030" type="danger">18030版(86修正版)</wc-radio>
</wc-radio-group>
</section>
<section class="field result">{{result}}</section>
</div>
<div class="panel">
<div class="form">
<wc-button class="custom-file" icon="plus">
<input type="file" @change="fileChange">
上传个人词库
</wc-button>
<span class="tips">(仅需要中文即可, 程序会自动生成五笔编码, 词组一行一个)</span>
</div>
<div class="preview">{{preview}}</div>
</div>
</div>
</main>
<footer class="footer flex ac">
<div class="wrapper flex asc">
<span>&copy;2022, Yutent™.</span>
<span>Power by JavaScript</span>
</div>
</footer>
<wc-layer ref="dl" title="下载选项" mask mask-close>
<div class="download-layer">
<section class="field flex">
<span class="label">词库选择</span>
<wc-checkbox-group :duplex="dlOpt.tables">
<wc-checkbox readonly value="table">单字库</wc-checkbox>
<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>
<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>
</div>
</wc-layer>
</div>
<script type="module" src="./js/index.js"></script>
</body>
</html>
五笔词库生成器
JavaScript 53.5%
Vue 45.1%
HTML 1.4%