Skip to content

Commit ed1a326

Browse files
committed
iconfont
1 parent 7fae7b7 commit ed1a326

18 files changed

Lines changed: 5433 additions & 53 deletions

File tree

chat2db-client/src/assets/font/demo.css

Lines changed: 539 additions & 0 deletions
Large diffs are not rendered by default.

chat2db-client/src/assets/font/demo_index.html

Lines changed: 4650 additions & 0 deletions
Large diffs are not rendered by default.

chat2db-client/src/assets/font/iconfont.css

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@font-face {
22
font-family: "iconfont"; /* Project id 3633546 */
3-
src: url('iconfont.woff2?t=1699180324907') format('woff2'),
4-
url('iconfont.woff?t=1699180324907') format('woff'),
5-
url('iconfont.ttf?t=1699180324907') format('truetype');
3+
src: url('iconfont.woff2?t=1700381336886') format('woff2'),
4+
url('iconfont.woff?t=1700381336886') format('woff'),
5+
url('iconfont.ttf?t=1700381336886') format('truetype');
66
}
77

88
.iconfont {
@@ -13,6 +13,58 @@
1313
-moz-osx-font-smoothing: grayscale;
1414
}
1515

16+
.icon-database:before {
17+
content: "\e669";
18+
}
19+
20+
.icon-shaixuan1:before {
21+
content: "\e888";
22+
}
23+
24+
.icon-shuaxin2:before {
25+
content: "\e668";
26+
}
27+
28+
.icon-jiahao_o:before {
29+
content: "\eb78";
30+
}
31+
32+
.icon-jurassic_data:before {
33+
content: "\e6a9";
34+
}
35+
36+
.icon-quanxian:before {
37+
content: "\e667";
38+
}
39+
40+
.icon-sharpicons_add-database:before {
41+
content: "\e816";
42+
}
43+
44+
.icon-zuzhiguanli-:before {
45+
content: "\e663";
46+
}
47+
48+
.icon-moxing-miaobian:before {
49+
content: "\e691";
50+
}
51+
52+
.icon-dianhuatianchong:before {
53+
content: "\e678";
54+
}
55+
56+
.icon-youxiang:before {
57+
content: "\e672";
58+
}
59+
60+
.icon-weixin:before {
61+
content: "\e65d";
62+
}
63+
64+
.icon-google:before {
65+
content: "\eaa8";
66+
}
67+
1668
.icon-xiajiantou1-copy:before {
1769
content: "\100be";
1870
}

chat2db-client/src/assets/font/iconfont.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chat2db-client/src/assets/font/iconfont.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,97 @@
55
"css_prefix_text": "icon-",
66
"description": "",
77
"glyphs": [
8+
{
9+
"icon_id": "5729483",
10+
"name": "database",
11+
"font_class": "database",
12+
"unicode": "e669",
13+
"unicode_decimal": 58985
14+
},
15+
{
16+
"icon_id": "2076240",
17+
"name": "筛选",
18+
"font_class": "shaixuan1",
19+
"unicode": "e888",
20+
"unicode_decimal": 59528
21+
},
22+
{
23+
"icon_id": "2787037",
24+
"name": "刷新",
25+
"font_class": "shuaxin2",
26+
"unicode": "e668",
27+
"unicode_decimal": 58984
28+
},
29+
{
30+
"icon_id": "5387866",
31+
"name": "加号_o",
32+
"font_class": "jiahao_o",
33+
"unicode": "eb78",
34+
"unicode_decimal": 60280
35+
},
36+
{
37+
"icon_id": "10594610",
38+
"name": "数据库_jurassic",
39+
"font_class": "jurassic_data",
40+
"unicode": "e6a9",
41+
"unicode_decimal": 59049
42+
},
43+
{
44+
"icon_id": "12515461",
45+
"name": "权限",
46+
"font_class": "quanxian",
47+
"unicode": "e667",
48+
"unicode_decimal": 58983
49+
},
50+
{
51+
"icon_id": "10573069",
52+
"name": "sharpicons_add-database",
53+
"font_class": "sharpicons_add-database",
54+
"unicode": "e816",
55+
"unicode_decimal": 59414
56+
},
57+
{
58+
"icon_id": "6789097",
59+
"name": "组织管理",
60+
"font_class": "zuzhiguanli-",
61+
"unicode": "e663",
62+
"unicode_decimal": 58979
63+
},
64+
{
65+
"icon_id": "15568801",
66+
"name": "空间",
67+
"font_class": "moxing-miaobian",
68+
"unicode": "e691",
69+
"unicode_decimal": 59025
70+
},
71+
{
72+
"icon_id": "145699",
73+
"name": "电话_填充",
74+
"font_class": "dianhuatianchong",
75+
"unicode": "e678",
76+
"unicode_decimal": 59000
77+
},
78+
{
79+
"icon_id": "3483765",
80+
"name": "邮箱",
81+
"font_class": "youxiang",
82+
"unicode": "e672",
83+
"unicode_decimal": 58994
84+
},
85+
{
86+
"icon_id": "15933094",
87+
"name": "微信",
88+
"font_class": "weixin",
89+
"unicode": "e65d",
90+
"unicode_decimal": 58973
91+
},
92+
{
93+
"icon_id": "19447816",
94+
"name": "谷歌",
95+
"font_class": "google",
96+
"unicode": "eaa8",
97+
"unicode_decimal": 60072
98+
},
899
{
9100
"icon_id": "37968169",
10101
"name": "下箭头-copy",
3.82 KB
Binary file not shown.
2.49 KB
Binary file not shown.
2.16 KB
Binary file not shown.

chat2db-client/src/components/ConsoleEditor/components/OperationLine/index.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
.consoleOptionsLeft {
1818
display: flex;
1919
align-items: center;
20+
margin: 0px -6px;
21+
button {
22+
margin: 0px 6px;
23+
}
2024
}
2125

2226
.runButton {

chat2db-client/src/components/ConsoleEditor/components/OperationLine/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ const OperationLine = (props: IProps) => {
5050
{i18n('common.button.save')}
5151
</Button>
5252
)}
53-
<SelectBoundInfo setBoundInfo={setBoundInfo} boundInfo={boundInfo} />
53+
<Button type="default" onClick={handleSQLFormat}>
54+
{i18n('common.button.format')}
55+
</Button>
56+
</div>
57+
<div>
58+
{/* <SelectBoundInfo setBoundInfo={setBoundInfo} boundInfo={boundInfo} /> */}
5459
</div>
55-
<Button type="text" onClick={handleSQLFormat}>
56-
{i18n('common.button.format')}
57-
</Button>
5860
</div>
5961
);
6062
};

0 commit comments

Comments
 (0)