diff --git a/public/index.html b/public/index.html
index bccb22a1..c9f0ae9f 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,7 +6,7 @@
-
+
diff --git a/public/static/fonts_1/icomoon.svg b/public/static/fonts_1/icomoon.svg
deleted file mode 100644
index 14934e90..00000000
--- a/public/static/fonts_1/icomoon.svg
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/public/static/fonts_1/icomoon.ttf b/public/static/fonts_1/icomoon.ttf
deleted file mode 100644
index af51e902..00000000
Binary files a/public/static/fonts_1/icomoon.ttf and /dev/null differ
diff --git a/public/static/fonts_1/icomoon.woff b/public/static/fonts_1/icomoon.woff
deleted file mode 100644
index f43f6ec5..00000000
Binary files a/public/static/fonts_1/icomoon.woff and /dev/null differ
diff --git a/public/static/fonts_1/icomoon.css b/public/static/fonts_2/icomoon.css
similarity index 66%
rename from public/static/fonts_1/icomoon.css
rename to public/static/fonts_2/icomoon.css
index b391fb6d..ac5caf3a 100644
--- a/public/static/fonts_1/icomoon.css
+++ b/public/static/fonts_2/icomoon.css
@@ -1,9 +1,9 @@
@font-face {
font-family: 'icomoon';
src:
- url('icomoon.ttf?4yzqd4') format('truetype'),
- url('icomoon.woff?4yzqd4') format('woff'),
- url('icomoon.svg?4yzqd4#icomoon') format('svg');
+ url('icomoon.ttf?y01gys') format('truetype'),
+ url('icomoon.woff?y01gys') format('woff'),
+ url('icomoon.svg?y01gys#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
@@ -17,17 +17,21 @@
font-weight: normal;
font-variant: normal;
text-transform: none;
+ line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
+.icon-send:before {
+ content: "\e900";
+}
.icon-reply:before {
content: "\e96b";
}
-.icon-login-ok:before {
- content: "\e975";
+.icon-loading:before {
+ content: "\e979";
}
.icon-login:before {
content: "\e98d";
@@ -41,9 +45,15 @@
.icon-star-ok:before {
content: "\e9d9";
}
-.icon-help:before {
- content: "\ea09";
+.icon-plus:before {
+ content: "\ea0a";
+}
+.icon-about:before {
+ content: "\ea0c";
}
.icon-refresh:before {
content: "\ea2e";
}
+.icon-github:before {
+ content: "\eab0";
+}
diff --git a/public/static/fonts_2/icomoon.svg b/public/static/fonts_2/icomoon.svg
new file mode 100644
index 00000000..c64966a8
--- /dev/null
+++ b/public/static/fonts_2/icomoon.svg
@@ -0,0 +1,21 @@
+
+
+
\ No newline at end of file
diff --git a/public/static/fonts_2/icomoon.ttf b/public/static/fonts_2/icomoon.ttf
new file mode 100644
index 00000000..132accf5
Binary files /dev/null and b/public/static/fonts_2/icomoon.ttf differ
diff --git a/public/static/fonts_2/icomoon.woff b/public/static/fonts_2/icomoon.woff
new file mode 100644
index 00000000..25b7f5b2
Binary files /dev/null and b/public/static/fonts_2/icomoon.woff differ
diff --git a/src/Flows.js b/src/Flows.js
index def2c0b0..d9125329 100644
--- a/src/Flows.js
+++ b/src/Flows.js
@@ -131,8 +131,13 @@ class FlowItemRow extends PureComponent {
})
.then((res)=>res.json())
.then((json)=>{
- if(json.code!==0 && (!json.msg || json.msg!=='已经关注过辣'))
- throw new Error(json);
+ if(json.code!==0) {
+ if(json.msg && json.msg==='已经关注过辣') {}
+ else {
+ if(json.msg) alert(json.msg);
+ throw new Error(json);
+ }
+ }
this.setState({
attention: next_attention,
@@ -164,8 +169,8 @@ class FlowItemRow extends PureComponent {
this.toggle_attention(this.show_sidebar.bind(this));
}}>
{this.state.attention ?
- 已关注 :
- 未关注
+ 已关注 :
+ 未关注
}
@@ -382,7 +387,11 @@ export class Flow extends PureComponent {
{this.load_page(this.state.loaded_pages+1)}}>重新加载
}
-