This commit is contained in:
lblblong
2021-10-12 16:59:32 +08:00
commit d3c3707852
70 changed files with 22809 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
.index {
padding: 18px;
border-radius: 12px;
background-color: #fff;
width: 50vw;
max-width: 400px;
display: flex;
flex-direction: column;
line-height: 1;
.link {
color: var(--color-primary);
cursor: pointer;
}
> * + * {
margin-top: 18px;
font-size: 18px;
}
.title {
font-size: 28px;
color: #333;
}
.content {
color: #666;
padding: 16px 0;
line-height: 1.7;
max-height: 50vh;
overflow-y: auto;
overflow-x: hidden;
}
.btn {
padding: 16px;
background-color: var(--color-primary);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
border-radius: 12px;
cursor: pointer;
}
}
+56
View File
@@ -0,0 +1,56 @@
import { Popups } from 'lbl-popups'
import { Observer } from 'mobx-react'
import { FC } from 'react'
import styles from './index.module.scss'
const Help: FC = () => {
return (
<Observer>
{() => (
<div className={styles.index}>
<div className={styles.title}>穿NAT</div>
<div className={styles.content}>
<p>
utools localtunnel GitHub
<span
className={styles.link}
onClick={() => utools.shellOpenExternal('https://github.com/lblblong/nat-utools')}
>
https://github.com/lblblong/nat-utools
</span>
</p>
<h4>使</h4>
<p>
+
访
</p>
<h4></h4>
<p>
<ul>
<li>穿</li>
<li></li>
<li>HOSTlocalhost上时</li>
</ul>
</p>
<h4></h4>
<p>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</p>
</div>
</div>
)}
</Observer>
)
}
export function openHelp() {
return Popups.open({
el: Help,
position: 'center',
})
}