Merge branch 'master' into gh-pages

This commit is contained in:
theajack 2020-12-10 22:28:25 +08:00
commit fa990aef88
49 changed files with 280 additions and 183 deletions

View File

@ -5,4 +5,6 @@ cnchar.min.js
src_import_version
!.vuepress
docs
vuepress/config.js
vuepress/config.js
**/*.vue
**/*.html

View File

@ -7,7 +7,8 @@ module.exports = {
},
"extends": [
// "standard",
"plugin:vue/essential"
// "plugin:vue",
// "plugin:html"
],
"parserOptions": {
"parser": "babel-eslint",
@ -37,10 +38,6 @@ module.exports = {
"indent": ["error", 4, {
"SwitchCase": 1
}],
"vue/script-indent": ["warn", 4, {
"baseIndent": 1,
"switchCase": 1
}],
"space-infix-ops": ["error", {"int32Hint": false}],
"space-before-function-paren": ["error", {
"anonymous": "always",
@ -66,15 +63,19 @@ module.exports = {
"comma-spacing": "error",
"key-spacing": "error",
"no-undef": "error",
"vue/html-indent": ["error", 4],
"vue/html-quotes": ["error", "single", { "avoidEscape": true }],
// "vue/script-indent": ["warn", 4, {
// "baseIndent": 1,
// "switchCase": 1
// }],
// "vue/html-indent": ["error", 4],
// "vue/html-quotes": ["error", "single", { "avoidEscape": true }],
},
"overrides": [
{
"files": ["*.vue"],
"rules": {
"indent": "off"
}
}
]
// "overrides": [
// {
// "files": ["*.vue"],
// "rules": {
// "indent": "off"
// }
// }
// ]
}

140
README.md
View File

@ -19,7 +19,7 @@
<h3>🚀 功能全面、多端支持的汉字拼音笔画 js 库</h3>
**[English](https://github.com/theajack/cnchar/blob/master/helper/README.en.md) | [在线试用/文档](https://theajack.gitee.io/cnchar) | [备用文档地址](https://theajack.com/cnchar) | [更新日志](https://github.com/theajack/cnchar/blob/master/helper/version.md) | [应用:打字游戏](https://theajack.gitee.io/type/) | [反馈错误/缺漏](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
**[English](https://github.com/theajack/cnchar/blob/master/helper/README.en.md) | [在线试用/文档](https://theajack.gitee.io/cnchar) | [备用文档地址](https://cnchar.js.org) | [更新日志](https://github.com/theajack/cnchar/blob/master/helper/version.md) | [应用:打字游戏](https://theajack.gitee.io/type/) | [反馈错误/缺漏](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
---
@ -29,75 +29,75 @@
<!-- toc -->
- [前言](#%E5%89%8D%E8%A8%80)
- [0.快速使用](#0%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
- [1.功能](#1%E5%8A%9F%E8%83%BD)
- [2.概览](#2%E6%A6%82%E8%A7%88)
- [3.安装](#3%E5%AE%89%E8%A3%85)
* [3.1 使用 npm 安装](#31-%E4%BD%BF%E7%94%A8-npm-%E5%AE%89%E8%A3%85)
* [3.2 cdn 引入](#32-cdn-%E5%BC%95%E5%85%A5)
- [4.使用](#4%E4%BD%BF%E7%94%A8)
* [4.1 webpack浏览器环境(有window对象)](#41-webpack%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83%E6%9C%89window%E5%AF%B9%E8%B1%A1)
* [4.2 nodejs 等非浏览器环境](#42-nodejs-%E7%AD%89%E9%9D%9E%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83)
* [4.3 原生浏览器环境](#43-%E5%8E%9F%E7%94%9F%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83)
- [前言](#前言)
- [0.快速使用](#0快速使用)
- [1.功能](#1功能)
- [2.概览](#2概览)
- [3.安装](#3安装)
- [3.1 使用 npm 安装](#31-使用-npm-安装)
- [3.2 cdn 引入](#32-cdn-引入)
- [4.使用](#4使用)
- [4.1 webpack浏览器环境(有window对象)](#41-webpack浏览器环境有window对象)
- [4.2 nodejs 等非浏览器环境](#42-nodejs-等非浏览器环境)
- [4.3 原生浏览器环境](#43-原生浏览器环境)
- [5.API](#5api)
* [5.1 拼音笔画基础 API: spell & stroke](#51-%E6%8B%BC%E9%9F%B3%E7%AC%94%E7%94%BB%E5%9F%BA%E7%A1%80-api-spell--stroke)
* [5.2 可视化绘制汉字: draw](#52-%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BB%98%E5%88%B6%E6%B1%89%E5%AD%97-draw)
+ [5.2.1 使用](#521-%E4%BD%BF%E7%94%A8)
+ [5.2.2 参数](#522-%E5%8F%82%E6%95%B0)
+ [5.2.3 微信小程序中使用](#523-%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B8%AD%E4%BD%BF%E7%94%A8)
* [5.3 繁体、简体、火星文互转: convert](#53-%E7%B9%81%E4%BD%93%E7%AE%80%E4%BD%93%E7%81%AB%E6%98%9F%E6%96%87%E4%BA%92%E8%BD%AC-convert)
* [5.4 笔画序列推出原汉字: orderToWord](#54-%E7%AC%94%E7%94%BB%E5%BA%8F%E5%88%97%E6%8E%A8%E5%87%BA%E5%8E%9F%E6%B1%89%E5%AD%97-ordertoword)
* [5.5 通过拼音查询原汉字: spellToWord](#55-%E9%80%9A%E8%BF%87%E6%8B%BC%E9%9F%B3%E6%9F%A5%E8%AF%A2%E5%8E%9F%E6%B1%89%E5%AD%97-spelltoword)
* [5.6 通过笔画数查询原汉字: strokeToWord](#56-%E9%80%9A%E8%BF%87%E7%AC%94%E7%94%BB%E6%95%B0%E6%9F%A5%E8%AF%A2%E5%8E%9F%E6%B1%89%E5%AD%97-stroketoword)
* [5.7 成语功能](#57-%E6%88%90%E8%AF%AD%E5%8A%9F%E8%83%BD)
* [5.8 歇后语功能](#58-%E6%AD%87%E5%90%8E%E8%AF%AD%E5%8A%9F%E8%83%BD)
* [5.9 偏旁部首功能](#59-%E5%81%8F%E6%97%81%E9%83%A8%E9%A6%96%E5%8A%9F%E8%83%BD)
* [5.10 汉字、拼音工具方法](#510-%E6%B1%89%E5%AD%97%E6%8B%BC%E9%9F%B3%E5%B7%A5%E5%85%B7%E6%96%B9%E6%B3%95)
+ [5.10.1 查询拼音详细信息: spellInfo](#5101-%E6%9F%A5%E8%AF%A2%E6%8B%BC%E9%9F%B3%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF-spellinfo)
+ [5.10.2 拼音音调操作: transformTone](#5102-%E6%8B%BC%E9%9F%B3%E9%9F%B3%E8%B0%83%E6%93%8D%E4%BD%9C-transformtone)
+ [5.10.3 是否是汉字: isCnChar](#5103-%E6%98%AF%E5%90%A6%E6%98%AF%E6%B1%89%E5%AD%97-iscnchar)
+ [5.10.4 是否是多音字: isPolyWord](#5104-%E6%98%AF%E5%90%A6%E6%98%AF%E5%A4%9A%E9%9F%B3%E5%AD%97-ispolyword)
+ [5.10.5 比较拼音(汉字)大小: compareSpell](#5105-%E6%AF%94%E8%BE%83%E6%8B%BC%E9%9F%B3%E6%B1%89%E5%AD%97%E5%A4%A7%E5%B0%8F-comparespell)
+ [5.10.6 比较汉字笔画数大小: compareStroke](#5106-%E6%AF%94%E8%BE%83%E6%B1%89%E5%AD%97%E7%AC%94%E7%94%BB%E6%95%B0%E5%A4%A7%E5%B0%8F-comparestroke)
+ [5.10.7 根据拼音排序: sortSpell](#5107-%E6%A0%B9%E6%8D%AE%E6%8B%BC%E9%9F%B3%E6%8E%92%E5%BA%8F-sortspell)
+ [5.10.8 根据笔画数排序: sortStroke](#5108-%E6%A0%B9%E6%8D%AE%E7%AC%94%E7%94%BB%E6%95%B0%E6%8E%92%E5%BA%8F-sortstroke)
+ [5.10.9 将数字表示的声调转为拼音声调: shapeSpell](#5109-%E5%B0%86%E6%95%B0%E5%AD%97%E8%A1%A8%E7%A4%BA%E7%9A%84%E5%A3%B0%E8%B0%83%E8%BD%AC%E4%B8%BA%E6%8B%BC%E9%9F%B3%E5%A3%B0%E8%B0%83-shapespell)
* [5.11 自定义数据](#511-%E8%87%AA%E5%AE%9A%E4%B9%89%E6%95%B0%E6%8D%AE)
+ [5.11.1 setSpell](#5111-setspell)
+ [5.11.2 setSpellDefault](#5112-setspelldefault)
+ [5.11.3 setStrokeCount](#5113-setstrokecount)
+ [5.11.4 setPolyPhrase](#5114-setpolyphrase)
+ [5.11.5 setOrder](#5115-setorder)
+ [5.11.6 setRadical](#5116-setradical)
+ [5.11.7 addXhy](#5117-addxhy)
* [5.12 其他 api](#512-%E5%85%B6%E4%BB%96-api)
+ [5.12.1 .use()](#5121-use)
+ [5.12.2 .type](#5122-type)
+ [5.12.3 .check](#5123-check)
+ [5.12.4 .version](#5124-version)
+ [5.12.5 .plugins](#5125-plugins)
- [6.参数介绍](#6%E5%8F%82%E6%95%B0%E4%BB%8B%E7%BB%8D)
* [6.1 spell 参数](#61-spell-%E5%8F%82%E6%95%B0)
* [6.2 stroke 参数](#62-stroke-%E5%8F%82%E6%95%B0)
* [6.3 orderToWord 参数](#63-ordertoword-%E5%8F%82%E6%95%B0)
* [6.4 spellToWord 参数](#64-spelltoword-%E5%8F%82%E6%95%B0)
* [6.5 strokeToWord 参数](#65-stroketoword-%E5%8F%82%E6%95%B0)
* [6.6 idiom 参数](#66-idiom-%E5%8F%82%E6%95%B0)
* [6.7 xhy 参数](#67-xhy-%E5%8F%82%E6%95%B0)
* [6.8 radical 参数](#68-radical-%E5%8F%82%E6%95%B0)
* [6.9 使用实例大全:](#69-%E4%BD%BF%E7%94%A8%E5%AE%9E%E4%BE%8B%E5%A4%A7%E5%85%A8)
+ [6.9.0 安装使用](#690-%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8)
+ [6.9.1 cnchar 基础库功能](#691-cnchar-%E5%9F%BA%E7%A1%80%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.2 cnchar-poly 库功能](#692-cnchar-poly-%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.3 cnchar-order 库功能](#693-cnchar-order-%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.4 cnchar-trad 库功能](#694-cnchar-trad-%E5%BA%93%E5%8A%9F%E8%83%BD)
- [6.9.4.1 convert 字体转换](#6941-convert-%E5%AD%97%E4%BD%93%E8%BD%AC%E6%8D%A2)
- [6.9.4.2 spell 和 stroke 方法](#6942-spell-%E5%92%8C-stroke-%E6%96%B9%E6%B3%95)
+ [6.9.5 cnchar-idiom 库功能](#695-cnchar-idiom-%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.6 cnchar-xhy 库功能](#696-cnchar-xhy-%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.7 cnchar-radical 库功能](#697-cnchar-radical-%E5%BA%93%E5%8A%9F%E8%83%BD)
+ [6.9.8 工具方法](#698-%E5%B7%A5%E5%85%B7%E6%96%B9%E6%B3%95)
- [5.1 拼音笔画基础 API: spell & stroke](#51-拼音笔画基础-api-spell--stroke)
- [5.2 可视化绘制汉字: draw](#52-可视化绘制汉字-draw)
- [5.2.1 使用](#521-使用)
- [5.2.2 参数](#522-参数)
- [5.2.3 微信小程序中使用](#523-微信小程序中使用)
- [5.3 繁体、简体、火星文互转: convert](#53-繁体简体火星文互转-convert)
- [5.4 笔画序列推出原汉字: orderToWord](#54-笔画序列推出原汉字-ordertoword)
- [5.5 通过拼音查询原汉字: spellToWord](#55-通过拼音查询原汉字-spelltoword)
- [5.6 通过笔画数查询原汉字: strokeToWord](#56-通过笔画数查询原汉字-stroketoword)
- [5.7 成语功能](#57-成语功能)
- [5.8 歇后语功能](#58-歇后语功能)
- [5.9 偏旁部首功能](#59-偏旁部首功能)
- [5.10 汉字、拼音工具方法](#510-汉字拼音工具方法)
- [5.10.1 查询拼音详细信息: spellInfo](#5101-查询拼音详细信息-spellinfo)
- [5.10.2 拼音音调操作: transformTone](#5102-拼音音调操作-transformtone)
- [5.10.3 是否是汉字: isCnChar](#5103-是否是汉字-iscnchar)
- [5.10.4 是否是多音字: isPolyWord](#5104-是否是多音字-ispolyword)
- [5.10.5 比较拼音(汉字)大小: compareSpell](#5105-比较拼音汉字大小-comparespell)
- [5.10.6 比较汉字笔画数大小: compareStroke](#5106-比较汉字笔画数大小-comparestroke)
- [5.10.7 根据拼音排序: sortSpell](#5107-根据拼音排序-sortspell)
- [5.10.8 根据笔画数排序: sortStroke](#5108-根据笔画数排序-sortstroke)
- [5.10.9 将数字表示的声调转为拼音声调: shapeSpell](#5109-将数字表示的声调转为拼音声调-shapespell)
- [5.11 自定义数据](#511-自定义数据)
- [5.11.1 setSpell](#5111-setspell)
- [5.11.2 setSpellDefault](#5112-setspelldefault)
- [5.11.3 setStrokeCount](#5113-setstrokecount)
- [5.11.4 setPolyPhrase](#5114-setpolyphrase)
- [5.11.5 setOrder](#5115-setorder)
- [5.11.6 setRadical](#5116-setradical)
- [5.11.7 addXhy](#5117-addxhy)
- [5.12 其他 api](#512-其他-api)
- [5.12.1 .use()](#5121-use)
- [5.12.2 .type](#5122-type)
- [5.12.3 .check](#5123-check)
- [5.12.4 .version](#5124-version)
- [5.12.5 .plugins](#5125-plugins)
- [6.参数介绍](#6参数介绍)
- [6.1 spell 参数](#61-spell-参数)
- [6.2 stroke 参数](#62-stroke-参数)
- [6.3 orderToWord 参数](#63-ordertoword-参数)
- [6.4 spellToWord 参数](#64-spelltoword-参数)
- [6.5 strokeToWord 参数](#65-stroketoword-参数)
- [6.6 idiom 参数](#66-idiom-参数)
- [6.7 xhy 参数](#67-xhy-参数)
- [6.8 radical 参数](#68-radical-参数)
- [6.9 使用实例大全:](#69-使用实例大全)
- [6.9.0 安装使用](#690-安装使用)
- [6.9.1 cnchar 基础库功能](#691-cnchar-基础库功能)
- [6.9.2 cnchar-poly 库功能](#692-cnchar-poly-库功能)
- [6.9.3 cnchar-order 库功能](#693-cnchar-order-库功能)
- [6.9.4 cnchar-trad 库功能](#694-cnchar-trad-库功能)
- [6.9.4.1 convert 字体转换](#6941-convert-字体转换)
- [6.9.4.2 spell 和 stroke 方法](#6942-spell-和-stroke-方法)
- [6.9.5 cnchar-idiom 库功能](#695-cnchar-idiom-库功能)
- [6.9.6 cnchar-xhy 库功能](#696-cnchar-xhy-库功能)
- [6.9.7 cnchar-radical 库功能](#697-cnchar-radical-库功能)
- [6.9.8 工具方法](#698-工具方法)
- [6.9.8.1 spellInfo](#6981-spellinfo)
- [6.9.8.2 isCnChar](#6982-iscnchar)
- [6.9.8.3 transformTone](#6983-transformtone)
@ -114,7 +114,7 @@
- [6.9.8.14 setPolyPhrase](#69814-setpolyphrase)
- [6.9.8.15 setRadical](#69815-setradical)
- [6.9.8.16 addXhy](#69816-addxhy)
- [7.应用例子](#7%E5%BA%94%E7%94%A8%E4%BE%8B%E5%AD%90)
- [7.应用例子](#7应用例子)
<!-- tocstop -->

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{622:function(t,e,a){"use strict";a.r(e);var i=a(28),c=Object(i.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h2",{attrs:{id:"_1-介绍"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[t._v("#")]),t._v(" 1 介绍")]),t._v(" "),a("p",[t._v("cnchar在2.2.0加入了成语功能,启用该功能需要安装 "),a("code",[t._v("cnchar-idiom")]),t._v(" 功能库该库可以独立于cnchar主库运行")]),t._v(" "),a("p",[t._v("使用方式如下:")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.idiom(text:string, ...idiomArgs: Array<idiomArg>):Array<string>;\n ")])],1),t._v(" "),a("p",[t._v("看一个具体例子")]),t._v(" "),a("div",[a("codebox",{attrs:{id:"idiom",fold:!0}})],1),t._v(" "),a("p",[t._v("使用cdn引用时会在window对向上暴露 "),a("code",[t._v("CncharIdiom")]),t._v(" 对象")]),t._v(" "),a("h2",{attrs:{id:"_2-idiom-参数"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_2-idiom-参数"}},[t._v("#")]),t._v(" 2. idiom 参数")]),t._v(" "),a("p",[t._v("参数调用如下value表示查询对象可以试拼音汉字笔画数所有 arg 参数都是可选的")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.idiom(value,arg1,arg2,...);\n ")])],1),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("参数")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("作用")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("是否默认")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("依赖库")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("备注")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("char")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("根据汉字查询成语")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("默认值无需调用")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("stroke")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("根据笔画数查询成语")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("优先级高于char")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("spell")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("根据拼音查询成语")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("优先级高于stroke")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("tone")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("启用拼音音调查询")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("仅在spell模式下生效")])])])]),t._v(" "),a("p",[t._v("注:优先级 "),a("code",[t._v("spell")]),t._v(" > "),a("code",[t._v("stroke")]),t._v(" > "),a("code",[t._v("char")])]),t._v(" "),a("h2",{attrs:{id:"_3-实例"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_3-实例"}},[t._v("#")]),t._v(" 3. 实例")]),t._v(" "),a("p",[t._v("该库为cnchar扩展了成语功能")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"javascript"}},[t._v("\ncnchar.idiom(['五', '', '十', '']) // ['五风十雨', '五光十色']\ncnchar.idiom([4, 6, 2, 6], 'stroke') // ['五光十色']\ncnchar.idiom('shang', 'spell') // ['伤风败化', '伤风败俗', ... ]\ncnchar.idiom('shang4', 'spell', 'tone') // ['伤风败化', '伤风败俗', ... ]\n ")])],1)])}),[],!1,null,null,null);e.default=c.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{623:function(t,r,n){"use strict";n.r(r);var a=n(28),c=Object(a.a)({},(function(){var t=this,r=t.$createElement,n=t._self._c||r;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h2",{attrs:{id:"_1-介绍"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[t._v("#")]),t._v(" 1. 介绍")]),t._v(" "),n("p",[n("code",[t._v("cnchar-poly")]),t._v(" 库是用于支持多音词的库该库本身并不提供新的api")]),t._v(" "),n("p",[t._v("引入该库之后,"),n("code",[t._v("cnchar.spell()")]),t._v(" 方法才会支持多音词,否则对于多音字会返回默认读音")]),t._v(" "),n("p",[t._v("npm安装")]),t._v(" "),n("div",[n("highlight-code",[t._v("\nnpm i cnchar-poly\n ")])],1),t._v(" "),n("p",[t._v("cdn使用")]),t._v(" "),n("div",[n("highlight-code",{attrs:{lang:"html"}},[t._v('\n<script src="https://cdn.jsdelivr.net/npm/cnchar-poly/cnchar.poly.min.js"><\/script>\n ')])],1),t._v(" "),n("p",[t._v("使用")]),t._v(" "),n("div",[n("highlight-code",{attrs:{lang:"javascript"}},[t._v("\nimport cnchar from 'cnchar';\nimport poly from 'cnchar-poly';\ncnchar.use(poly); // use 在浏览器环境中非必须\n ")])],1),t._v(" "),n("h2",{attrs:{id:"_2-实例"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_2-实例"}},[t._v("#")]),t._v(" 2. 实例")]),t._v(" "),n("p",[t._v("以下演示几个多音词的例子")]),t._v(" "),n("div",[n("codebox",{attrs:{id:"poly"}})],1),t._v(" "),n("p",[t._v("由于多音词依赖分词与词库且cnchar是一个静态的js库所以可能会有诸多不准确的读音")]),t._v(" "),n("p",[t._v("如果遇到不准缺的多音词,欢迎提"),n("a",{attrs:{href:"https://github.com/theajack/cnchar/issues/new",target:"_blank",rel:"noopener noreferrer"}},[t._v("issue或pr"),n("OutboundLink")],1)])])}),[],!1,null,null,null);r.default=c.exports}}]);

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{625:function(t,a,r){"use strict";r.r(a);var e=r(28),c=Object(e.a)({},(function(){var t=this,a=t.$createElement,r=t._self._c||a;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h2",{attrs:{id:"_1-介绍"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[t._v("#")]),t._v(" 1. 介绍")]),t._v(" "),r("p",[t._v("cnchar在2.2.5加入了偏旁部首功能,启用该功能需要安装 "),r("code",[t._v("cnchar-radical")]),t._v(" 功能库该库可以独立于cnchar主库运行")]),t._v(" "),r("p",[t._v("感谢 "),r("code",[t._v("kewell-tsao")]),t._v(" 提供的 pr")]),t._v(" "),r("p",[t._v("使用方式如下:")]),t._v(" "),r("div",[r("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.radical(text:string | Array<string>, ...radicalArgs: Array<radicalArg>): string | Array<string>;\n ")])],1),t._v(" "),r("p",[t._v("看一个具体例子")]),t._v(" "),r("div",[r("codebox",{attrs:{id:"radical"}})],1),t._v(" "),r("p",[t._v("使用cdn引用时会在window对向上暴露 "),r("code",[t._v("CncharRadical")]),t._v(" 对象")]),t._v(" "),r("h2",{attrs:{id:"_2-radical-参数"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#_2-radical-参数"}},[t._v("#")]),t._v(" 2. radical 参数")]),t._v(" "),r("p",[t._v("参数调用如下value表示需要查询偏旁的汉字可以是字符串或数组")]),t._v(" "),r("div",[r("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.radical(value,arg1,arg2,...);\n ")])],1),t._v(" "),r("table",[r("thead",[r("tr",[r("th",{staticStyle:{"text-align":"center"}},[t._v("参数")]),t._v(" "),r("th",{staticStyle:{"text-align":"center"}},[t._v("作用")]),t._v(" "),r("th",{staticStyle:{"text-align":"center"}},[t._v("是否默认")]),t._v(" "),r("th",{staticStyle:{"text-align":"center"}},[t._v("依赖库")]),t._v(" "),r("th",{staticStyle:{"text-align":"center"}},[t._v("备注")])])]),t._v(" "),r("tbody",[r("tr",[r("td",{staticStyle:{"text-align":"center"}},[t._v("array")]),t._v(" "),r("td",{staticStyle:{"text-align":"center"}},[t._v("是否返回数组")]),t._v(" "),r("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),r("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),r("td",{staticStyle:{"text-align":"center"}},[t._v("当传入为数组时默认返回数组")])])])]),t._v(" "),r("h2",{attrs:{id:"_3-实例"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#_3-实例"}},[t._v("#")]),t._v(" 3. 实例")]),t._v(" "),r("p",[t._v("该库为cnchar扩展了偏旁部首功能")]),t._v(" "),r("div",[r("highlight-code",{attrs:{lang:"javascript"}},[t._v('\ncnchar.radical(\'你\'); // "亻",\ncnchar.radical(\'你好呀\'); // "亻女口"\ncnchar.radical(\'你好呀\', \'array\'); // ["亻", "女", "口"]\ncnchar.radical(["你", "好", "呀"]); // ["亻", "女", "口"]\n ')])],1)])}),[],!1,null,null,null);a.default=c.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{637:function(r,t,n){"use strict";n.r(t);var a=n(21),c=Object(a.a)({},(function(){var r=this,t=r.$createElement,n=r._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":r.$parent.slotKey}},[n("h2",{attrs:{id:"_1-介绍"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[r._v("#")]),r._v(" 1. 介绍")]),r._v(" "),n("p",[n("code",[r._v("cnchar-trad")]),r._v(" 库是用于繁体字,除此之外,该库还提供繁体、简体、火星文之间的相互转换")]),r._v(" "),n("p",[r._v("引入该库之后cnchar的所有api都支持 "),n("code",[r._v("simple")]),r._v("和"),n("code",[r._v("trad")]),r._v("参数,用于只使用简体或繁体,默认两种字体都使用")]),r._v(" "),n("p",[r._v("npm安装")]),r._v(" "),n("div",[n("highlight-code",[r._v("\nnpm i cnchar-trad\n ")])],1),r._v(" "),n("p",[r._v("cdn使用")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"html"}},[r._v('\n<script src="https://cdn.jsdelivr.net/npm/cnchar-trad/cnchar.trad.min.js"><\/script>\n ')])],1),r._v(" "),n("p",[r._v("使用")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"javascript"}},[r._v("\nimport cnchar from 'cnchar';\nimport trad from 'cnchar-trad';\ncnchar.use(trad); // use 在浏览器环境中非必须\n ")])],1),r._v(" "),n("h2",{attrs:{id:"_2-繁体字支持"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_2-繁体字支持"}},[r._v("#")]),r._v(" 2. 繁体字支持")]),r._v(" "),n("p",[r._v("以下演示几个繁体字支持的例子")]),r._v(" "),n("div",[n("codebox",{attrs:{id:"trad"}})],1),r._v(" "),n("h2",{attrs:{id:"_3-字体转换-convert"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_3-字体转换-convert"}},[r._v("#")]),r._v(" 3. 字体转换(convert)")]),r._v(" "),n("p",[r._v("引入 cnchar-trad 库之后在cnchar上会生成一个 "),n("code",[r._v("convert")]),r._v(" 对象功能是支持字体转换另外在string.prototype 上也会附加上对应的方法,用法如下:")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"javascript"}},[r._v("\ncnchar.convert.simpleToTrad(string); // 简体 => 繁体\ncnchar.convert.simpleToSpark(string); // 简体 => 火星文\ncnchar.convert.tradToSimple(string); // 繁体 => 简体\ncnchar.convert.tradToSpark(string); // 繁体 => 火星文\ncnchar.convert.sparkToSimple(string); // 火星文 => 简体\ncnchar.convert.sparkToTrad(string); // 火星文 => 繁体\nstring.convertSimpleToTrad();\nstring.convertSimpleToSpark();\nstring.convertTradToSimple();\nstring.convertTradToSpark();\nstring.convertSparkToSimple();\nstring.convertSparkToTrad();\n ")])],1),r._v(" "),n("p",[r._v("以下是几个实例:")]),r._v(" "),n("div",[n("codebox",{attrs:{id:"convert"}})],1)])}),[],!1,null,null,null);t.default=c.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{627:function(r,t,n){"use strict";n.r(t);var a=n(28),c=Object(a.a)({},(function(){var r=this,t=r.$createElement,n=r._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":r.$parent.slotKey}},[n("h2",{attrs:{id:"_1-介绍"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[r._v("#")]),r._v(" 1. 介绍")]),r._v(" "),n("p",[n("code",[r._v("cnchar-trad")]),r._v(" 库是用于繁体字,除此之外,该库还提供繁体、简体、火星文之间的相互转换")]),r._v(" "),n("p",[r._v("引入该库之后cnchar的所有api都支持 "),n("code",[r._v("simple")]),r._v("和"),n("code",[r._v("trad")]),r._v("参数,用于只使用简体或繁体,默认两种字体都使用")]),r._v(" "),n("p",[r._v("npm安装")]),r._v(" "),n("div",[n("highlight-code",[r._v("\nnpm i cnchar-trad\n ")])],1),r._v(" "),n("p",[r._v("cdn使用")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"html"}},[r._v('\n<script src="https://cdn.jsdelivr.net/npm/cnchar-trad/cnchar.trad.min.js"><\/script>\n ')])],1),r._v(" "),n("p",[r._v("使用")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"javascript"}},[r._v("\nimport cnchar from 'cnchar';\nimport trad from 'cnchar-trad';\ncnchar.use(trad); // use 在浏览器环境中非必须\n ")])],1),r._v(" "),n("h2",{attrs:{id:"_2-繁体字支持"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_2-繁体字支持"}},[r._v("#")]),r._v(" 2. 繁体字支持")]),r._v(" "),n("p",[r._v("以下演示几个繁体字支持的例子")]),r._v(" "),n("div",[n("codebox",{attrs:{id:"trad"}})],1),r._v(" "),n("h2",{attrs:{id:"_3-字体转换-convert"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#_3-字体转换-convert"}},[r._v("#")]),r._v(" 3. 字体转换(convert)")]),r._v(" "),n("p",[r._v("引入 cnchar-trad 库之后在cnchar上会生成一个 "),n("code",[r._v("convert")]),r._v(" 对象功能是支持字体转换另外在string.prototype 上也会附加上对应的方法,用法如下:")]),r._v(" "),n("div",[n("highlight-code",{attrs:{lang:"javascript"}},[r._v("\ncnchar.convert.simpleToTrad(string); // 简体 => 繁体\ncnchar.convert.simpleToSpark(string); // 简体 => 火星文\ncnchar.convert.tradToSimple(string); // 繁体 => 简体\ncnchar.convert.tradToSpark(string); // 繁体 => 火星文\ncnchar.convert.sparkToSimple(string); // 火星文 => 简体\ncnchar.convert.sparkToTrad(string); // 火星文 => 繁体\nstring.convertSimpleToTrad();\nstring.convertSimpleToSpark();\nstring.convertTradToSimple();\nstring.convertTradToSpark();\nstring.convertSparkToSimple();\nstring.convertSparkToTrad();\n ")])],1),r._v(" "),n("p",[r._v("以下是几个实例:")]),r._v(" "),n("div",[n("codebox",{attrs:{id:"convert"}})],1)])}),[],!1,null,null,null);t.default=c.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{638:function(t,e,a){"use strict";a.r(e);var n=a(21),c=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h2",{attrs:{id:"_1-介绍"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[t._v("#")]),t._v(" 1. 介绍")]),t._v(" "),a("p",[t._v("cnchar在2.2.0加入了歇后语功能,启用该功能需要安装 "),a("code",[t._v("cnchar-xhy")]),t._v(" 功能库该库可以独立于cnchar主库运行")]),t._v(" "),a("p",[t._v("使用方式如下:")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.xhy(text:string, ...xhyArgs: Array<xhyArg>):Array<string>;\n ")])],1),t._v(" "),a("p",[t._v("看一个具体例子")]),t._v(" "),a("div",[a("codebox",{attrs:{id:"xhy",fold:!0}})],1),t._v(" "),a("p",[t._v("使用cdn引用时会在window对向上暴露 "),a("code",[t._v("CncharXHY")]),t._v(" 对象")]),t._v(" "),a("h2",{attrs:{id:"_2-xhy-参数"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_2-xhy-参数"}},[t._v("#")]),t._v(" 2. xhy 参数")]),t._v(" "),a("p",[t._v("参数调用如下value表示歇后语查询对象可以是歇后语的第一句或第二句所有 arg 参数都是可选的")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.xhy(value,arg1,arg2,...);\n ")])],1),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("参数")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("作用")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("是否默认")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("依赖库")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("备注")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("fuzzy")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否支持模糊查询")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否包含输入的字符串")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("answer")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否只输出答案")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("默认是输出整句歇后语")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("second")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否是根据歇后语后一句查询")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")])])])]),t._v(" "),a("h2",{attrs:{id:"_3-实例"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_3-实例"}},[t._v("#")]),t._v(" 3. 实例")]),t._v(" "),a("p",[t._v("该库为cnchar扩展了歇后语功能")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"javascript"}},[t._v("\ncnchar.xhy('大水冲了龙王庙') // ['大水冲了龙王庙-自家人不识自家人', '大水冲了龙王庙-一家人不认一家人']\ncnchar.xhy('大水', 'fuzzy') // ['江河里长大水-泥沙俱下', '江河发大水-后浪推前浪', ... ]\ncnchar.xhy('大水', 'fuzzy', 'answer') // ['泥沙俱下', '后浪推前浪', ... ]\ncnchar.xhy('上晃下摇', 'fuzzy', 'answer', 'second') // ['醉汉过铁索桥', '扶着醉汉过破桥']\n ")])],1)])}),[],!1,null,null,null);e.default=c.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{629:function(t,e,a){"use strict";a.r(e);var n=a(28),c=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h2",{attrs:{id:"_1-介绍"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_1-介绍"}},[t._v("#")]),t._v(" 1. 介绍")]),t._v(" "),a("p",[t._v("cnchar在2.2.0加入了歇后语功能,启用该功能需要安装 "),a("code",[t._v("cnchar-xhy")]),t._v(" 功能库该库可以独立于cnchar主库运行")]),t._v(" "),a("p",[t._v("使用方式如下:")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.xhy(text:string, ...xhyArgs: Array<xhyArg>):Array<string>;\n ")])],1),t._v(" "),a("p",[t._v("看一个具体例子")]),t._v(" "),a("div",[a("codebox",{attrs:{id:"xhy",fold:!0}})],1),t._v(" "),a("p",[t._v("使用cdn引用时会在window对向上暴露 "),a("code",[t._v("CncharXHY")]),t._v(" 对象")]),t._v(" "),a("h2",{attrs:{id:"_2-xhy-参数"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_2-xhy-参数"}},[t._v("#")]),t._v(" 2. xhy 参数")]),t._v(" "),a("p",[t._v("参数调用如下value表示歇后语查询对象可以是歇后语的第一句或第二句所有 arg 参数都是可选的")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"typescript"}},[t._v("\ncnchar.xhy(value,arg1,arg2,...);\n ")])],1),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("参数")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("作用")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("是否默认")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("依赖库")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[t._v("备注")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("fuzzy")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否支持模糊查询")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否包含输入的字符串")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("answer")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否只输出答案")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("默认是输出整句歇后语")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("second")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("是否是根据歇后语后一句查询")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("否")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("--")])])])]),t._v(" "),a("h2",{attrs:{id:"_3-实例"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#_3-实例"}},[t._v("#")]),t._v(" 3. 实例")]),t._v(" "),a("p",[t._v("该库为cnchar扩展了歇后语功能")]),t._v(" "),a("div",[a("highlight-code",{attrs:{lang:"javascript"}},[t._v("\ncnchar.xhy('大水冲了龙王庙') // ['大水冲了龙王庙-自家人不识自家人', '大水冲了龙王庙-一家人不认一家人']\ncnchar.xhy('大水', 'fuzzy') // ['江河里长大水-泥沙俱下', '江河发大水-后浪推前浪', ... ]\ncnchar.xhy('大水', 'fuzzy', 'answer') // ['泥沙俱下', '后浪推前浪', ... ]\ncnchar.xhy('上晃下摇', 'fuzzy', 'answer', 'second') // ['醉汉过铁索桥', '扶着醉汉过破桥']\n ")])],1)])}),[],!1,null,null,null);e.default=c.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{510:function(n,w,o){}}]);

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{517:function(n,w,o){}}]);

View File

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{621:function(n,w,o){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{536:function(t,e,n){},612:function(t,e,n){"use strict";var i=n(536);n.n(i).a},632:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(612),n(28)),a=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=a.exports}}]);

View File

@ -1 +0,0 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{543:function(t,e,n){},619:function(t,e,n){"use strict";var i=n(543);n.n(i).a},642:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(619),n(21)),a=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=a.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{542:function(t,s,i){},618:function(t,s,i){"use strict";var n=i(542);i.n(n).a},627:function(t,s,i){"use strict";i.r(s);var n={methods:{starGithub:function(){window.open("https://github.com/theajack/cnchar")}}},a=(i(618),i(21)),c=Object(a.a)(n,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"bg",on:{click:this.starGithub}},[this._m(0)])}),[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"word glitch"},[s("div",{staticClass:"flash is-off"},[s("span",{staticClass:"text"},[this._v("给个star!")])])])}],!1,null,null,null);s.default=c.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{535:function(t,s,i){},611:function(t,s,i){"use strict";var n=i(535);i.n(n).a},617:function(t,s,i){"use strict";i.r(s);var n={methods:{starGithub:function(){window.open("https://github.com/theajack/cnchar")}}},a=(i(611),i(28)),c=Object(a.a)(n,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"bg",on:{click:this.starGithub}},[this._m(0)])}),[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"word glitch"},[s("div",{staticClass:"flash is-off"},[s("span",{staticClass:"text"},[this._v("给个star!")])])])}],!1,null,null,null);s.default=c.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{625:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(21),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{615:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(28),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-default-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]);

View File

@ -1 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{628:function(t,e,n){"use strict";n.r(e);var s=n(21),o=Object(s.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[e("div",[e("home")],1)])}),[],!1,null,null,null);e.default=o.exports}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{619:function(t,e,n){"use strict";n.r(e);var s=n(28),o=Object(s.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[e("div",[e("home")],1)])}),[],!1,null,null,null);e.default=o.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,8 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/9.cad83506.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/9.79574551.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -95,11 +95,11 @@ cnchar.use(poly, order, trad); <span class="hljs-comment">// 参数顺序无关
<span class="hljs-keyword">import</span> <span class="hljs-string">'cnchar-draw'</span>;</code></pre></div> <h3 id="_6-2-type"><a href="#_6-2-type" class="header-anchor">#</a> 6.2 .type</h3> <p>type <code>spell</code> <code>stroke</code> <code>orderToWord</code> <code>spellToWord</code><code>strokeToWord</code> </p> <div><div class="code-box" data-v-96507b74><div data-v-96507b74><span class="code-title" data-v-96507b74>type</span> <span class="code-desc" data-v-96507b74></span> <i title="线" class="ei-play code-btn" data-v-96507b74></i> <i title="" class="ei-copy code-btn" data-v-96507b74></i></div> <pre data-v-96507b74><code class="hljs"></code></pre> <div style="display:none;" data-v-96507b74><div class="output-title" data-v-96507b74></div> <div class="output-area" data-v-96507b74><div class="show-toggle" data-v-96507b74><i class="ei-angle-up" data-v-96507b74></i> <span class="show-text" data-v-96507b74></span></div> <div style="display:;" data-v-96507b74></div></div></div> <div class="powered-by" data-v-96507b74>
Powered by <a target="view_window" href="https://github.com/theajack/jsbox" class="jsbox-link" data-v-96507b74><i class="ei-cube-alt" data-v-96507b74></i> JSBox</a></div></div></div> <h3 id="_6-3-check"><a href="#_6-3-check" class="header-anchor">#</a> 6.3 .check</h3> <p> true</p> <p>cnchar <code>spell</code> <code>stroke</code> <code>·</code><code></code><code></code></p> <div><pre><code class="hljs javascript">cnchar.check = <span class="hljs-literal">false</span>; <span class="hljs-comment">// </span></code></pre></div> <h3 id="_6-4-version"><a href="#_6-4-version" class="header-anchor">#</a> 6.4 .version</h3> <p></p> <div><div class="code-box" data-v-96507b74><div data-v-96507b74><span class="code-title" data-v-96507b74>version</span> <span class="code-desc" data-v-96507b74></span> <i title="线" class="ei-play code-btn" data-v-96507b74></i> <i title="" class="ei-copy code-btn" data-v-96507b74></i></div> <pre data-v-96507b74><code class="hljs"></code></pre> <div style="display:none;" data-v-96507b74><div class="output-title" data-v-96507b74></div> <div class="output-area" data-v-96507b74><div class="show-toggle" data-v-96507b74><i class="ei-angle-up" data-v-96507b74></i> <span class="show-text" data-v-96507b74></span></div> <div style="display:;" data-v-96507b74></div></div></div> <div class="powered-by" data-v-96507b74>
Powered by <a target="view_window" href="https://github.com/theajack/jsbox" class="jsbox-link" data-v-96507b74><i class="ei-cube-alt" data-v-96507b74></i> JSBox</a></div></div></div> <h3 id="_6-5-plugins"><a href="#_6-5-plugins" class="header-anchor">#</a> 6.5 .plugins</h3> <p>使 <code>[&quot;order&quot;, &quot;trad&quot;, &quot;poly&quot;, &quot;draw&quot;]</code></p> <div><div class="code-box" data-v-96507b74><div data-v-96507b74><span class="code-title" data-v-96507b74>plugins</span> <span class="code-desc" data-v-96507b74></span> <i title="线" class="ei-play code-btn" data-v-96507b74></i> <i title="" class="ei-copy code-btn" data-v-96507b74></i></div> <pre data-v-96507b74><code class="hljs"></code></pre> <div style="display:none;" data-v-96507b74><div class="output-title" data-v-96507b74></div> <div class="output-area" data-v-96507b74><div class="show-toggle" data-v-96507b74><i class="ei-angle-up" data-v-96507b74></i> <span class="show-text" data-v-96507b74></span></div> <div style="display:;" data-v-96507b74></div></div></div> <div class="powered-by" data-v-96507b74>
Powered by <a target="view_window" href="https://github.com/theajack/jsbox" class="jsbox-link" data-v-96507b74><i class="ei-cube-alt" data-v-96507b74></i> JSBox</a></div></div></div></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">:</span> <span class="time">12/9/2020, 3:40:54 PM</span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/doc/poly.html">
Powered by <a target="view_window" href="https://github.com/theajack/jsbox" class="jsbox-link" data-v-96507b74><i class="ei-cube-alt" data-v-96507b74></i> JSBox</a></div></div></div></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">:</span> <span class="time">12/9/2020, 3:40:54 PM</span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/cnchar/doc/poly.html">
cnchar-poly
</a>
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/9.cad83506.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/9.79574551.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/10.70b04062.js" as="script"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/3.78228900.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/10.a61514ca.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/3.94141914.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -136,7 +141,12 @@ cnchar<span class="token punctuation">.</span>xhy<span class="token punctuation"
<a href="/doc/tool.html" class="prev">
工具方法
<<<<<<< HEAD
</a></span> <!----></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/10.70b04062.js" defer></script>
=======
</a></span> <!----></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/10.a61514ca.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,8 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/11.78652d04.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/11.f0beebd0.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -135,7 +135,7 @@ draw(<span class="hljs-string">'你好'</span>)</code></pre></div> <h2 id="_2-
cnchar-idiom
</a>
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/11.78652d04.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/11.f0beebd0.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/12.b80cc33e.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/12.9fbed8f3.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -88,7 +93,12 @@ cnchar.idiom(<span class="hljs-string">'shang4'</span>, <span class="hljs-string
cnchar-xhy
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/12.b80cc33e.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/12.9fbed8f3.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/13.d4f7bb58.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/13.d28b998f.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -90,7 +95,12 @@ cnchar.use(order); <span class="hljs-comment">// use 在浏览器环境中非必
cnchar-trad
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/13.d4f7bb58.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/13.d28b998f.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/14.269f05ae.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/14.fcf3c48a.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -87,7 +92,12 @@ cnchar.use(poly); <span class="hljs-comment">// use 在浏览器环境中非必
cnchar-order
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/14.269f05ae.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/14.fcf3c48a.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/15.7fadafaf.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/15.44644ac9.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -88,7 +93,12 @@ cnchar.radical([<span class="hljs-string">"你"</span>, <span class="hljs-string
工具方法
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/15.7fadafaf.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/15.44644ac9.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/16.d1e8d47d.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/16.2379d48b.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -155,7 +160,12 @@ cnchar<span class="token punctuation">.</span><span class="token function">shape
自定义数据
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/16.d1e8d47d.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/16.2379d48b.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/17.d8524e84.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/17.cec8473d.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -99,7 +104,12 @@ string.convertSparkToTrad();</code></pre></div> <p>以下是几个实例:</p>
cnchar-draw
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/17.d8524e84.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/17.cec8473d.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/18.35eb0643.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/18.23d8fb28.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -88,7 +93,12 @@ cnchar.xhy(<span class="hljs-string">'上晃下摇'</span>, <span class="hljs-st
cnchar-radical
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/18.35eb0643.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/18.23d8fb28.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,13 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<<<<<<< HEAD
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/20.b8f6cf9e.js" as="script"><link rel="preload" href="/assets/js/3.78228900.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/4.8112a995.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/8.f01c3380.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
=======
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/20.5603fdd0.js" as="script"><link rel="preload" href="/cnchar/assets/js/3.94141914.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/4.60b58529.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/8.4e18b7d9.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
>>>>>>> master
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">
@ -117,7 +122,12 @@ cnchar.use(poly, order, trad, idiom, xhy, radical);</code></pre></div> <h2 id="_
文档
</a>
<<<<<<< HEAD
</span></p></div> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/20.b8f6cf9e.js" defer></script><script src="/assets/js/3.78228900.js" defer></script>
=======
</span></p></div> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/20.5603fdd0.js" defer></script><script src="/cnchar/assets/js/3.94141914.js" defer></script>
>>>>>>> master
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,8 @@
<meta name="generator" content="VuePress 1.4.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico">
<link rel="preload" href="/assets/css/0.styles.b36a32f7.css" as="style"><link rel="preload" href="/assets/js/app.cfb76f2a.js" as="script"><link rel="preload" href="/assets/js/2.2bb98858.js" as="script"><link rel="preload" href="/assets/js/8.f01c3380.js" as="script"><link rel="preload" href="/assets/js/4.8112a995.js" as="script"><link rel="prefetch" href="/assets/js/10.70b04062.js"><link rel="prefetch" href="/assets/js/11.78652d04.js"><link rel="prefetch" href="/assets/js/12.b80cc33e.js"><link rel="prefetch" href="/assets/js/13.d4f7bb58.js"><link rel="prefetch" href="/assets/js/14.269f05ae.js"><link rel="prefetch" href="/assets/js/15.7fadafaf.js"><link rel="prefetch" href="/assets/js/16.d1e8d47d.js"><link rel="prefetch" href="/assets/js/17.d8524e84.js"><link rel="prefetch" href="/assets/js/18.35eb0643.js"><link rel="prefetch" href="/assets/js/19.9ae02a37.js"><link rel="prefetch" href="/assets/js/20.b8f6cf9e.js"><link rel="prefetch" href="/assets/js/21.b802ee0e.js"><link rel="prefetch" href="/assets/js/22.8c6ee530.js"><link rel="prefetch" href="/assets/js/23.225aa3b8.js"><link rel="prefetch" href="/assets/js/24.45be5988.js"><link rel="prefetch" href="/assets/js/25.54b888ce.js"><link rel="prefetch" href="/assets/js/3.78228900.js"><link rel="prefetch" href="/assets/js/5.deec3d8c.js"><link rel="prefetch" href="/assets/js/6.e1333a1f.js"><link rel="prefetch" href="/assets/js/7.67523f2c.js"><link rel="prefetch" href="/assets/js/9.cad83506.js">
<link rel="stylesheet" href="/assets/css/0.styles.b36a32f7.css">
<link rel="preload" href="/cnchar/assets/css/0.styles.1aa8b5c2.css" as="style"><link rel="preload" href="/cnchar/assets/js/app.479643a8.js" as="script"><link rel="preload" href="/cnchar/assets/js/2.79099ae3.js" as="script"><link rel="preload" href="/cnchar/assets/js/8.4e18b7d9.js" as="script"><link rel="preload" href="/cnchar/assets/js/4.60b58529.js" as="script"><link rel="prefetch" href="/cnchar/assets/js/10.a61514ca.js"><link rel="prefetch" href="/cnchar/assets/js/11.f0beebd0.js"><link rel="prefetch" href="/cnchar/assets/js/12.9fbed8f3.js"><link rel="prefetch" href="/cnchar/assets/js/13.d28b998f.js"><link rel="prefetch" href="/cnchar/assets/js/14.fcf3c48a.js"><link rel="prefetch" href="/cnchar/assets/js/15.44644ac9.js"><link rel="prefetch" href="/cnchar/assets/js/16.2379d48b.js"><link rel="prefetch" href="/cnchar/assets/js/17.cec8473d.js"><link rel="prefetch" href="/cnchar/assets/js/18.23d8fb28.js"><link rel="prefetch" href="/cnchar/assets/js/19.a197b25b.js"><link rel="prefetch" href="/cnchar/assets/js/20.5603fdd0.js"><link rel="prefetch" href="/cnchar/assets/js/21.b9849f84.js"><link rel="prefetch" href="/cnchar/assets/js/22.876a6289.js"><link rel="prefetch" href="/cnchar/assets/js/3.94141914.js"><link rel="prefetch" href="/cnchar/assets/js/5.b99f65d5.js"><link rel="prefetch" href="/cnchar/assets/js/6.6a00c290.js"><link rel="prefetch" href="/cnchar/assets/js/7.39b7a2be.js"><link rel="prefetch" href="/cnchar/assets/js/9.79574551.js">
<link rel="stylesheet" href="/cnchar/assets/css/0.styles.1aa8b5c2.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">cnchar</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link router-link-exact-active router-link-active">
@ -76,8 +76,8 @@
Gitee地址
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="https://blog.csdn.net/yanxiaomu" target="_blank" rel="noopener noreferrer" class="nav-link external">
CSDN账号
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></div></div> <!----></nav> <!----> </aside> <main class="page"> <div class="theme-default-content content__default"><div><div class="home-wrapper"><div><img src="/assets/img/logo.6cd28633.png" alt srcset class="logo"></div> <div class="title">cnchar</div> <div class="desc">js</div> <div class="test"><div class="test-input el-input"><!----><input type="text" autocomplete="off" placeholder="" class="el-input__inner"><!----><!----><!----><!----></div> <div class="show-area" style="display:none;"><div> <span class="split">|</span> </div> <div>: <span class="split">|</span> : </div> <div>: </div> <div id="draw-area"></div></div></div> <div class="start-w"><button type="button" class="el-button el-button--primary"><!----><!----><span> <i class="ei-location-arrow"></i></span></button> <button type="button" class="el-button el-button--primary"><!----><!----><span> <i class="ei-play"></i></span></button></div> <div class="feature-w"><div class="f-i"><div class="f-t"><i class="ei-rocket"></i></div> <div class="f-des">/</div> <div class="f-des"></div> <div class="f-des">/</div> <div class="f-des">/</div> <div class="f-des"></div> <div class="f-des">/</div> <div class="f-des">...</div></div> <div class="f-i"><div class="f-t"><i class="ei-tablet"></i></div> <div class="f-des"></div> <div class="f-des">nodejs</div> <div class="f-des">/</div> <div class="f-des">ReactNative/Weex/Uniapp/Electron</div> <div class="f-des">webpack</div> <div class="f-des">typescript</div> <div class="f-des">...</div></div> <div class="f-i"><div class="f-t"><i class="ei-cubes"></i></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des">npm</div> <div class="f-des">cdn</div> <div class="f-des">...</div></div></div> <div class="copy-right">MIT Licensed | Copyright © 2020 present <a href="https://www.github.com/theajack" target="view_window">theajack</a></div></div></div></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">:</span> <span class="time">12/9/2020, 3:40:54 PM</span></div></footer> <!----> </main></div><div class="global-ui"><!----><div></div></div></div>
<script src="/assets/js/app.cfb76f2a.js" defer></script><script src="/assets/js/2.2bb98858.js" defer></script><script src="/assets/js/8.f01c3380.js" defer></script><script src="/assets/js/4.8112a995.js" defer></script>
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></div></div> <!----></nav> <!----> </aside> <main class="page"> <div class="theme-default-content content__default"><div><div class="home-wrapper"><div><img src="/cnchar/assets/img/logo.6cd28633.png" alt srcset class="logo"></div> <div class="title">cnchar</div> <div class="desc">js</div> <div class="test"><div class="test-input el-input"><!----><input type="text" autocomplete="off" placeholder="" class="el-input__inner"><!----><!----><!----><!----></div> <div class="show-area" style="display:none;"><div> <span class="split">|</span> </div> <div>: <span class="split">|</span> : </div> <div>: </div> <div id="draw-area"></div></div></div> <div class="start-w"><button type="button" class="el-button el-button--primary"><!----><!----><span> <i class="ei-location-arrow"></i></span></button> <button type="button" class="el-button el-button--primary"><!----><!----><span> <i class="ei-play"></i></span></button></div> <div class="feature-w"><div class="f-i"><div class="f-t"><i class="ei-rocket"></i></div> <div class="f-des">/</div> <div class="f-des"></div> <div class="f-des">/</div> <div class="f-des">/</div> <div class="f-des"></div> <div class="f-des">/</div> <div class="f-des">...</div></div> <div class="f-i"><div class="f-t"><i class="ei-tablet"></i></div> <div class="f-des"></div> <div class="f-des">nodejs</div> <div class="f-des">/</div> <div class="f-des">ReactNative/Weex/Uniapp/Electron</div> <div class="f-des">webpack</div> <div class="f-des">typescript</div> <div class="f-des">...</div></div> <div class="f-i"><div class="f-t"><i class="ei-cubes"></i></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des"></div> <div class="f-des">npm</div> <div class="f-des">cdn</div> <div class="f-des">...</div></div></div> <div class="copy-right">MIT Licensed | Copyright © 2020 present <a href="https://www.github.com/theajack" target="view_window">theajack</a></div></div></div></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">:</span> <span class="time">12/9/2020, 3:40:54 PM</span></div></footer> <!----> </main></div><div class="global-ui"><!----></div></div>
<script src="/cnchar/assets/js/app.479643a8.js" defer></script><script src="/cnchar/assets/js/2.79099ae3.js" defer></script><script src="/cnchar/assets/js/8.4e18b7d9.js" defer></script><script src="/cnchar/assets/js/4.60b58529.js" defer></script>
<script>
var _mtac = {};
(function () {

View File

@ -19,7 +19,7 @@
<h3>🚀 Full-featured, multi-end support for hanyu pinyin strokes js library</h3>
**[中文](https://github.com/theajack/cnchar#cnchar--) | [Online trial / documentation](https://theajack.gitee.io/cnchar) | [Update log](https://theajack.gitee.io/cnchar/v2/guide/version.html) | [Application: Typing game](https://theajack.gitee.io/type/) | [Feedback error / missing](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
**[中文](https://github.com/theajack/cnchar#cnchar--) | [Online trial / documentation](https://cnchar.js.org) | [Update log](https://theajack.gitee.io/cnchar/v2/guide/version.html) | [Application: Typing game](https://theajack.gitee.io/type/) | [Feedback error / missing](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
---
@ -282,7 +282,7 @@ There are many parameters of draw, the first thing to understand is that draw is
3. stroke: draw in a single step according to Chinese characters
4. test: Test mode, the user can draw Chinese characters in the container, cnchar-draw will detect whether it is drawn correctly
The following are all optional parameters and descriptions of options, please refer to [online documentation](https://theajack.gitee.io/cnchar) for usage details:
The following are all optional parameters and descriptions of options, please refer to [online documentation](https://cnchar.js.org) for usage details:
```ts
declare interface DrawOption {

View File

@ -19,7 +19,7 @@
<h3>🚀 功能全面、多端支持的汉字拼音笔画 js 库</h3>
**[English](https://github.com/theajack/cnchar/blob/master/helper/README.en.md) | [在线试用/文档](https://theajack.gitee.io/cnchar) | [备用文档地址](https://theajack.com/cnchar) | [更新日志](https://github.com/theajack/cnchar/blob/master/helper/version.md) | [应用:打字游戏](https://theajack.gitee.io/type/) | [反馈错误/缺漏](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
**[English](https://github.com/theajack/cnchar/blob/master/helper/README.en.md) | [在线试用/文档](https://theajack.gitee.io/cnchar) | [备用文档地址](https://cnchar.js.org) | [更新日志](https://github.com/theajack/cnchar/blob/master/helper/version.md) | [应用:打字游戏](https://theajack.gitee.io/type/) | [反馈错误/缺漏](https://github.com/theajack/cnchar/issues/new) | [Gitee](https://gitee.com/theajack/cnchar)**
---

View File

@ -9,8 +9,7 @@ module.exports = {
['link', {rel: 'icon', href: 'https://cdn.jsdelivr.net/gh/theajack/cnchar/docs/assets/v1/images/i.ico'}], // 增加一个自定义的 favicon
],
// dest: './dist', //打包位置
port: 6868, // 端口号 谐音流弊流弊
port: 6868, // 端口号
// 主题配置
themeConfig: {
// 顶部导航栏配置

View File

@ -4,10 +4,11 @@ let jsbox = null;
function getUrl () {
let url = '';
if (window.location.host.indexOf('localhost') !== -1) {
let host = window.location.host;
if (host.indexOf('localhost') !== -1 || host === 'theajack.gitee.io') {
url = 'https://theajack.gitee.io';
} else {
url = `${window.location.protocol}//${window.location.host}`;
url = `${window.location.protocol}//www.theajack.com/jsbox`;
}
return url + '/jsbox?theme=dark&remind=false&mes=false';
}