forked from Gitlink/forgeplus-react
个人中心性别icon不显示
This commit is contained in:
parent
d4e1b2f414
commit
b5835145f7
|
@ -1,8 +1,8 @@
|
|||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 2340181 */
|
||||
src: url('iconfont.woff2?t=1622517296245') format('woff2'),
|
||||
url('iconfont.woff?t=1622517296245') format('woff'),
|
||||
url('iconfont.ttf?t=1622517296245') format('truetype');
|
||||
src: url('iconfont.woff2?t=1623836536204') format('woff2'),
|
||||
url('iconfont.woff?t=1623836536204') format('woff'),
|
||||
url('iconfont.ttf?t=1623836536204') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
|
@ -13,6 +13,14 @@
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-nv1:before {
|
||||
content: "\e864";
|
||||
}
|
||||
|
||||
.icon-nan1:before {
|
||||
content: "\e865";
|
||||
}
|
||||
|
||||
.icon-youxiang:before {
|
||||
content: "\e8b2";
|
||||
}
|
||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,20 @@
|
|||
"css_prefix_text": "icon-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "7539612",
|
||||
"name": "nv",
|
||||
"font_class": "nv1",
|
||||
"unicode": "e864",
|
||||
"unicode_decimal": 59492
|
||||
},
|
||||
{
|
||||
"icon_id": "7539613",
|
||||
"name": "nan",
|
||||
"font_class": "nan1",
|
||||
"unicode": "e865",
|
||||
"unicode_decimal": 59493
|
||||
},
|
||||
{
|
||||
"icon_id": "21936935",
|
||||
"name": "邮箱",
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 733 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -148,12 +148,12 @@ $flex:flex;
|
|||
i{
|
||||
font-size: 25px!important;
|
||||
border-radius: 50%;
|
||||
background-color: #fff;
|
||||
&.icon-nan{
|
||||
color: #1890FF;
|
||||
color: #fff;
|
||||
&.icon-nan1{
|
||||
background-color: #1890FF;
|
||||
}
|
||||
&.icon-nv{
|
||||
color: pink;
|
||||
&.icon-nv1{
|
||||
background-color: pink;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -207,9 +207,9 @@ class Infos extends Component {
|
|||
<span>
|
||||
{
|
||||
user && user.gender===1?
|
||||
<i className="iconfont icon-nan"></i>
|
||||
<i className="iconfont icon-nan1"></i>
|
||||
:
|
||||
<i className="iconfont icon-nv"></i>
|
||||
<i className="iconfont icon-nv1"></i>
|
||||
}
|
||||
</span>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue