wb-table/index.html

146 lines
5.2 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 wrap">
现有单字GB2312(<b>{{gb2312}}</b>)个 + GBK(<b>{{gbk}}</b>)个、异形字<b>{{dy}}</b>个、词组<b>{{words}}</b>个、网络热词<b>{{nethot}}</b>个、计算机术语<b>{{code}}</b>个、emoji<b>{{emoji}}</b>个!
<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.version" @change="search">
<wc-radio value="86">86版</wc-radio>
<wc-radio value="86f" type="danger">86修正版</wc-radio>
</wc-radio-group>
</section>
<section class="field result" :html="result"></section>
</div>
<div class="panel flex column">
<div class="form">
<wc-button class="custom-file" icon="plus">
<input type="file" @change="fileChange">
上传个人词库
</wc-button>
<span class="tips">(仅需要中文即可, 程序会自动生成五笔编码, 词组一行一个)</span>
</div>
<wc-scroll class="scroll-view">
<div class="preview" :text="preview"></div>
</wc-scroll>
</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>
<a href="//github.com/yutent/wb-table" class="github" target="__target">GitHub</a>
<wc-layer ref="dl" title="下载选项" mask mask-close>
<div class="download-layer">
<section class="field flex">
<span class="label">编码版本</span>
<wc-radio-group :duplex="dlOpt.version" @change="search">
<wc-radio value="86">86版</wc-radio>
<wc-radio value="86f" type="danger">86修正版</wc-radio>
</wc-radio-group>
</section>
<section class="field flex">
<span class="label">词库选择</span>
<wc-checkbox-group :duplex="dlOpt.tables">
<wc-checkbox readonly value="2312">GB2312</wc-checkbox>
<wc-checkbox value="gbk">GBK</wc-checkbox>
<wc-checkbox readonly value="words">词组库</wc-checkbox>
<wc-checkbox value="dy">异形字库</wc-checkbox>
<wc-checkbox value="emoji">emoji</wc-checkbox>
<wc-checkbox value="nethot">网络热词</wc-checkbox>
<wc-checkbox value="code">计算机术语</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" disabled></wc-switch>
<span class="tips">(输入法支持临时拼音时, 请勾选)(功能暂未支持, 多单字词库生成中...)</span>
</section>
<section class="field flex">
<span class="label">总计</span>
<span class="value">{{total | number(0)}} 个</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%