Merge branch 'master' of github.com:mumuy/relationship

# Conflicts:
#	dist/relationship.min.js
#	dist/relationship.zh-HK.min.js
#	script/relationship.js
This commit is contained in:
mumuy 2022-03-22 19:06:30 +08:00
commit 4b94b5460d
13 changed files with 749 additions and 370 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

54
image/bg.svg Normal file
View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="1440px" height="448px" viewBox="0 0 1440 448" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 59.1 (86144) - https://sketch.com -->
<title>编组 5备份</title>
<desc>Created with Sketch.</desc>
<defs>
<linearGradient x1="-5.68700053%" y1="45.5298642%" x2="84.7892757%" y2="53.934985%" id="linearGradient-1">
<stop stop-color="#FBFCFD" offset="0%"></stop>
<stop stop-color="#F8FCFF" offset="100%"></stop>
</linearGradient>
<radialGradient cx="49.4552285%" cy="50%" fx="49.4552285%" fy="50%" r="94.8348304%" gradientTransform="translate(0.494552,0.500000),scale(0.311111,1.000000),rotate(90.000000),translate(-0.494552,-0.500000)" id="radialGradient-2">
<stop stop-color="#FFFFFF" stop-opacity="0.5" offset="0%"></stop>
<stop stop-color="#EDF6FF" stop-opacity="0.578179633" offset="100%"></stop>
</radialGradient>
<rect id="path-3" x="0" y="0" width="1440" height="448"></rect>
<linearGradient x1="72.8463444%" y1="12.5451885%" x2="72.8463444%" y2="295.836589%" id="linearGradient-5">
<stop stop-color="#FFFFFF" stop-opacity="0" offset="0%"></stop>
<stop stop-color="#9FD7FF" stop-opacity="0.383058348" offset="100%"></stop>
</linearGradient>
<linearGradient x1="16.6159843%" y1="49.1386719%" x2="5.85340543%" y2="50.8613281%" id="linearGradient-6">
<stop stop-color="#FFFFFF" stop-opacity="0" offset="0%"></stop>
<stop stop-color="#F2F7FC" offset="100%"></stop>
</linearGradient>
<rect id="path-7" x="0" y="259" width="1440" height="189"></rect>
<linearGradient x1="54.7550093%" y1="16.6478641%" x2="54.7550093%" y2="112.331979%" id="linearGradient-8">
<stop stop-color="#FFFFFF" stop-opacity="0" offset="0%"></stop>
<stop stop-color="#D2ECFF" stop-opacity="0.225387893" offset="100%"></stop>
</linearGradient>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="导航方案备份">
<g id="编组-5备份">
<g id="路径备份">
<g id="蒙版">
<g transform="translate(0.000000, 0.000000)">
<mask id="mask-4" fill="white">
<use xlink:href="#path-3"></use>
</mask>
<g>
<use fill="url(#linearGradient-1)" xlink:href="#path-3"></use>
<use fill="url(#radialGradient-2)" xlink:href="#path-3"></use>
</g>
<g id="矩形备份-32" mask="url(#mask-4)">
<use fill="url(#linearGradient-5)" xlink:href="#path-7"></use>
<use fill="url(#linearGradient-6)" xlink:href="#path-7"></use>
</g>
<rect id="矩形" fill="url(#linearGradient-8)" mask="url(#mask-4)" x="0" y="166" width="1440" height="282"></rect>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
image/icon/miui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
image/icon/qinqi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
image/icon/quanneng.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
image/icon/yuwendaren.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -30,27 +30,30 @@
<div class="mod-head"> <div class="mod-head">
<div class="bd"> <div class="bd">
<span class="language"> <span class="language">
<a class="active" href="index.html">简体</a> <a class="active" href="/relationship/">简体</a>
<span>/</span> <span>/</span>
<a href="zh-HK.html">繁體</a> <a href="zh-HK.html">繁體</a>
</span> </span>
<a class="btn" href="/relationship/vue/" target="_blank">手机版</a>
<a class="btn" href="https://github.com/mumuy/relationship/" rel="nofollow" target="_blank" title="Github"> <a class="btn" href="https://github.com/mumuy/relationship/" rel="nofollow" target="_blank" title="Github">
<svg aria-hidden="true" class="octicon" height="20" title="GitHub " version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg> <svg aria-hidden="true" class="octicon" height="20" title="GitHub " version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg>
<span>Github</span> <span>Github</span>
</a> </a>
<a class="btn" href="/">返回首页</a> <a class="btn" href="/">个人网站</a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<div class="inner">
<div class="mod-panel"> <div class="mod-panel">
<div class="inner">
<div class="hd"> <div class="hd">
<h1>中国亲戚关系计算器<span class="tag">开源算法</span></h1> <h1><span class="name">中国</span><span>亲戚关系计算器</span><span class="tag">开源算法</span></h1>
<p>逢年过节遇到三姑六婆,拒绝叫不出口的尴尬!轻松搞定亲戚关系~</p> <p>逢年过节遇到三姑六婆,拒绝叫不出口的尴尬!轻松搞定亲戚关系~</p>
<p>当前亲戚称呼大全已收录约<b id="count">-</b>条亲戚关系</p> <p>当前亲戚称呼大全已收录约<b id="count">-</b>条亲戚关系</p>
<div class="picture">
<img src="image/app.png" width="320" alt="亲戚称呼换算APP"/>
<a class="btn" href="/relationship/vue/" target="_blank">访问手机版</a>
</div>
</div> </div>
<div class="bd"> <div class="bd">
<div class="c-hd"> <div class="c-hd">
@ -135,24 +138,6 @@
<p>计算结果:</p> <p>计算结果:</p>
<p><textarea name="result" readonly></textarea></p> <p><textarea name="result" readonly></textarea></p>
</div> </div>
<div class="intro">
<h3>使用案例</h3>
<p class="q">1. 使用别称查询:</p>
<p class="a">姥姥的爸爸的老窦 / 娘子的爹地的母亲 / 岳丈的妈咪 </p>
<p class="q">2. 使用合称查询:</p>
<p class="a">舅舅的孙辈 / 爸爸的祖父母 / 姑妈的兄弟姐妹 / 表姐妹的孩子</p>
<p class="q">3. 大小数字混合查询:</p>
<p class="a">儿子的大舅的二姑妈的七舅姥爷 / 女婿的小姨</p>
<p class="q">4. 不限制方向祖辈孙辈跨度,反复查询:</p>
<p class="a">舅妈的婆婆的外甥的姨妈的侄子的爷爷 / 老公的丈母娘的儿媳</p>
<p class="q">5. 年龄推导:</p>
<p class="a">哥哥的表姐 = 姑表姐、舅表姐</p>
<p class="a">堂妹的姐姐 = 堂姐妹</p>
<p class="a">弟弟的表哥 = 姑表兄弟、舅表兄弟</p>
<p class="q">6. 根据语境确认性别:</p>
<p class="a">老婆的女儿的外婆 = 岳母</p>
<p class="a">爱人的婆婆的儿子 = 兄弟</p>
</div>
</div> </div>
<div class="c-panel"> <div class="c-panel">
<div class="row"> <div class="row">
@ -173,10 +158,10 @@
</div> </div>
<div class="intro"> <div class="intro">
<h3>应用场景</h3> <h3>应用场景</h3>
<p class="q">“七舅姥爷”和我是什么关系</p> <p class="q">外舅公是我妈的谁</p>
<p class="q">“堂弟”和“表弟”如何区分在</p> <p class="q">我爸应该叫舅老爷什么</p>
<p class="q">“外甥”和“侄子”的区别在哪里</p> <p class="q">我岳父怎么叫我弟弟什么</p>
<p class="q">“姑表舅表哥”是我的谁</p> <p class="q">我哥如何称呼我岳母</p>
</div> </div>
</div> </div>
<div class="c-panel"> <div class="c-panel">
@ -215,45 +200,138 @@
</div> </div>
<div class="intro"> <div class="intro">
<h3>应用场景</h3> <h3>应用场景</h3>
<p class="q">外舅公是我妈的谁?</p> <p class="q">“七舅姥爷”和我“三叔公”是什么关系?</p>
<p class="q">我爸应该叫舅老爷什么?</p> <p class="q">我的“堂弟”要叫“表弟”什么?</p>
<p class="q">我岳父怎么叫我弟弟什么?</p>
<p class="q">我哥如何称呼我岳母?</p>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="ft">
<div class="banner">
<a href="/relationship/vue/" target="_blank">
<span class="picture">
<img src="image/app.png" width="213" alt="亲戚称呼换算APP"/>
</span>
<span class="title">亲戚称呼计算器移动版</span>
<span class="subtitle">无需下载APP手机即查即用</span>
</a>
</div> </div>
<div class="article"> </div>
<div class="mod-intro">
<div class="inner">
<div class="hd"><span>功能支持</span></div>
<div class="bd">
<ul>
<li>
<div class="item">
<p class="q">1. 使用别称查询:</p>
<p class="a">姥姥的爸爸的老窦 = 外曾外曾祖父</p>
<p class="a">娘子的爹地的母亲 = 祖岳母</p>
<p class="a">岳丈的妈咪的细佬 = 舅祖岳父</p>
</div>
</li>
<li>
<div class="item">
<p class="q">2. 使用合称查询:</p>
<p class="a">姐夫的双亲 = 姊妹姻父 / 姊妹姻母</p>
<p class="a">妈妈的祖父母 = 外曾祖父 / 外曾祖母</p>
<p class="a">弟弟的孩子 = 侄子 / 侄女</p>
</div>
</li>
<li>
<div class="item">
<p class="q">3. 大小数字混合查询:</p>
<p class="a">大哥的二姑妈的七舅姥爷 = 舅曾外祖父</p>
<p class="a">二女婿的小姨 = 女姻姨妹</p>
<p class="a">大佬的三舅公的次子 = 舅表伯父 / 舅表叔父</p>
</div>
</li>
<li>
<div class="item">
<p class="q">4. 不限制祖辈孙辈跨度查询:</p>
<p class="a">舅妈的婆婆的外甥的姨妈的侄子 = 舅表舅父</p>
<p class="a">老公的丈母娘的儿媳 = 兄弟媳妇</p>
<p class="a">外婆的孙子的舅妈的仔 = 舅表兄弟</p>
</div>
</li>
<li>
<div class="item">
<p class="q">5. 根据年龄推导可能性:</p>
<p class="a">哥哥的表姐 = 姑表姐、舅表姐</p>
<p class="a">堂妹的姐姐 = 堂姐妹</p>
<p class="a">弟弟的表哥 = 姑表兄弟、舅表兄弟</p>
</div>
</li>
<li>
<div class="item">
<p class="q">6. 根据语境确认性别:</p>
<p class="a">老婆的女儿的外婆 = 岳母</p>
<p class="a">爱人的婆婆的儿子 = 兄弟</p>
<p class="a">岳母的配偶的儿子的爸爸 = 岳父</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="mod-article">
<div class="inner">
<div class="bd">
<p>亲属是基于婚姻、血缘和法律拟制而形成的社会关系。亲属关系包括夫妻、父母、子女、兄弟姊妹、祖父母和外祖父母、孙子女和外孙子女、儿媳和公婆、女婿和岳父母、以及其他三代以内的旁系血亲,如伯、叔、姑、舅、姨、侄子女、甥子女、堂兄弟姊妹、表兄弟姊妹等。</p> <p>亲属是基于婚姻、血缘和法律拟制而形成的社会关系。亲属关系包括夫妻、父母、子女、兄弟姊妹、祖父母和外祖父母、孙子女和外孙子女、儿媳和公婆、女婿和岳父母、以及其他三代以内的旁系血亲,如伯、叔、姑、舅、姨、侄子女、甥子女、堂兄弟姊妹、表兄弟姊妹等。</p>
<p>亲属称谓指是以本人为中心确定亲族成员和本人关系的名称,是基于血亲姻亲基础上的亲属之间相互称呼的名称、叫法。汉族的家族亲属关系条理分明尊卑有序:比自己长一辈的称呼有姨姑舅叔伯,同辈的有兄弟姊妹、堂表亲等等,下一辈有甥侄等等。中国人由于姻亲而产生的亲戚关系相当庞杂,“祖宗十八代”“五服”“九族”让人难以区分,其派生出的各种称谓也是中华文化的一大特征。</p> <p>亲属称谓指是以本人为中心确定亲族成员和本人关系的名称,是基于血亲姻亲基础上的亲属之间相互称呼的名称、叫法。汉族的家族亲属关系条理分明尊卑有序:比自己长一辈的称呼有姨姑舅叔伯,同辈的有兄弟姊妹、堂表亲等等,下一辈有甥侄等等。中国人由于姻亲而产生的亲戚关系相当庞杂,“祖宗十八代”“五服”“九族”让人难以区分,其派生出的各种称谓也是中华文化的一大特征。</p>
<p>如今由于工作生活节奏差异,很多关系稍疏远的亲戚之间来往并不多,年龄差异长幼辈分模糊。春节拜年走亲戚遇到七大姑八大姨,往往会搞不清楚哪位亲戚应该喊什么称呼,很是尴尬。不仅小孩搞不清亲戚关系和亲戚称谓,就连年轻一代的大人也都常常模糊混乱。</p> <p>如今由于工作生活节奏差异,很多关系稍疏远的亲戚之间来往并不多,年龄差异长幼辈分模糊。春节拜年走亲戚遇到七大姑八大姨,往往会搞不清楚哪位亲戚应该喊什么称呼,很是尴尬。不仅小孩搞不清亲戚关系和亲戚称谓,就连年轻一代的大人也都常常模糊混乱。</p>
<p>“中国亲戚关系计算器”为你避免了叫错、不会叫亲戚的尴尬,收录了中国亲戚关系称呼大全,只需简单的输入即可完成称呼计算。称呼计算器同时兼容了不同地域的方言叫法,你可以称呼父亲为:“老爸”、“爹地”、“老爷子”等等。让您准确的叫出亲戚称谓,理清亲属之间的亲戚关系,轻松掌握中国式的亲戚关系换算,让你更了解中国文化。</p> <p>“中国亲戚关系计算器”为你避免了叫错、不会叫亲戚的尴尬,收录了中国亲戚关系称呼大全,只需简单的输入即可完成称呼计算。称呼计算器同时兼容了不同地域的方言叫法,你可以称呼父亲为:“老爸”、“爹地”、“老爷子”等等。让您准确的叫出亲戚称谓,理清亲属之间的亲戚关系,轻松掌握中国式的亲戚关系换算,让你更了解中国文化。</p>
</div> </div>
<div class="copy"> </div>
<p><span>本程序基于MIT许可协议开源使用请保留版权信息</span></p> </div>
<p><span>程序持续更新,如发现错漏可在此</span><a class="text-red" href="https://github.com/mumuy/relationship/issues" rel="nofollow" target="_blank">反馈问题</a></p> <div class="mod-copy">
<p class="buttons"> <div class="inner">
<div class="hd"><span>算法开源</span></div>
<div class="bd">
<p><span>本程序基于 <a href="https://github.com/mumuy/relationship/blob/master/LICENSE" rel="nofollow" target="_blank">MIT许可协议</a> 开源,除需在源码中保留版权信息和许可声明外,你有权利进行使用、复制、修改、合并、出版发行等</span></p>
<p><span>算法持续更新中,如发现错漏或有想法建议可在此</span> <a class="text-red" href="https://github.com/mumuy/relationship/issues" rel="nofollow" target="_blank">反馈问题</a></p>
<div class="buttons">
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a> <a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
<a class="github-button" href="https://github.com/mumuy/relationship/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork mumuy/relationship on GitHub">Fork</a>
<a class="github-button" href="https://github.com/mumuy/relationship" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a> <a class="github-button" href="https://github.com/mumuy/relationship" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a>
</p>
<p>&copy; <a href="http://passer-by.com">passer-by.com</a></p>
</div> </div>
</div> </div>
</div> </div>
<div class="mod-qrcode"> </div>
<div class="box"><img src="image/qrcode.jpg" width="150" alt="亲戚关系微信小程序"/></div> <div class="mod-app">
<div class="inner">
<div class="hd"><span>他们都在用</span></div>
<div class="bd">
<ul>
<li>
<div class="app">
<span class="icon"><img src="image/icon/miui.png" width="64" height="64"/></span>
<span class="name">小米计算器</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/quanneng.png" width="64" height="64"/></span>
<span class="name">全能计算器</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/yuwendaren.png" width="64" height="64"/></span>
<span class="name">有道语文达人</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/qinqi.png" width="64" height="64"/></span>
<span class="name">亲戚计算器</span>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="mod-foot">
<div class="inner">
<div class="bd">
<div class="box">
<p><img src="image/qrcode.jpg" width="150" alt="亲戚关系微信小程序"/></p>
<p>微信扫一扫,使用小程序</p> <p>微信扫一扫,使用小程序</p>
</div> </div>
<p>Copyright &copy; <a href="http://passer-by.com">passer-by.com</a></p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -199,6 +199,18 @@
'[f,f|f,m|m,f],[f,m],m':['老太奶奶','祖太奶奶'], '[f,f|f,m|m,f],[f,m],m':['老太奶奶','祖太奶奶'],
'[f,m|m,f|m,m],[f,m],f':['老太姥爷','祖太姥爷'], '[f,m|m,f|m,m],[f,m],f':['老太姥爷','祖太姥爷'],
'[f,m|m,f|m,m],[f,m],m':['老太姥姥','祖太姥姥'], '[f,m|m,f|m,m],[f,m],m':['老太姥姥','祖太姥姥'],
'[f|m],[f|m],f':['太老爷'],
'[f|m],[f|m],f,ob':['伯太老爷'],
'[f|m],[f|m],f,ob,w':['伯太老姥'],
'[f|m],[f|m],f,lb':['叔太老爷'],
'[f|m],[f|m],f,lb,w':['叔太老姥'],
'[f|m],[f|m],f,xs':['姑太老姥'],
'[f|m],[f|m],f,xs,h':['姑太老爷'],
'[f|m],[f|m],m':['太老姥'],
'[f|m],[f|m],m,xb':['舅太老爷'],
'[f|m],[f|m],m,xb,w':['舅太老姥'],
'[f|m],[f|m],m,xs':['姨太老姥'],
'[f|m],[f|m],m,xs,h':['姨太老爷'],
'[f,f|f,m|m,f],f':['太奶爷','祖奶爷'], '[f,f|f,m|m,f],f':['太奶爷','祖奶爷'],
'[f,f|f,m|m,f],f,ob':['伯太奶爷','太伯奶爷'], '[f,f|f,m|m,f],f,ob':['伯太奶爷','太伯奶爷'],
'[f,f|f,m|m,f],f,ob,w':['伯太奶奶','太伯奶奶'], '[f,f|f,m|m,f],f,ob,w':['伯太奶奶','太伯奶奶'],
@ -224,6 +236,18 @@
'[f,m|m,f|m,m],m,xs':['姨太姥姥','太姨姥姥'], '[f,m|m,f|m,m],m,xs':['姨太姥姥','太姨姥姥'],
'[f,m|m,f|m,m],m,xs,h':['姨太姥爷','太姨姥爷'], '[f,m|m,f|m,m],m,xs,h':['姨太姥爷','太姨姥爷'],
'[f,m][f,m]':['祖辈'], '[f,m][f,m]':['祖辈'],
'[f|m],f':['老爷'],
'[f|m],f,ob':['伯老爷'],
'[f|m],f,ob,w':['伯老姥'],
'[f|m],f,lb':['叔老爷'],
'[f|m],f,lb,w':['叔老姥'],
'[f|m],f,xs':['姑老姥'],
'[f|m],f,xs,h':['姑老爷'],
'[f|m],m':['老姥'],
'[f|m],m,xb':['舅老爷'],
'[f|m],m,xb,w':['舅老姥'],
'[f|m],m,xs':['姨老姥'],
'[f|m],m,xs,h':['姨老爷'],
'f,[f|m]':['祖父母','爷爷奶奶'], 'f,[f|m]':['祖父母','爷爷奶奶'],
'm,[f|m]':['外祖父母','外公外婆','姥姥姥爷'], 'm,[f|m]':['外祖父母','外公外婆','姥姥姥爷'],
'[f|m]':['父母','爹娘','爹妈','爸妈','爸爸妈妈','父母亲','双亲','二亲','两亲','二老','高堂'], '[f|m]':['父母','爹娘','爹妈','爸妈','爸爸妈妈','父母亲','双亲','二亲','两亲','二老','高堂'],
@ -277,7 +301,7 @@
'xb,[s|d]':['侄子女','侄子侄女'], 'xb,[s|d]':['侄子女','侄子侄女'],
'xs,[s|d]':['甥子女','外甥子女'], 'xs,[s|d]':['甥子女','外甥子女'],
'[w|s|d]':['妻儿'], '[w|s|d]':['妻儿'],
'[s|d]':['子女','儿女','小孩','孩子','孩子们','孩儿','小孩儿','宝宝','宝贝','娃','儿辈','子辈'], '[s|d]':['子女','儿女','小孩','孩子','孩子们','孩儿','小孩儿','宝宝','宝贝','娃','儿辈','子辈','崽','幺儿'],
'[s|d],[s|d]':['孙辈'], '[s|d],[s|d]':['孙辈'],
's,[s|d]':['孙子女'], 's,[s|d]':['孙子女'],
'd,[s|d]':['外孙子女'], 'd,[s|d]':['外孙子女'],
@ -317,7 +341,7 @@
'm,m,m,m':['外曾外曾外祖母','高毑母'], 'm,m,m,m':['外曾外曾外祖母','高毑母'],
// 曾祖辈 // 曾祖辈
'f,f,f':['曾祖父','曾祖','外曾外毑父','太公','太爷','祖爷','太翁','太爷爷','三世祖'], 'f,f,f':['曾祖父','曾祖','外曾外毑父','太公','太爷','祖爷','太翁','太爷爷','三世祖'],
'f,f,m':['曾祖母','外曾外毑母','太婆','太奶','太嬷','太姆','太奶奶'], 'f,f,m':['曾祖母','外曾外毑母','太婆','太奶','太嬷','太姆','太奶奶','老娭毑'],
'f,m,f':['曾外祖父','曾外祖','外曾毑父','太外公','太外爷','太外翁','太外爷爷'], 'f,m,f':['曾外祖父','曾外祖','外曾毑父','太外公','太外爷','太外翁','太外爷爷'],
'f,m,m':['曾外祖母','外曾毑母','太外婆','太外奶','太外姆','太外奶奶'], 'f,m,m':['曾外祖母','外曾毑母','太外婆','太外奶','太外姆','太外奶奶'],
'm,f,f':['外曾祖父','外曾祖','曾外毑父','外太公','外太爷','外太翁','外太爷爷','老外公','老外爷','老姥爷'], 'm,f,f':['外曾祖父','外曾祖','曾外毑父','外太公','外太爷','外太翁','外太爷爷','老外公','老外爷','老姥爷'],
@ -327,22 +351,22 @@
'f,f,f,xb':['族曾祖父'], 'f,f,f,xb':['族曾祖父'],
'f,f,f,xb,w':['族曾祖母'], 'f,f,f,xb,w':['族曾祖母'],
// 祖父辈 // 祖父辈
'f,f':['爷爷','祖父','奶爷','阿爷','阿公','二世祖'], 'f,f':['爷爷','祖父','奶爷','阿爷','阿公','嗲嗲','二世祖'],
'f,m':['奶奶','祖母','阿嬷','阿嫲','嫲嫲'], 'f,m':['奶奶','祖母','阿嬷','阿嫲','嫲嫲','婻婻','娭毑'],
'm,f':['外公','外祖父','姥爷','阿公','客公','外爷','舅家爷','毑父','毑爷'], 'm,f':['外公','外祖父','姥爷','阿公','客公','外爷','舅家爷','毑父','毑爷','嘎公'],
'm,m':['外婆','外祖母','姥姥','姥娘','阿婆','阿嬷','阿嫲','嫲嫲','外奶','客婆','舅家婆','毑母','毑毑'], 'm,m':['外婆','外祖母','姥姥','姥娘','姥婆','毑婆','阿婆','阿嬷','阿嫲','嫲嫲','外奶','客婆','舅家婆','毑母','毑毑','嘎嘎'],
'f,f,ob':['伯公','伯祖','伯翁','伯爷','伯祖父','伯老爷','大爷爷','大爷','大公','伯爷爷','大伯公','大阿爷','x伯公','x阿爷'], 'f,f,ob':['伯公','伯祖','伯翁','伯爷','伯祖父','大爷爷','大爷','大公','伯爷爷','大伯公','大阿爷','x伯公','x阿爷'],
'f,f,ob,w':['伯婆','伯祖母','伯奶奶','大奶奶','姆婆'], 'f,f,ob,w':['伯婆','伯祖母','伯奶奶','大奶奶','姆婆'],
'f,f,lb':['叔公','叔祖','叔翁','叔爷','叔祖父','叔老爷','小爷爷','叔爷爷','叔奶爷','晚公','x叔公'], 'f,f,lb':['叔公','叔祖','叔翁','叔爷','叔祖父','小爷爷','叔爷爷','叔奶爷','晚公','x叔公'],
'f,f,lb,w':['叔婆','叔祖母','叔奶奶','小奶奶','婶婆','晚婆'], 'f,f,lb,w':['叔婆','叔祖母','叔奶奶','小奶奶','婶婆','晚婆'],
'f,f,xb':['堂祖父','从祖祖父','从祖父','x爷爷','x大爷','x爷','x公'], 'f,f,xb':['堂祖父','从祖祖父','从祖父','x爷爷','x大爷','x爷','x公'],
'f,f,xb,w':['堂祖母','从祖祖母','从祖母','x奶奶','x大娘','x奶','x婆'], 'f,f,xb,w':['堂祖母','从祖祖母','从祖母','x奶奶','x大娘','x奶','x婆'],
'f,f,xs':['姑奶奶','祖姑母','姑祖母','姑奶','姑婆','祖姑'], 'f,f,xs':['姑奶奶','祖姑母','姑祖母','姑奶','姑婆','祖姑'],
'f,f,xs,h':['姑爷爷','祖姑父','祖姑丈','姑祖父','姑老爷','姑公','姑奶爷','姑丈公','丈公'], 'f,f,xs,h':['姑爷爷','祖姑父','祖姑丈','姑祖父','姑公','姑奶爷','姑丈公','丈公'],
'f,m,xb':['舅公','舅祖父','舅老爷','舅爷爷','舅爷','舅祖','舅奶爷','舅爹','太舅父','x舅老爷','x舅公'], 'f,m,xb':['舅公','舅祖父','舅爷爷','舅爷','舅祖','舅奶爷','舅爹','太舅父','x舅老爷','x舅公'],
'f,m,xb,w':['舅婆','舅祖母','舅奶奶','舅奶','妗婆','妗奶','太舅母','x舅婆'], 'f,m,xb,w':['舅婆','舅祖母','舅奶奶','舅奶','妗婆','妗奶','太舅母','x舅婆'],
'f,m,xs':['姨奶奶','祖姨母','姨祖母','姨婆','姨奶','x姨奶'], 'f,m,xs':['姨奶奶','祖姨母','姨祖母','姨婆','姨奶','x姨奶'],
'f,m,xs,h':['姨爷爷','祖姨父','姨祖父','姨公','姨丈公','姨爷','姨老爷','姨奶爷'], 'f,m,xs,h':['姨爷爷','祖姨父','姨祖父','姨公','姨公公','姨丈公','姨爷','姨奶爷'],
'm,f,ob':['外伯公','伯外祖父','外伯祖父','伯姥爷','外伯祖','伯外祖','大外公','大姥爷','大外爷'], 'm,f,ob':['外伯公','伯外祖父','外伯祖父','伯姥爷','外伯祖','伯外祖','大外公','大姥爷','大外爷'],
'm,f,ob,w':['外伯婆','伯外祖母','外伯祖母','伯姥姥','外姆婆','大外婆','大姥姥','大姥奶'], 'm,f,ob,w':['外伯婆','伯外祖母','外伯祖母','伯姥姥','外姆婆','大外婆','大姥姥','大姥奶'],
'm,f,lb':['外叔公','叔外祖父','外叔祖父','叔姥爷','外叔祖','叔外祖','小外公','小姥爷','小外爷'], 'm,f,lb':['外叔公','叔外祖父','外叔祖父','叔姥爷','外叔祖','叔外祖','小外公','小姥爷','小外爷'],
@ -353,18 +377,18 @@
'm,f,xs,h':['外姑公','姑姥爷','姑外祖父','外姑祖父','外祖姑父','外太姑父','外姑丈公','外丈公','x姑姥爷'], 'm,f,xs,h':['外姑公','姑姥爷','姑外祖父','外姑祖父','外祖姑父','外太姑父','外姑丈公','外丈公','x姑姥爷'],
'm,m,xb':['外舅公','外舅祖父','外太舅父','舅外祖父','外祖舅父','舅外公','舅外爷','舅姥爷','舅爹','舅公','x舅姥爷'], 'm,m,xb':['外舅公','外舅祖父','外太舅父','舅外祖父','外祖舅父','舅外公','舅外爷','舅姥爷','舅爹','舅公','x舅姥爷'],
'm,m,xb,w':['外舅婆','外舅祖母','外太舅母','舅外祖母','外祖舅母','舅外婆','舅外奶','舅姥姥','舅姥','舅婆','妗姥姥','妗姥娘','妗姥','外妗婆','x舅姥姥'], 'm,m,xb,w':['外舅婆','外舅祖母','外太舅母','舅外祖母','外祖舅母','舅外婆','舅外奶','舅姥姥','舅姥','舅婆','妗姥姥','妗姥娘','妗姥','外妗婆','x舅姥姥'],
'm,m,xs':['外姨婆','姨外祖母','姨外婆','姨外奶','姨姥姥','姨姥','外姨祖母','从母外祖母','x姨姥姥'], 'm,m,xs':['外姨婆','姨外祖母','姨外婆','姨外奶','姨姥姥','姨姥','外姨祖母','从母外祖母','姨家家','x姨姥姥'],
'm,m,xs,h':['外姨公','姨外祖父','姨外公','姨外爷','姨姥爷','外姨祖父','从母外祖父','x姨姥爷'], 'm,m,xs,h':['外姨公','姨外祖父','姨外公','姨外爷','姨姥爷','外姨祖父','从母外祖父','x姨姥爷'],
// 父辈 // 父辈
'f':['爸爸','父亲','老爸','阿爸','阿爹','老窦','老汉','老汉儿','老子','爸','父','爹','爹爹','爹地','爹啲','老爹','老爷子','一世祖'], 'f':['爸爸','父亲','老爸','阿爸','阿爹','老窦','老汉','老汉儿','老子','牙老子','牙老倌','爸','父','爹','爹爹','爹地','爹啲','老爹','老爷子','一世祖'],
'm':['妈妈','母亲','阿妈','老母','老妈','老娘','老妈子','妈子','姆嬷','姆妈','妈','母','娘','娘亲','妈咪'], 'm':['妈妈','母亲','阿妈','老母','老妈','老娘','老妈子','妈子','娘老子','姆嬷','姆妈','妈','母','娘','娘亲','妈咪'],
'f,ob':['伯父','伯伯','阿伯','大伯','大伯爷','大大','世父','大爹','大爸','x伯'], 'f,ob':['伯父','伯伯','阿伯','大伯','大伯爷','大大','世父','大爹','大爸','x伯'],
'f,ob,w':['伯母','伯妈','伯娘','姆姆','姆','世母','大娘','大妈','大姆妈','x伯母','x妈'], 'f,ob,w':['伯母','伯妈','伯娘','姆姆','姆','世母','大娘','大妈','大姆妈','x伯母','x妈'],
'f,lb':['叔叔','叔父','叔爸','叔爹','阿叔','仲父','季父','小叔','小爹','小爸','尕爸','幺爸','幺叔','细叔','满叔','晚叔','叔','x叔'], 'f,lb':['叔叔','叔父','叔爸','叔爹','阿叔','仲父','季父','小叔','小爹','小爸','尕爸','幺爸','幺爹','幺叔','细叔','满叔','晚叔','叔','x叔'],
'f,lb,w':['婶婶','婶母','婶娘','婶妈','婶爹','阿婶','仲母','季母','小婶','小娘','小妈','尕婶','幺婶','细婶','满婶','晚婆','小婶娘','婶子','婶儿','家婶','叔母','叔妈','叔娘','婶','x叔母','x婶'], 'f,lb,w':['婶婶','婶母','婶娘','婶妈','婶爹','阿婶','仲母','季母','小婶','小娘','小妈','尕婶','幺婶','细婶','满婶','晚婆','小婶娘','婶子','婶儿','家婶','叔母','叔妈','叔娘','婶','x叔母','x婶'],
'f,os':['大姑','大姑妈','姑姊'], 'f,os':['大姑','大姑妈','姑姊'],
'f,ls':['小姑','小姑妈','姑姐','姑妹','姑仔','尕娘','幺姑','幺姑姐','老姑','细姑','满姑'], 'f,ls':['小姑','小姑妈','姑姐','姑妹','姑仔','尕娘','幺姑','幺姑姐','老姑','细姑','满姑'],
'f,xs':['姑妈','姑母','姑姑','嬢嬢','娘娘','姑','x嬢嬢','x嬢','x姑妈','x姑'], 'f,xs':['姑妈','姑母','姑姑','嬢嬢','娘娘','姑','阿姑','x嬢嬢','x嬢','x姑妈','x姑'],
'f,xs,h':['姑丈','姑父','姑爸','姑爹','姑夫','姑婿','亘','x姑丈','x姑父'], 'f,xs,h':['姑丈','姑父','姑爸','姑爹','姑夫','姑婿','亘','x姑丈','x姑父'],
'm,ob':['大舅','舅父'], 'm,ob':['大舅','舅父'],
'm,ob,w':['大舅妈','大妗'], 'm,ob,w':['大舅妈','大妗'],
@ -390,7 +414,6 @@
'm,f,xb,d':['堂姨'], 'm,f,xb,d':['堂姨'],
'm,f,xb,d,h':['堂姨丈'], 'm,f,xb,d,h':['堂姨丈'],
// 同辈 // 同辈
'h':['老公','丈夫','先生','官人','男人','汉子','夫','夫君','相公','夫婿','良人','老头子','爱人','老伴','那口子','配偶','伴侣','卿卿'],
'f,xb,s&o':['堂哥','堂阿哥'], 'f,xb,s&o':['堂哥','堂阿哥'],
'f,xb,s&o,w':['堂嫂','堂兄嫂'], 'f,xb,s&o,w':['堂嫂','堂兄嫂'],
'f,xb,s&l':['堂弟','堂阿弟'], 'f,xb,s&l':['堂弟','堂阿弟'],
@ -419,7 +442,7 @@
'h,m,f':['外祖公父','外祖公','姥公父','姥公'], 'h,m,f':['外祖公父','外祖公','姥公父','姥公'],
'h,m,m':['外祖婆母','外祖婆','姥婆母','姥婆'], 'h,m,m':['外祖婆母','外祖婆','姥婆母','姥婆'],
'h,f':['公公','翁亲','家公','大官','老公公','老人公','公爹','婆父','婆爹'], 'h,f':['公公','翁亲','家公','大官','老公公','老人公','公爹','婆父','婆爹'],
'h,m':['婆婆','婆母','家婆','姑亲','大家','婆母娘','老婆婆','老人婆'], 'h,m':['婆婆','婆母','家婆','姑亲','大家','婆母娘','老婆婆','老人婆','婆子妈'],
'h,f,ob':['伯公父','伯公','伯翁'], 'h,f,ob':['伯公父','伯公','伯翁'],
'h,f,ob,w':['伯婆母','伯婆','伯姆'], 'h,f,ob,w':['伯婆母','伯婆','伯姆'],
'h,f,lb':['叔公父','叔公','叔翁','叔祖'], 'h,f,lb':['叔公父','叔公','叔翁','叔祖'],
@ -428,6 +451,7 @@
'h,m,xb,w':['舅婆母','舅婆','妗婆婆'], 'h,m,xb,w':['舅婆母','舅婆','妗婆婆'],
'h,m,xs':['姨婆母','姨婆'], 'h,m,xs':['姨婆母','姨婆'],
'h,m,xs,h':['姨公父','姨公'], 'h,m,xs,h':['姨公父','姨公'],
'h':['老公','丈夫','先生','官人','男人','汉子','夫','夫君','相公','夫婿','良人','老头子','爱人','老伴','那口子','配偶','伴侣','卿卿'],
'h,ob':['大伯子','大伯兄','夫兄','外兄'], 'h,ob':['大伯子','大伯兄','夫兄','外兄'],
'h,ob,w':['大婶子','大伯兄姊','外兄嫂','伯嫂','大伯嫂','大伯妇','大伯娘','夫兄嫂'], 'h,ob,w':['大婶子','大伯兄姊','外兄嫂','伯嫂','大伯嫂','大伯妇','大伯娘','夫兄嫂'],
'h,lb':['小叔子','小叔弟','夫弟','外弟'], 'h,lb':['小叔子','小叔弟','夫弟','外弟'],
@ -449,22 +473,22 @@
'w,m,f,m':['外曾祖岳母','外曾祖丈母','太奶丈母娘','祖姥丈母娘','太姥丈母娘'], 'w,m,f,m':['外曾祖岳母','外曾祖丈母','太奶丈母娘','祖姥丈母娘','太姥丈母娘'],
'w,m,m,f':['外曾外祖岳父','外曾外祖丈人','祖姥爷丈人','太姥爷丈人'], 'w,m,m,f':['外曾外祖岳父','外曾外祖丈人','祖姥爷丈人','太姥爷丈人'],
'w,m,m,m':['外曾外祖岳母','外曾外祖丈母','外曾外祖丈母娘','祖姥丈母娘','太姥丈母娘'], 'w,m,m,m':['外曾外祖岳母','外曾外祖丈母','外曾外祖丈母娘','祖姥丈母娘','太姥丈母娘'],
'w,f,f':['祖岳父','太岳父','奶岳父','祖丈人','爷丈人','奶爷丈人'], 'w,f,f':['祖岳父','太岳父','奶岳父','祖丈人','爷丈人','奶爷丈人','奶丈爷','奶丈人','老丈爷'],
'w,f,m':['祖岳母','太岳母','奶岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈母'], 'w,f,m':['祖岳母','太岳母','奶岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈姥','奶丈','老丈姥'],
'w,m,f':['外祖岳父','外祖丈人','外太岳父','姥岳父','姥丈人','姥爷丈人'], 'w,m,f':['外祖岳父','外祖丈人','外太岳父','姥岳父','姥丈爷','姥丈人','姥爷丈人','老丈爷'],
'w,m,m':['外祖岳母','外祖丈母娘','外祖丈母','外太岳母','姥岳母','姥丈母','姥丈母娘'], 'w,m,m':['外祖岳母','外祖丈母娘','外祖丈母','外太岳母','姥岳母','姥丈姥','姥丈母','姥丈母娘'],
'w,f':['岳父','岳丈','老丈人','丈人爹','岳翁','丈人','丈父','内父','外父','妻父','泰山','外舅'], 'w,f':['岳父','岳丈','岳老子','老干爷','老丈人','丈母爷','老丈杆子','丈人爹','丈爷爹','岳翁','丈人','丈父','丈爷','外父','妻父','泰山','外舅','老亲爷'],
'w,m':['岳母','丈母娘','老丈母','丈人娘','丈母','内母','外母','妻母','泰水','外姑'], 'w,m':['岳母','丈母娘','丈姥娘','岳母娘','老干娘','老丈母','丈人娘','丈母','丈姥','外母','泰水','外姑','老亲娘'],
'w':['老婆','妻子','太太','媳妇儿','媳妇','夫人','女人','婆娘','妻','内人','内子','娘子','爱妻','老太婆','老婆子','爱人','老伴','那口子','配偶','伴侣','卿卿'], 'w':['老婆','妻子','太太','媳妇儿','媳妇','夫人','女人','婆娘','妻','内人','内子','娘子','爱妻','老太婆','老婆子','爱人','老伴','那口子','配偶','伴侣','卿卿'],
'w,ob':['大舅子','大舅兄','妻兄','内兄','岳兄','舅兄'], 'w,ob':['大舅子','大舅兄','舅兄'],
'w,ob,w':['大舅妇','大舅兄嫂','舅嫂','大舅嫂','大舅姐','大舅媳妇','大妗子','妻嫂','内嫂','妻兄妇','内兄妇','岳兄妇','舅兄妇'], 'w,ob,w':['大舅妇','大舅兄嫂','舅嫂','大舅嫂','大舅姐','大舅媳妇','大妗子','妻嫂','内嫂','妻兄妇','内兄妇','岳兄妇','舅兄妇'],
'w,lb':['小舅子','小舅弟','妻弟','内弟','岳弟','舅弟'], 'w,lb':['小舅子','小舅弟','舅弟'],
'w,lb,w':['小舅妇','小舅弟妇','舅弟媳','小舅妹','小舅媳妇','小妗子','妻妹夫','内妹夫','妻弟妇','内弟妇','岳弟妇','舅弟妇'], 'w,lb,w':['小舅妇','小舅弟妇','舅弟媳','小舅妹','小舅媳妇','小妗子','妻妹夫','内妹夫','妻弟妇','内弟妇','岳弟妇','舅弟妇'],
'w,xb':['妻舅'], 'w,xb':['妻舅'],
'w,xb,w':['妻妗'], 'w,xb,w':['妻妗'],
'w,os':['大姨子','大姨姐','妻姐','内姐'], 'w,os':['大姨子','大姨姐'],
'w,os,h':['大姨夫','大姨姐夫','襟兄','大尹子'], 'w,os,h':['大姨夫','大姨姐夫','襟兄','大尹子'],
'w,ls':['小姨子','小姨妹','妻妹','内妹','小妹儿'], 'w,ls':['小姨子','小姨妹','小妹儿','姨妹子'],
'w,ls,h':['小姨夫','小姨妹夫','襟弟','小尹子'], 'w,ls,h':['小姨夫','小姨妹夫','襟弟','小尹子'],
'w,xs':['妻姨'], 'w,xs':['妻姨'],
'w,xs,h':['连襟','连桥','姨夫','姨夫爷','一担挑','老挑','担儿挑','连襟儿','妻尹'], 'w,xs,h':['连襟','连桥','姨夫','姨夫爷','一担挑','老挑','担儿挑','连襟儿','妻尹'],
@ -505,7 +529,7 @@
'0,xs,d':['姨甥女','姨甥'], '0,xs,d':['姨甥女','姨甥'],
'0,xs,d,h':['姨甥婿'], '0,xs,d,h':['姨甥婿'],
'xs,s':['外甥','外甥男','外甥儿','外甥子','外甥儿子'], 'xs,s':['外甥','外甥男','外甥儿','外甥子','外甥儿子'],
'xs,d':['外甥女','外甥囡'], 'xs,d':['外甥女','外甥囡','外甥女儿','外甥闺女'],
// 堂表亲 // 堂表亲
'f,xb,s,s':['堂侄','堂侄子','堂侄儿','堂侄男','从父侄男','叔伯侄男','从父侄子','叔伯侄子','从子'], 'f,xb,s,s':['堂侄','堂侄子','堂侄儿','堂侄男','从父侄男','叔伯侄男','从父侄子','叔伯侄子','从子'],
'f,xb,s,s,w':['堂侄媳妇','堂侄妇','从父侄妇','叔伯侄妇'], 'f,xb,s,s,w':['堂侄媳妇','堂侄妇','从父侄妇','叔伯侄妇'],
@ -513,7 +537,7 @@
'f,xb,d,s,w':['堂甥媳妇','堂甥妇','从父甥妇','叔伯甥妇'], 'f,xb,d,s,w':['堂甥媳妇','堂甥妇','从父甥妇','叔伯甥妇'],
// 子辈 // 子辈
's':['儿子','男儿','息男','闺男','囝囝','囝男','小子','男亲','长子','次子','幼子','儿','仔','子','阿仔','仔仔','x儿子','一世孙'], 's':['儿子','男儿','息男','闺男','囝囝','囝男','小子','男亲','长子','次子','幼子','儿','仔','子','阿仔','仔仔','x儿子','一世孙'],
's,w':['儿媳','儿媳妇','新妇','心抱','息妇','x儿媳'], 's,w':['儿媳','儿媳妇','儿媳妇儿','新妇','心抱','息妇','x儿媳'],
's,s':['孙子','孙男','孙男儿','孙儿','大孙子','x孙子','二世孙'], 's,s':['孙子','孙男','孙男儿','孙儿','大孙子','x孙子','二世孙'],
's,s,w':['孙媳妇','孙媳','孙妇','孙息妇','孙新妇','x孙媳'], 's,s,w':['孙媳妇','孙媳','孙妇','孙息妇','孙新妇','x孙媳'],
's,s,s':['曾孙','曾孙男','重孙','重孙子','息仔','三世孙'], 's,s,s':['曾孙','曾孙男','重孙','重孙子','息仔','三世孙'],
@ -581,9 +605,9 @@
's,d,d,s,w':['曾外曾外孙媳妇'], 's,d,d,s,w':['曾外曾外孙媳妇'],
's,d,d,d':['曾外曾外孙女'], 's,d,d,d':['曾外曾外孙女'],
's,d,d,d,h':['曾外曾外孙女婿'], 's,d,d,d,h':['曾外曾外孙女婿'],
'd':['女儿','千金','掌上明珠','息女','闺女','囡女','乖囡','囡囡','丫头','姑娘','女亲','长女','次女','幼女','女','阿女','女女','x女儿'], 'd':['女儿','千金','掌上明珠','息女','闺女','囡女','乖囡','囡囡','丫头','姑娘','妮子','女亲','长女','次女','幼女','女','阿女','女女','x女儿'],
'd,h':['女婿','姑爷','女婿子','女婿儿','儿婿','子婿','息婿','囝婿','x女婿'], 'd,h':['女婿','姑爷','女婿子','女婿儿','儿婿','子婿','息婿','囝婿','x女婿'],
'd,s':['外孙','外孙子'], 'd,s':['外孙','外孙子','外孙儿'],
'd,s,w':['外孙媳妇','外孙妇','外孙新妇'], 'd,s,w':['外孙媳妇','外孙妇','外孙新妇'],
'd,s,s':['外曾孙','重外孙','外息仔'], 'd,s,s':['外曾孙','重外孙','外息仔'],
'd,s,s,w':['外曾孙媳妇','外曾孙妇'], 'd,s,s,w':['外曾孙媳妇','外曾孙妇'],
@ -597,7 +621,7 @@
'd,s,d,s,w':['外玄外孙媳妇'], 'd,s,d,s,w':['外玄外孙媳妇'],
'd,s,d,d':['外玄外孙女'], 'd,s,d,d':['外玄外孙女'],
'd,s,d,d,h':['外玄外孙女婿'], 'd,s,d,d,h':['外玄外孙女婿'],
'd,d':['外孙女','外孙囡'], 'd,d':['外孙女','外孙囡','外孙女儿'],
'd,d,h':['外孙女婿','外孙婿'], 'd,d,h':['外孙女婿','外孙婿'],
'd,d,s':['外曾外孙','外息仔'], 'd,d,s':['外曾外孙','外息仔'],
'd,d,s,w':['外曾外孙媳妇'], 'd,d,s,w':['外曾外孙媳妇'],
@ -807,13 +831,13 @@
'm,m,{G1M},w':['?外曾外祖母','外曾外?祖母','?外太外婆','外太外?婆','外太外?奶','?外太外奶','?外太外奶奶','外太外?奶奶'], 'm,m,{G1M},w':['?外曾外祖母','外曾外?祖母','?外太外婆','外太外?婆','外太外?奶','?外太外奶','?外太外奶奶','外太外?奶奶'],
'm,m,{G1W}':['?外曾外祖母','外曾外?祖母','?外太外婆','外太外?婆','外太外?奶','?外太外奶','?外太外奶奶','外太外?奶奶'], 'm,m,{G1W}':['?外曾外祖母','外曾外?祖母','?外太外婆','外太外?婆','外太外?奶','?外太外奶','?外太外奶奶','外太外?奶奶'],
'm,m,{G1W},h':['?外曾外祖父','外曾外?祖父','?外太外公','外太外?公','外太外?爷','?外太外爷','?外太外爷爷','外太?外爷爷'], 'm,m,{G1W},h':['?外曾外祖父','外曾外?祖父','?外太外公','外太外?公','外太外?爷','?外太外爷','?外太外爷爷','外太?外爷爷'],
'f,{G1M}':['公','祖父','奶爷','爷爷','老爷','爷'], 'f,{G1M}':['公','祖父','奶爷','爷爷','爷'],
'f,{G1M},w':['婆','祖母','奶奶','奶'], 'f,{G1M},w':['婆','祖母','奶奶','奶'],
'f,{G1W}':['婆','祖母','奶奶','奶'], 'f,{G1W}':['婆','祖母','奶奶','奶'],
'f,{G1W},h':['公','祖父','奶爷','爷'], 'f,{G1W},h':['公','祖父','奶爷','爷'],
'm,{G1M}':['外?公','外祖父','姥爷'], 'm,{G1M}':['外?公','外祖父','姥爷'],
'm,{G1M},w':['外?婆','外祖母','姥姥'], 'm,{G1M},w':['外?婆','外祖母','姥姥','姥娘','姥婆','毑婆'],
'm,{G1W}':['外?婆','外祖母','姥姥'], 'm,{G1W}':['外?婆','外祖母','姥姥','姥娘','姥婆','毑婆'],
'm,{G1W},h':['外?公','外祖父','姥爷'], 'm,{G1W},h':['外?公','外祖父','姥爷'],
'f,{G1},s&o':['伯父','伯伯','伯'], 'f,{G1},s&o':['伯父','伯伯','伯'],
'f,{G1},s&o,w':['伯母'], 'f,{G1},s&o,w':['伯母'],
@ -836,7 +860,7 @@
'{G1},s,s,s,w':['侄孙妇'], '{G1},s,s,s,w':['侄孙妇'],
'{G1},s,s,d':['侄孙女'], '{G1},s,s,d':['侄孙女'],
'{G1},s,s,d,h':['侄孙婿'], '{G1},s,s,d,h':['侄孙婿'],
'{G1},s,d':['侄女'], '{G1},s,d':['侄女','侄女儿'],
'{G1},s,d,h':['侄婿'], '{G1},s,d,h':['侄婿'],
'{G1},s,d,s':['侄外孙男'], '{G1},s,d,s':['侄外孙男'],
'{G1},s,d,s,w':['侄外孙妇'], '{G1},s,d,s,w':['侄外孙妇'],
@ -877,10 +901,10 @@
'w,f,{G1M},w':['祖岳母','太?岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈母'], 'w,f,{G1M},w':['祖岳母','太?岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈母'],
'w,f,{G1W}':['祖岳母',,'太?岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈母'], 'w,f,{G1W}':['祖岳母',,'太?岳母','祖丈母','祖丈母娘','奶丈母娘','奶丈母'],
'w,f,{G1W},h':['祖岳父',,'太?岳父','祖丈人','爷丈人','奶爷丈人'], 'w,f,{G1W},h':['祖岳父',,'太?岳父','祖丈人','爷丈人','奶爷丈人'],
'm,f,{G1M}':['外祖岳父','太外?岳','外祖丈人','姥爷丈人'], 'w,m,{G1M}':['外祖岳父','太外?岳','外祖丈人','姥爷丈人'],
'm,f,{G1M},w':['外祖岳母','太外?岳母','外祖丈母','外祖丈母娘','姥丈母娘','姥丈母'], 'w,m,{G1M},w':['外祖岳母','太外?岳母','外祖丈母','外祖丈母娘','姥丈母娘','姥丈母'],
'm,f,{G1W}':['外祖岳母',,'太外?岳母','外祖丈母','外祖丈母娘','姥丈母娘','姥丈母'], 'w,m,{G1W}':['外祖岳母',,'太外?岳母','外祖丈母','外祖丈母娘','姥丈母娘','姥丈母'],
'm,f,{G1W},h':['外祖岳父',,'太外?岳父','外祖丈人','外爷丈人','姥爷丈人'], 'w,m,{G1W},h':['外祖岳父',,'太外?岳父','外祖丈人','外爷丈人','姥爷丈人'],
'w,{G1M}':['岳父','丈人','丈人爹'], 'w,{G1M}':['岳父','丈人','丈人爹'],
'w,{G1M},w':['岳母','丈母','丈母娘'], 'w,{G1M},w':['岳母','丈母','丈母娘'],
'w,{G1W}':['岳母','丈母','丈母娘'], 'w,{G1W}':['岳母','丈母','丈母娘'],
@ -1202,6 +1226,11 @@
'孙媳妇':'孙妇', '孙媳妇':'孙妇',
'甥媳妇':'甥妇', '甥媳妇':'甥妇',
'侄媳妇':'侄妇', '侄媳妇':'侄妇',
'伯曾':'曾伯',
'叔曾':'曾叔',
'姑曾':'曾姑',
'舅曾':'曾舅',
'姨曾':'曾姨',
}; };
// 含义扩展 // 含义扩展
var replaceFilter = { var replaceFilter = {
@ -1290,7 +1319,7 @@
if(sex>-1&&selector.indexOf(',1')==-1&&selector.indexOf(',0')==-1){ if(sex>-1&&selector.indexOf(',1')==-1&&selector.indexOf(',0')==-1){
selector = ','+sex+selector; selector = ','+sex+selector;
} }
if(selector.match(/,[w0],w|,[h1],h/)){ //同志关系去除 if(selector.match(/,[mwd0](&[ol])?,w|,[hfs1](&[ol])?,h/)){ //同志关系去除
return false; return false;
} }
var s=''; var s='';
@ -1308,7 +1337,7 @@
} }
} }
}while(s!=selector); }while(s!=selector);
if(selector.match(/,[w0],w|,[h1],h/)){ //同志关系去除 if(selector.match(/,[mwd0](&[ol])?,w|,[hfs1](&[ol])?,h/)){ //同志关系去除
return false; return false;
} }
selector = selector.replace(/,[01]/,'').substr(1); //去前面逗号和性别信息 selector = selector.replace(/,[01]/,'').substr(1); //去前面逗号和性别信息
@ -1406,10 +1435,7 @@
sid = sid.substring(0,sid.lastIndexOf(',')); sid = sid.substring(0,sid.lastIndexOf(','));
var id_arr = id.split(',').reverse(); var id_arr = id.split(',').reverse();
var sid_arr = sid.split(',').reverse(); var sid_arr = sid.split(',').reverse();
var arr = []; var arr = id_arr.map((id,i)=>hash[id][sid_arr[i]]);
for(var i=0;i<id_arr.length;i++){
arr.push(hash[id_arr[i]][sid_arr[i]]);
}
var g = 0; var g = 0;
var gMap = {'f':1,'m':1,'s':-1,'d':-1}; var gMap = {'f':1,'m':1,'s':-1,'d':-1};
arr.forEach(function(r){ arr.forEach(function(r){
@ -1467,6 +1493,9 @@
var to_ids = selector2id(to,my_sex); var to_ids = selector2id(to,my_sex);
var from_rids = []; var from_rids = [];
var to_rids = []; var to_rids = [];
if(!from_ids.length||!to_ids.length){
return false;
}
if(to){ if(to){
var toIsMale = false; var toIsMale = false;
var toIsFemale = false; var toIsFemale = false;

View File

@ -23,21 +23,23 @@ a:hover{
} }
.wrapper{ .wrapper{
background: #fdfdfd; background: url('../image/bg.svg') center top repeat-x;
}
.header{
margin-bottom: 15px;
} }
.container{ .container{
padding: 0 15px 30px; padding-bottom: 30px;
} }
.inner{ .inner{
max-width: 720px; max-width: 1000px;
padding: 0 10px;
margin: 0 auto; margin: 0 auto;
} }
.mod-head .bd{ .mod-head .bd{
max-width: 540px;
height: 36px; height: 36px;
padding: 10px; padding: 10px 0;
margin:0 auto 5px;
text-align: right; text-align: right;
} }
.mod-head .bd span.language{ .mod-head .bd span.language{
@ -45,7 +47,8 @@ a:hover{
display: inline-block; display: inline-block;
height: 36px; height: 36px;
padding: 0 8px; padding: 0 8px;
background: #f0f0f0; background: rgba(255,255,255,0.3);
border: 1px solid rgba(0,0,0,0.05);
line-height: 36px; line-height: 36px;
color: #666; color: #666;
border-radius: 6px; border-radius: 6px;
@ -63,9 +66,9 @@ a:hover{
display: inline-block; display: inline-block;
min-width: 56px; min-width: 56px;
height: 34px; height: 34px;
background: #fff;
padding: 0 12px; padding: 0 12px;
border: 1px solid #ececec; background: rgba(255,255,255,0.3);
border: 1px solid rgba(0,0,0,0.05);
border-radius: 6px; border-radius: 6px;
line-height: 34px; line-height: 34px;
text-decoration: none; text-decoration: none;
@ -107,60 +110,94 @@ a:hover{
opacity: .02; opacity: .02;
} }
.mod-panel { .mod-panel{
width: 100%; margin-bottom: 75px;
} }
.mod-panel h1{ .mod-panel .hd{
line-height: 32px; float: left;
font-size: 22px; width: 50%;
color:#212121; padding-top: 15px;
line-height: 22px;
} }
.mod-panel h1 span.tag{ .mod-panel .hd h1{
margin-bottom: 10px;
line-height: 30px;
font-weight: bold;
font-size: 30px;
color:#1a2b3b;
}
.mod-panel .hd h1 span.name{
display: block;
}
.mod-panel .hd h1 span.tag{
display: inline-block; display: inline-block;
padding: 0 8px; padding: 0 8px;
margin: 0 5px; margin: 0 5px;
background: rgb(246, 248, 250); background: rgba(255, 255, 255,0.8);
line-height: 22px; line-height: 26px;
vertical-align: middle; vertical-align: middle;
font-size: 13px; font-size: 13px;
color: rgb(110, 119, 129); color: rgb(110, 119, 129);
border-radius: 4px; border-radius: 4px;
box-shadow: 0 1px 5px 0 rgba(0,0,0,0.03);
} }
.mod-panel h2{ .mod-panel .hd p{
line-height: 30px; line-height: 26px;
font-size: 15px;
}
.mod-panel .hd .picture{
position: relative;
padding-top: 15px;
margin-right: 20%;
text-align: center; text-align: center;
font-weight: normal;
font-size: 18px;
} }
.mod-panel .hd,.mod-panel .bd{ .mod-panel .hd .picture .btn{
max-width: 540px; display: inline-block;
margin:0 auto; height: 36px;
margin-top: -20px;
padding: 0 20px;
background: #2095f2;
border: 1px solid rgba(0,0,0,0.05);
border-radius: 6px;
line-height: 36px;
text-decoration: none;
text-align: center;
font-size: 15px;
color: #fff;
overflow: hidden;
transition: color .2s,opacity .2s;
font-family: Tahoma,Arial, Helvetica,"Microsoft YaHei";
outline: none;
-webkit-appearance: none;
} }
.mod-panel .hd{ .mod-panel .hd .picture .btn:hover {
padding: 10px 0; background: #207fcc;
margin-bottom: 5px;
line-height: 22px;
text-align: left;
} }
.mod-panel .hd b{ .mod-panel .hd b{
margin: 0 3px; margin: 0 3px;
color: #fd7474; color: #fd7474;
} }
.mod-panel .bd{
margin-left: 55%;
background: #fff;
box-shadow: 0 1px 5px 0 rgba(0,0,0,0.025);
border: 1px solid rgba(0,0,0,0.025);
}
.mod-panel .bd .c-hd{ .mod-panel .bd .c-hd{
height: 36px; height: 44px;
margin-bottom: 10px; border-bottom: 1px solid #f4f4f4;
border-bottom: 1px solid #f0f0f0;
} }
.mod-panel .bd .c-hd li{ .mod-panel .bd .c-hd li{
float: left; float: left;
width: 33.33%; width: 33.33%;
height: 36px; height: 44px;
line-height: 36px; line-height: 44px;
} }
.mod-panel .bd .c-hd li a{ .mod-panel .bd .c-hd li a{
display: block; display: block;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
font-size: 14px;
color: #999; color: #999;
cursor: pointer; cursor: pointer;
} }
@ -180,18 +217,36 @@ a:hover{
background: #2095f2; background: #2095f2;
border-radius: 3px; border-radius: 3px;
} }
.mod-panel .bd .c-bd{
height: 450px;
padding: 18px 20px;
}
.mod-panel .bd .c-panel{ .mod-panel .bd .c-panel{
display: none; display: none;
} }
.mod-panel .bd .operation{ .mod-panel .bd .c-panel .operation{
margin: 10px 0; margin: 10px 0;
} }
.mod-panel .bd .row{ .mod-panel .bd .c-panel .row{
margin-bottom: 5px; margin-bottom: 5px;
} }
.mod-panel .bd .field{ .mod-panel .bd .c-panel .field{
line-height: 28px; line-height: 28px;
} }
.mod-panel .bd .c-panel .intro{
padding: 10px 15px;
margin: 25px 0;
background: #fffbf5;
line-height: 24px;
color: #666;
border-radius: 5px;
}
.mod-panel .bd .c-panel .intro h3{
line-height: 30px;
font-weight: bold;
font-size: 15px;
color: #666;
}
.mod-panel .bd p{ .mod-panel .bd p{
overflow: hidden; overflow: hidden;
} }
@ -206,7 +261,7 @@ a:hover{
.mod-panel .bd .input-text{ .mod-panel .bd .input-text{
display: inline-block; display: inline-block;
width: 100%; width: 100%;
height: 30px; height: 36px;
background: #fafafa; background: #fafafa;
border: 1px solid #ebebeb; border: 1px solid #ebebeb;
padding: 5px 10px; padding: 5px 10px;
@ -220,7 +275,7 @@ a:hover{
} }
.mod-panel .bd .btn { .mod-panel .bd .btn {
height: 32px; height: 32px;
min-width: 90px; min-width: 80px;
background: #f0f0f0; background: #f0f0f0;
border: medium none; border: medium none;
line-height: 30px; line-height: 30px;
@ -256,7 +311,8 @@ a:hover{
background: #e18309; background: #e18309;
} }
.mod-panel .bd .btn-small{ .mod-panel .bd .btn-small{
min-width: 40px; min-width: 36px;
margin-right: -1px;
cursor: pointer; cursor: pointer;
} }
.mod-panel .bd .btn[disabled]{ .mod-panel .bd .btn[disabled]{
@ -279,164 +335,177 @@ a:hover{
line-height: 22px; line-height: 22px;
} }
.mod-panel .bd p span{ .mod-panel .bd p span{
margin-right: 10px; margin-right: 4px;
} }
.mod-panel .ft{
padding-top: 10px; .mod-intro{
border-top:1px dotted #e0e0e0; margin-bottom: 65px;
} }
.mod-panel .about{ .mod-intro .hd{
padding: 0 20px; margin: 0 5px 5px;
margin-bottom: 20px; line-height: 30px;
} }
.mod-panel .about p{ .mod-intro .hd span{
line-height: 24px; font-size: 18px;
font-weight: bold;
color: #646464;
}
.mod-intro .bd ul{
overflow: hidden;
}
.mod-intro .bd li{
float: left;
width: 33.33%;
}
.mod-intro .bd .item{
padding: 15px;
margin: 0 5px 10px;
background: rgb(246, 248, 250);
border-radius: 5px;
}
.mod-intro .bd p{
line-height: 22px;
}
.mod-intro .bd p.q{
font-weight: bold;
color: #646464;
}
.mod-intro .article p{
line-height: 22px;
text-indent: 2em; text-indent: 2em;
} }
.mod-panel .copy{ .mod-intro .table-inner{
overflow-x: auto;
}
.mod-article{
margin-bottom: 65px;
}
.mod-article .bd{
position: relative;
padding: 30px 0;
}
.mod-article .bd::before{
position: absolute;
top: 0;
left: 0;
content: '“';
font-size: 60px;
border-radius: 6px;
}
.mod-article .bd::after{
position: absolute;
bottom: -10px;
right: 0;
content: '”';
font-size: 60px;
border-radius: 6px;
}
.mod-article .bd p{
margin-bottom: 12px;
line-height: 28px;
font-size: 15px;
text-indent: 2em;
}
.mod-app{
margin-bottom: 65px;
}
.mod-app .hd{
margin: 0 5px 5px;
line-height: 30px;
text-align: center;
}
.mod-app .hd span{
font-size: 18px;
font-weight: bold;
color: #646464;
}
.mod-app .bd ul{
padding: 20px 0;
text-align: center;
overflow: hidden;
}
.mod-app .bd li{
display: inline-block;
width: 12%;
margin-bottom: 15px;
}
.mod-app .bd .app span{
display: block;
margin:0 15px;
line-height: 32px;
text-align: center;
}
.mod-app .bd .app span.icon{
margin-bottom: 5px;
}
.mod-copy{
margin-bottom: 65px;
padding: 35px 0 45px;
background: rgb(246, 248, 250);
}
.mod-copy .hd{
margin: 0 5px 5px;
line-height: 30px;
}
.mod-copy .hd span{
font-size: 18px;
font-weight: bold;
color: #646464;
}
.mod-copy .bd{
margin:0 5px;
}
.mod-copy .bd p{
line-height: 28px;
font-size: 15px;
}
.mod-copy .bd .buttons{
margin-top: 15px;
}
.mod-copy .bd .text-red{
font-weight: bold;
color: #fd7474;
}
.mod-foot .bd{
padding: 10px 0; padding: 10px 0;
margin-bottom: 15px; margin-bottom: 15px;
text-align: center; text-align: center;
} }
.mod-panel .copy p{ .mod-foot .bd p{
line-height: 22px; line-height: 22px;
} }
.mod-panel .copy p a,.mod-panel .copy p span{ .mod-foot .bd p a,.mod-foot .bd p span{
vertical-align: middle; vertical-align: middle;
} }
.mod-panel .copy p.buttons{ .mod-foot .bd p.buttons{
margin: 10px 0 5px; margin: 10px 0 5px;
} }
.mod-panel .copy .text-red{ .mod-foot .box{
font-weight: bold; width: 200px;
color: #fd7474; height: 180px;
} margin: 0 auto 20px;
.mod-panel .intro,.mod-panel .article{ line-height: 30px;
padding: 15px 20px; text-align: center;
margin: 10px 0;
background: rgb(246, 248, 250);
border-radius: 6px;
}
.mod-panel .intro h3{
margin-bottom: 10px;
font-size: 16px;
font-weight: bold;
color: #646464;
}
.mod-panel .intro p{
line-height: 22px;
}
.mod-panel .intro p.q{
margin-top: 10px;
font-weight: bold;
color: #646464;
}
.mod-panel .article p{
line-height: 22px;
text-indent: 2em;
}
.mod-panel .banner{
border: 1px solid #eee;
border-radius: 5px;
overflow: hidden;
box-shadow: 1px 2px 8px rgba(0,0,0,0.03);
}
.mod-panel .banner a{
display: block;
position: relative;
height: 160px;
padding: 10px;
background: #fcfcfc;
overflow: hidden; overflow: hidden;
} }
.mod-panel .banner a:hover{ .mod-foot p{
text-decoration: none;
background: #fffbf5;
}
.mod-panel .banner img{
margin-top: -5px;
}
.mod-panel .banner span{
display: block;
line-height: 32px;
}
.mod-panel .banner span.picture{
float: left;
width: 40%;
text-align: center;
}
.mod-panel .banner span.title{
margin-top: 45px;
margin-left: 50%;
font-weight: bold;
font-size: 24px;
color: #646464;
}
.mod-panel .banner span.subtitle{
margin-left: 50%;
font-size: 18px;
}
.mod-panel .table-inner{
overflow-x: auto;
}
.mod-panel table {
width: 100%;
margin-bottom: 10px;
border: 1px solid #cee1ee;
border-collapse: collapse;
border-spacing: 0;
}
.mod-panel thead{
background-color: #e3eef8;
}
.mod-panel tr {
border-bottom: 1px solid #cee1ee;
line-height: 24px;
font-size: 13px;
}
.mod-panel tr td,.mod-panel tr th{
word-break: break-all;
word-wrap: break-word;
padding: 5px 8px;
border: 1px solid #cee1ee;
line-height: 20px;
font-weight: normal;
}
.mod-panel tr p.name{
font-size: 15px;
font-weight: bold;
}
.mod-panel tr .download{
display: inline-block;
padding: 0 15px;
background: #32ccc8;
color: #fff;
line-height: 32px;
font-size: 13px;
text-align: center;
border-radius: 3px;
text-decoration: none;
}
.mod-panel tr .download:hover{
background: #2e9e9b;
}
.mod-qrcode{
position: fixed;
right: 25px;
bottom: 25px;
text-align: center;
}
.mod-qrcode .box{
width: 150px;
height: 148px;
overflow: hidden;
}
.mod-qrcode p{
line-height: 30px; line-height: 30px;
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 1020px) {
.header{
margin-bottom: 10px;
}
.inner{
max-width: 640px;
}
.mod-head .hd span.tag{ .mod-head .hd span.tag{
padding: 5px 8px; padding: 5px 8px;
} }
@ -445,28 +514,62 @@ a:hover{
font-size: 13px; font-size: 13px;
} }
.mod-panel{
margin-bottom: 25px;
}
.mod-panel .hd{ .mod-panel .hd{
padding-top: 10px; float: none;
padding-top: 0;
width: auto;
margin-bottom: 15px;
text-align: center;
} }
.mod-panel .hd h1{ .mod-panel .hd h1{
margin-bottom: 5px;
line-height: 26px;
font-size: 20px; font-size: 20px;
} }
.mod-panel .hd h1 span.name{
display: inline;
}
.mod-panel .hd p{ .mod-panel .hd p{
line-height: 22px; line-height: 22px;
font-size: 13px;
overflow: hidden; overflow: hidden;
} }
.mod-panel .c-hd ul{ .mod-panel .hd .picture{
margin-right: 0;
padding-top: 0;
}
.mod-panel .hd .picture img{
width: 213.33px;
}
.mod-panel .hd .picture .btn{
display: block;
margin: 0 auto;
}
.mod-panel .bd{
margin-left: 0;
}
.mod-panel .bd .c-hd{
text-align: center;
}
.mod-panel .bd .c-hd ul{
overflow-x: auto; overflow-x: auto;
white-space: nowrap; white-space: nowrap;
} }
.mod-panel .c-hd li{ .mod-panel .bd .c-hd li{
float: none; float: none;
display: inline-block; display: inline-block;
width: auto; width: auto;
min-width: 30%
} }
.mod-panel .c-hd li a{ .mod-panel .bd .c-hd li a{
padding: 0 4px; padding: 0 4px;
} }
.mod-panel .bd .c-bd{
height: auto;
}
.mod-panel textarea{ .mod-panel textarea{
width: 100%; width: 100%;
height: 80px; height: 80px;
@ -486,33 +589,69 @@ a:hover{
.mod-panel .btn-3{ .mod-panel .btn-3{
width: 32%; width: 32%;
} }
.mod-panel .banner a{
height: 100px; .mod-intro{
margin-bottom: 25px;
} }
.mod-panel .banner img{ .mod-intro .bd li{
zoom:0.5; float: none;
width: auto;
} }
.mod-panel .banner span{ .mod-intro .bd .item{
line-height: 24px; margin: 0 5px 5px;
} }
.mod-panel .banner span.picture{
width: 35%; .mod-article{
margin-bottom: 25px;
} }
.mod-panel .banner span.title{ .mod-article .bd{
margin-top: 25px; padding: 15px 0;
margin-left: 40%;
font-size: 18px;
} }
.mod-panel .banner span.subtitle{ .mod-article .bd::before{
margin-left: 40%; font-size: 48px;
}
.mod-article .bd::after{
font-size: 48px;
}
.mod-article .bd p{
margin-bottom: 7px;
line-height: 22px;
font-size: 14px; font-size: 14px;
} }
.mod-qrcode{ .mod-app{
position: static; margin-bottom: 25px;
margin-bottom: 10px;
} }
.mod-qrcode .box{ .mod-app .bd ul{
margin: 0 auto; padding: 10px 0;
}
.mod-app .bd li{
display: inline-block;
width: 48%;
}
.mod-copy{
padding: 15px 0 25px;
margin-bottom: 25px;
}
.mod-copy .bd p{
line-height: 22px;
font-size: 14px;
}
}
@media screen and (max-width: 640px) {
.mod-panel .inner{
padding: 10px 0;
}
.mod-panel .bd .c-bd{
padding: 15px 10px;
}
.mod-intro .hd{
margin: 0 0 5px;
}
.mod-intro .bd .item{
margin: 0 0 5px;
} }
} }

View File

@ -26,5 +26,6 @@ test('relationship.js show to be tested', function (t) {
t.deepEqual(relationship({text:'外婆',target:'女婿',reverse:true}),['外曾孙女婿','外曾外孙女婿']); t.deepEqual(relationship({text:'外婆',target:'女婿',reverse:true}),['外曾孙女婿','外曾外孙女婿']);
t.deepEqual(relationship({text:'我',target:'爸爸'}),['儿子','女儿']); t.deepEqual(relationship({text:'我',target:'爸爸'}),['儿子','女儿']);
t.deepEqual(relationship({text:'爱人',target:'娘家侄子'}),['姑丈']); t.deepEqual(relationship({text:'爱人',target:'娘家侄子'}),['姑丈']);
t.deepEqual(relationship({text:'岳母的配偶的孩子的爸爸'}),['岳父']);
t.end(); t.end();
}); });

View File

@ -30,27 +30,30 @@
<div class="mod-head"> <div class="mod-head">
<div class="bd"> <div class="bd">
<span class="language"> <span class="language">
<a href="index.html">简体</a> <a href="/relationship/">简体</a>
<span>/</span> <span>/</span>
<a class="active" href="zh-HK.html">繁體</a> <a class="active" href="zh-HK.html">繁體</a>
</span> </span>
<a class="btn" href="/relationship/vue/" target="_blank">手機版</a>
<a class="btn" href="https://github.com/mumuy/relationship/" rel="nofollow" target="_blank" title="Github"> <a class="btn" href="https://github.com/mumuy/relationship/" rel="nofollow" target="_blank" title="Github">
<svg aria-hidden="true" class="octicon" height="20" title="GitHub " version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg> <svg aria-hidden="true" class="octicon" height="20" title="GitHub " version="1.1" viewBox="0 0 16 16" width="24"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59 0.4 0.07 0.55-0.17 0.55-0.38 0-0.19-0.01-0.82-0.01-1.49-2.01 0.37-2.53-0.49-2.69-0.94-0.09-0.23-0.48-0.94-0.82-1.13-0.28-0.15-0.68-0.52-0.01-0.53 0.63-0.01 1.08 0.58 1.23 0.82 0.72 1.21 1.87 0.87 2.33 0.66 0.07-0.52 0.28-0.87 0.51-1.07-1.78-0.2-3.64-0.89-3.64-3.95 0-0.87 0.31-1.59 0.82-2.15-0.08-0.2-0.36-1.02 0.08-2.12 0 0 0.67-0.21 2.2 0.82 0.64-0.18 1.32-0.27 2-0.27 0.68 0 1.36 0.09 2 0.27 1.53-1.04 2.2-0.82 2.2-0.82 0.44 1.1 0.16 1.92 0.08 2.12 0.51 0.56 0.82 1.27 0.82 2.15 0 3.07-1.87 3.75-3.65 3.95 0.29 0.25 0.54 0.73 0.54 1.48 0 1.07-0.01 1.93-0.01 2.2 0 0.21 0.15 0.46 0.55 0.38C13.71 14.53 16 11.53 16 8 16 3.58 12.42 0 8 0z"></path></svg>
<span>Github</span> <span>Github</span>
</a> </a>
<a class="btn" href="/">返回首頁</a> <a class="btn" href="/">個人網站</a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="container"> <div class="container">
<div class="inner">
<div class="mod-panel"> <div class="mod-panel">
<div class="inner">
<div class="hd"> <div class="hd">
<h1>中國親戚關系計算器<span class="tag">開源算法</span></h1> <h1><span class="name">中國</span><span>親戚關系計算器</span><span class="tag">開源算法</span></h1>
<p>逢年過節遇到三姑六婆,拒絕叫不出口的尷尬!輕鬆搞定親戚關系~</p> <p>逢年過節遇到三姑六婆,拒絕叫不出口的尷尬!輕鬆搞定親戚關系~</p>
<p>當前親戚稱呼大全已收錄約<b id="count">-</b>條親戚關系</p> <p>當前親戚稱呼大全已收錄約<b id="count">-</b>條親戚關系</p>
<div class="picture">
<img src="image/app.png" width="320" alt="親戚稱呼換算APP"/>
<a class="btn" href="/relationship/vue/" target="_blank">訪問手機版</a>
</div>
</div> </div>
<div class="bd"> <div class="bd">
<div class="c-hd"> <div class="c-hd">
@ -135,24 +138,6 @@
<p>計算結果:</p> <p>計算結果:</p>
<p><textarea name="result" readonly></textarea></p> <p><textarea name="result" readonly></textarea></p>
</div> </div>
<div class="intro">
<h3>使用案例</h3>
<p class="q">1. 使用別稱查詢:</p>
<p class="a">姥姥的爸爸的老竇 / 娘子的爹地的母親 / 嶽丈的媽咪 </p>
<p class="q">2. 使用合稱查詢:</p>
<p class="a">舅舅的孫輩 / 爸爸的祖父母 / 姑媽的兄弟姐妹 / 表姐妹的孩子</p>
<p class="q">3. 大小數字混合查詢:</p>
<p class="a">兒子的大舅的二姑媽的七舅姥爺 / 女婿的小姨</p>
<p class="q">4. 不限制方向祖輩孫輩跨度,反復查詢:</p>
<p class="a">舅媽的婆婆的外甥的姨媽的侄子的爺爺 / 老公的丈母娘的兒媳</p>
<p class="q">5. 年齡推導:</p>
<p class="a">哥哥的表姐 = 姑表姐、舅表姐</p>
<p class="a">堂妹的姐姐 = 堂姐妹</p>
<p class="a">弟弟的表哥 = 姑表兄弟、舅表兄弟</p>
<p class="q">6. 根據語境確認性別:</p>
<p class="a">老婆的女兒的外婆 = 嶽母</p>
<p class="a">愛人的婆婆的兒子 = 兄弟</p>
</div>
</div> </div>
<div class="c-panel"> <div class="c-panel">
<div class="row"> <div class="row">
@ -173,10 +158,10 @@
</div> </div>
<div class="intro"> <div class="intro">
<h3>應用場景</h3> <h3>應用場景</h3>
<p class="q">“七舅姥爺”和我是什麼關系</p> <p class="q">外舅公是我媽的誰</p>
<p class="q">“堂弟”和“表弟”如何區分在</p> <p class="q">我爸應該叫舅老爺什麼</p>
<p class="q">“外甥”和“侄子”的區別在哪裏</p> <p class="q">我嶽父怎麼叫我弟弟什麼</p>
<p class="q">“姑表舅表哥”是我的誰</p> <p class="q">我哥如何稱呼我嶽母</p>
</div> </div>
</div> </div>
<div class="c-panel"> <div class="c-panel">
@ -215,45 +200,138 @@
</div> </div>
<div class="intro"> <div class="intro">
<h3>應用場景</h3> <h3>應用場景</h3>
<p class="q">外舅公是我媽的誰?</p> <p class="q">“七舅姥爺”和我“三叔公”是什麼關系?</p>
<p class="q">我爸應該叫舅老爺什麼?</p> <p class="q">我的“堂弟”要叫“表弟”什麼?</p>
<p class="q">我嶽父怎麼叫我弟弟什麼?</p>
<p class="q">我哥如何稱呼我嶽母?</p>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="ft">
<div class="banner">
<a href="/relationship/vue/" target="_blank">
<span class="picture">
<img src="image/app.png" width="213" alt="親戚稱呼換算APP"/>
</span>
<span class="title">親戚稱呼計算器移動版</span>
<span class="subtitle">無需下載APP手機即查即用</span>
</a>
</div> </div>
<div class="article"> </div>
<div class="mod-intro">
<div class="inner">
<div class="hd"><span>功能支持</span></div>
<div class="bd">
<ul>
<li>
<div class="item">
<p class="q">1. 使用別稱查詢:</p>
<p class="a">姥姥的爸爸的老竇 = 外曾外曾祖父</p>
<p class="a">娘子的爹地的母親 = 祖嶽母</p>
<p class="a">嶽丈的媽咪的細佬 = 舅祖嶽父</p>
</div>
</li>
<li>
<div class="item">
<p class="q">2. 使用合稱查詢:</p>
<p class="a">姐夫的雙親 = 姊妹姻父 / 姊妹姻母</p>
<p class="a">媽媽的祖父母 = 外曾祖父 / 外曾祖母</p>
<p class="a">弟弟的孩子 = 侄子 / 侄女</p>
</div>
</li>
<li>
<div class="item">
<p class="q">3. 大小數字混合查詢:</p>
<p class="a">大哥的二姑媽的七舅姥爺 = 舅曾外祖父</p>
<p class="a">二女婿的小姨 = 女姻姨妹</p>
<p class="a">大佬的三舅公的次子 = 舅表伯父 / 舅表叔父</p>
</div>
</li>
<li>
<div class="item">
<p class="q">4. 不限制祖輩孫輩跨度查詢:</p>
<p class="a">舅媽的婆婆的外甥的姨媽的侄子 = 舅表舅父</p>
<p class="a">老公的丈母娘的兒媳 = 兄弟媳婦</p>
<p class="a">外婆的孫子的舅媽的仔 = 舅表兄弟</p>
</div>
</li>
<li>
<div class="item">
<p class="q">5. 根據年齡推導可能性:</p>
<p class="a">哥哥的表姐 = 姑表姐、舅表姐</p>
<p class="a">堂妹的姐姐 = 堂姐妹</p>
<p class="a">弟弟的表哥 = 姑表兄弟、舅表兄弟</p>
</div>
</li>
<li>
<div class="item">
<p class="q">6. 根據語境確認性別:</p>
<p class="a">老婆的女兒的外婆 = 嶽母</p>
<p class="a">愛人的婆婆的兒子 = 兄弟</p>
<p class="a">嶽母的配偶的兒子的爸爸 = 嶽父</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="mod-article">
<div class="inner">
<div class="bd">
<p>親屬是基於婚姻、血緣和法律擬制而形成的社會關系。親屬關系包括夫妻、父母、子女、兄弟姊妹、祖父母和外祖父母、孫子女和外孫子女、兒媳和公婆、女婿和嶽父母、以及其他三代以內的旁系血親,如伯、叔、姑、舅、姨、侄子女、甥子女、堂兄弟姊妹、表兄弟姊妹等。</p> <p>親屬是基於婚姻、血緣和法律擬制而形成的社會關系。親屬關系包括夫妻、父母、子女、兄弟姊妹、祖父母和外祖父母、孫子女和外孫子女、兒媳和公婆、女婿和嶽父母、以及其他三代以內的旁系血親,如伯、叔、姑、舅、姨、侄子女、甥子女、堂兄弟姊妹、表兄弟姊妹等。</p>
<p>親屬稱謂指是以本人爲中心確定親族成員和本人關系的名稱,是基於血親姻親基礎上的親屬之間相互稱呼的名稱、叫法。漢族的家族親屬關系條理分明尊卑有序:比自己長一輩的稱呼有姨姑舅叔伯,同輩的有兄弟姊妹、堂表親等等,下一輩有甥侄等等。中國人由於姻親而產生的親戚關系相當龐雜,“祖宗十八代”“五服”“九族”讓人難以區分,其派生出的各種稱謂也是中華文化的一大特征。</p> <p>親屬稱謂指是以本人爲中心確定親族成員和本人關系的名稱,是基於血親姻親基礎上的親屬之間相互稱呼的名稱、叫法。漢族的家族親屬關系條理分明尊卑有序:比自己長一輩的稱呼有姨姑舅叔伯,同輩的有兄弟姊妹、堂表親等等,下一輩有甥侄等等。中國人由於姻親而產生的親戚關系相當龐雜,“祖宗十八代”“五服”“九族”讓人難以區分,其派生出的各種稱謂也是中華文化的一大特征。</p>
<p>如今由於工作生活節奏差異,很多關系稍疏遠的親戚之間來往並不多,年齡差異長幼輩分模糊。春節拜年走親戚遇到七大姑八大姨,往往會搞不清楚哪位親戚應該喊什麼稱呼,很是尷尬。不僅小孩搞不清親戚關系和親戚稱謂,就連年輕一代的大人也都常常模糊混亂。</p> <p>如今由於工作生活節奏差異,很多關系稍疏遠的親戚之間來往並不多,年齡差異長幼輩分模糊。春節拜年走親戚遇到七大姑八大姨,往往會搞不清楚哪位親戚應該喊什麼稱呼,很是尷尬。不僅小孩搞不清親戚關系和親戚稱謂,就連年輕一代的大人也都常常模糊混亂。</p>
<p>“中國親戚關系計算器”爲你避免了叫錯、不會叫親戚的尷尬,收錄了中國親戚關系稱呼大全,只需簡單的輸入即可完成稱呼計算。稱呼計算器同時兼容了不同地域的方言叫法,你可以稱呼父親爲:“老爸”、“爹地”、“老爺子”等等。讓您準確的叫出親戚稱謂,理清親屬之間的親戚關系,輕鬆掌握中國式的親戚關系換算,讓你更了解中國文化。</p> <p>“中國親戚關系計算器”爲你避免了叫錯、不會叫親戚的尷尬,收錄了中國親戚關系稱呼大全,只需簡單的輸入即可完成稱呼計算。稱呼計算器同時兼容了不同地域的方言叫法,你可以稱呼父親爲:“老爸”、“爹地”、“老爺子”等等。讓您準確的叫出親戚稱謂,理清親屬之間的親戚關系,輕鬆掌握中國式的親戚關系換算,讓你更了解中國文化。</p>
</div> </div>
<div class="copy"> </div>
<p><span>本程序基於MIT許可協議開源使用請保留版權信息</span></p> </div>
<p><span>程序持續更新,如發現錯漏可在此</span><a class="text-red" href="https://github.com/mumuy/relationship/issues" rel="nofollow" target="_blank">反饋問題</a></p> <div class="mod-copy">
<p class="buttons"> <div class="inner">
<div class="hd"><span>算法開源</span></div>
<div class="bd">
<p><span>本程序基於 <a href="https://github.com/mumuy/relationship/blob/master/LICENSE" rel="nofollow" target="_blank">MIT許可協議</a> 開源,除需在源碼中保留版權信息和許可聲明外,你有權利進行使用、復制、修改、合並、出版發行等</span></p>
<p><span>算法持續更新中,如發現錯漏或有想法建議可在此</span> <a class="text-red" href="https://github.com/mumuy/relationship/issues" rel="nofollow" target="_blank">反饋問題</a></p>
<div class="buttons">
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a> <a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
<a class="github-button" href="https://github.com/mumuy/relationship/fork" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork mumuy/relationship on GitHub">Fork</a>
<a class="github-button" href="https://github.com/mumuy/relationship" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a> <a class="github-button" href="https://github.com/mumuy/relationship" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a>
</p>
<p>&copy; <a href="http://passer-by.com">passer-by.com</a></p>
</div> </div>
</div> </div>
</div> </div>
<div class="mod-qrcode"> </div>
<div class="box"><img src="image/qrcode.jpg" width="150" alt="親戚關系微信小程序"/></div> <div class="mod-app">
<div class="inner">
<div class="hd"><span>他們都在用</span></div>
<div class="bd">
<ul>
<li>
<div class="app">
<span class="icon"><img src="image/icon/miui.png" width="64" height="64"/></span>
<span class="name">小米計算器</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/quanneng.png" width="64" height="64"/></span>
<span class="name">全能計算器</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/yuwendaren.png" width="64" height="64"/></span>
<span class="name">有道語文達人</span>
</div>
</li>
<li>
<div class="app">
<span class="icon"><img src="image/icon/qinqi.png" width="64" height="64"/></span>
<span class="name">親戚計算器</span>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="mod-foot">
<div class="inner">
<div class="bd">
<div class="box">
<p><img src="image/qrcode.jpg" width="150" alt="親戚關系微信小程序"/></p>
<p>微信掃一掃,使用小程序</p> <p>微信掃一掃,使用小程序</p>
</div> </div>
<p>Copyright &copy; <a href="http://passer-by.com">passer-by.com</a></p>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>