feat: 样式调整

This commit is contained in:
“张嘉宁” 2023-04-03 20:10:46 +08:00
parent 554757db6c
commit 79184e81d7
2 changed files with 25 additions and 3 deletions

View File

@ -19,7 +19,29 @@
height: var(--window-height);
}
.not-wx-work {
width: 95%;
text-align: left;
margin: 0 auto;
display: flex;
}
.button-2 {
cursor: pointer;
position: relative;
color: lightsalmon;
display: flex;
justify-content: center;
}
.not-allow {
width: 95%;
text-align: left;
margin: 0 auto;
}
.button {
margin: 0 auto;
cursor: pointer;
position: relative;
display: inline-block;

View File

@ -694,12 +694,12 @@ export function Home() {
<h2>~</h2>
) : // 不在企业微信
!isWorkWechat() ? (
<h2 className="not-wx-work">使ChatGPT,----ChatGPT</h2>
<h2 className={styles['not-wx-work']}>使ChatGPT,----ChatGPT</h2>
) : // 不在白名单
!isAllow ? (
<h2 className="not-allow">
<h2 className={styles['not-allow']}>
<span className="text">使线ZKT-Office或VPN连接正常</span>
<span onClick={goApply} className={styles["button"]}>
<span onClick={goApply} className={styles["button-2"]}>
</span>
</h2>