This repository was archived by the owner on May 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +18
-19
lines changed
Expand file tree Collapse file tree 5 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class Home extends React.Component {
6565 bgColor = { bgClass }
6666 imgUrl = { search }
6767 linkTo = "search"
68- title = "图书商城 "
68+ title = "The book store "
6969 />
7070 </ ErrorBoundary >
7171 < div className = { styles . style_div } >
@@ -74,11 +74,11 @@ class Home extends React.Component {
7474 />
7575 </ div >
7676 < div >
77- < p className = { styles . style_p } > 专题 </ p >
77+ < p className = { styles . style_p } > project </ p >
7878 < Special />
7979 </ div >
8080 < div >
81- < p className = { styles . style_p } > 书籍列表 </ p >
81+ < p className = { styles . style_p } > List of books </ p >
8282 { bookDetails . map ( ( ele , index ) => (
8383 < BookList
8484 _id = { ele . _id }
@@ -101,7 +101,7 @@ class Home extends React.Component {
101101 onClick = { ( ) => this . setState ( { isClickNav : false } ) }
102102 style = { { width : '100%' , height : '100%' } }
103103 >
104- 你点击了导航,激活弹框,点击任意地方关闭弹框
104+ You click on the navigation, the activation play box, click anywhere close bounced
105105 </ div >
106106 </ CreatePortal >
107107 ) }
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ const BookList = props => {
2424 >
2525 < div className = { styles . book_img } >
2626 < span className = { styles . book_index } > { index } </ span >
27- < img alt = "图片"
28- className = ""
27+ < img className = ""
2928 src = ""
3029 />
3130 </ div >
@@ -40,22 +39,22 @@ const BookList = props => {
4039 commonStyles . textOverflow_hidden
4140 } `}
4241 >
43- 作者 :{ author }
42+ The author :{ author }
4443 </ p >
4544 < p
4645 className = { `${ styles . book_author } ${
4746 commonStyles . textOverflow_hidden
4847 } `}
4948 >
50- 出版社 :{ press }
49+ Press. :{ press }
5150 </ p >
5251 { ! isEmpty ( publishedDate ) && (
5352 < p
5453 className = { `${ styles . book_author } ${
5554 commonStyles . textOverflow_hidden
5655 } `}
5756 >
58- 出版时间 :{ publishedDate }
57+ Publication date :{ publishedDate }
5958 </ p >
6059 ) }
6160 < p className = { commonStyles . textOverflow_hidden } >
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class Search extends React.Component {
5454 >
5555 < p className = { styles . search_hot_title } >
5656 < i className = "fa fa-fire" />
57- < span > 热门搜索 </ span >
57+ < span > Top search </ span >
5858 </ p >
5959 < p className = { styles . style_div_p } >
6060 { hotData . map ( ( elem , index ) => (
Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ export default class Header extends React.Component {
3232 < input
3333 className = { styles . style_div_input }
3434 onChange = { this . handleChange }
35- placeholder = "搜索书名 "
35+ placeholder = "Search the title "
3636 type = "text"
3737 value = { currentHot }
3838 />
3939 </ div >
4040 < Link className = { styles . style_right_a }
4141 to = "/search"
4242 >
43- 搜索
43+ search
4444 </ Link >
4545 </ div >
4646 </ div >
Original file line number Diff line number Diff line change @@ -2,39 +2,39 @@ let initData = {
22 hotData : [
33 {
44 id : 1 ,
5- text : '会计从业 '
5+ text : 'The accountant from '
66 } ,
77 {
88 id : 2 ,
9- text : 'c语言程序设计 '
9+ text : 'C language programming '
1010 } ,
1111 {
1212 id : 3 ,
13- text : '高等数学 '
13+ text : 'Higher mathematics '
1414 } ,
1515 {
1616 id : 4 ,
1717 text : 'JavaScript'
1818 } ,
1919 {
2020 id : 5 ,
21- text : '网页设计 '
21+ text : 'Web design '
2222 } ,
2323 {
2424 id : 6 ,
2525 text : 'Photoshop'
2626 } ,
2727 {
2828 id : 7 ,
29- text : '英语四级 '
29+ text : 'English cet 4 '
3030 } ,
3131 {
3232 id : 8 ,
33- text : '线性代数 '
33+ text : 'Linear algebra '
3434 } ,
3535 {
3636 id : 9 ,
37- text : '公务员考试 '
37+ text : 'Civil service exam '
3838 }
3939 ]
4040}
You can’t perform that action at this time.
0 commit comments