Skip to content

Commit e77064c

Browse files
committed
Top style
1 parent 734bc48 commit e77064c

4 files changed

Lines changed: 26 additions & 6 deletions

File tree

chat2db-client/src/components/Iconfont/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if (__ENV__ === 'local') {
99
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
1010
@font-face {
1111
font-family: 'iconfont'; /* Project id 3633546 */
12-
src: url('//at.alicdn.com/t/c/font_3633546_fb1ux1e03iu.woff2?t=1699016556952') format('woff2'),
13-
url('//at.alicdn.com/t/c/font_3633546_fb1ux1e03iu.woff?t=1699016556952') format('woff'),
14-
url('//at.alicdn.com/t/c/font_3633546_fb1ux1e03iu.ttf?t=1699016556952') format('truetype');
12+
src: url('//at.alicdn.com/t/c/font_3633546_0wg41yfqyqoh.woff2?t=1699018081072') format('woff2'),
13+
url('//at.alicdn.com/t/c/font_3633546_0wg41yfqyqoh.woff?t=1699018081072') format('woff'),
14+
url('//at.alicdn.com/t/c/font_3633546_0wg41yfqyqoh.ttf?t=1699018081072') format('truetype');
1515
}
1616
`;
1717
const style = document.createElement('style');

chat2db-client/src/components/SearchResult/RightClickMenu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default memo<IProps>((props) => {
6161
]
6262
},
6363
[AllSupportedMenusType.CloneRow]: {
64-
label: <MenuLabel icon="&#xec7a;" label={i18n('common.button.cloneRow')} />,
64+
label: <MenuLabel icon="&#xe8db;" label={i18n('common.button.cloneRow')} />,
6565
key: AllSupportedMenusType.CloneRow,
6666
},
6767
[AllSupportedMenusType.DeleteRow]: {

chat2db-client/src/pages/main/workspace/components/WorkspaceHeader/index.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
cursor: pointer;
7474
padding: 0px 6px;
7575
border-radius: 6px;
76+
margin-right: 6px;
7677
.f-single-line();
7778

7879
&:hover {
@@ -83,6 +84,11 @@
8384
.typeIcon {
8485
margin-right: 6px;
8586
}
87+
88+
.pullDownArrow{
89+
margin-left: 6px;
90+
transform: rotate(90deg) translateX(0px);
91+
}
8692
}
8793

8894
.arrow {

chat2db-client/src/pages/main/workspace/components/WorkspaceHeader/index.tsx

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,13 @@ const WorkspaceHeader = memo<IProps>((props) => {
307307
code={databaseMap[curWorkspaceParams.databaseType]?.icon}
308308
/>
309309
<div className={styles.text}>{curWorkspaceParams.dataSourceName}</div>
310+
<div className={styles.pullDownArrow}>
311+
<Iconfont code="&#xe88e;" />
312+
</div>
310313
</div>
311314
</Cascader>
312315

313-
{!!curDBOptions?.length && <Iconfont className={styles.arrow} code="&#xe641;" />}
316+
{/* {!!curDBOptions?.length && <Iconfont className={styles.arrow} code="&#xe641;" />} */}
314317
{!!curDBOptions?.length && (
315318
<Cascader
316319
popupClassName={styles.cascaderPopup}
@@ -344,11 +347,18 @@ const WorkspaceHeader = memo<IProps>((props) => {
344347
value={[curWorkspaceParams?.databaseName || '']}
345348
>
346349
<div className={styles.crumbsItem}>
350+
<Iconfont
351+
className={styles.databaseTypeIcon}
352+
code="&#xe62c;"
353+
/>
347354
<div className={styles.text}>{curWorkspaceParams.databaseName}</div>
355+
<div className={styles.pullDownArrow}>
356+
<Iconfont code="&#xe88e;" />
357+
</div>
348358
</div>
349359
</Cascader>
350360
)}
351-
{!!curSchemaOptions.length && <Iconfont className={styles.arrow} code="&#xe641;" />}
361+
{/* {!!curSchemaOptions.length && <Iconfont className={styles.arrow} code="&#xe641;" />} */}
352362
{!!curSchemaOptions.length && (
353363
<Cascader
354364
popupClassName={styles.cascaderPopup}
@@ -382,7 +392,11 @@ const WorkspaceHeader = memo<IProps>((props) => {
382392
}}
383393
>
384394
<div className={styles.crumbsItem}>
395+
<Iconfont className={styles.databaseTypeIcon} code="&#xe696;" />
385396
<div className={styles.text}>{curWorkspaceParams.schemaName}</div>
397+
<div className={styles.pullDownArrow}>
398+
<Iconfont code="&#xe88e;" />
399+
</div>
386400
</div>
387401
</Cascader>
388402
)}

0 commit comments

Comments
 (0)