File tree Expand file tree Collapse file tree 4 files changed +48
-5
lines changed Expand file tree Collapse file tree 4 files changed +48
-5
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ about_feedback:
102102about_feedback_message :
103103 message : If you have any suggestion or faced any issues, please create a Github issue
104104# Image Search
105+ support_devloper :
106+ message : Click Ads To Support Developer
105107guessing_keyword :
106108 message : Keyword
107109download :
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ avaiable_engine:
5555experience :
5656 message : 体验设置
5757# Image Search
58+ support_devloper :
59+ message : 点击广告支持开发者
5860guessing_keyword :
5961 message : 关键词
6062display_mode :
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ avaiable_engine:
5757experience :
5858 message : 體驗設定
5959# Image Search
60+ support_devloper :
61+ message : 點擊廣告支持開發者
6062guessing_keyword :
6163 message : 關鍵詞
6264display_mode :
9193 message : 清除
9294no_size_info :
9395 message : 無圖片大小資訊
94- # About
96+ # About
9597about_what :
9698 message : 二箱是什麼?
9799about_what_message_0 :
Original file line number Diff line number Diff line change @@ -19,15 +19,52 @@ const ResultContainer = styled.div`
1919 padding-right: 2%;
2020 padding-top:15px;
2121 .ads{
22+ position: relative;
2223 text-align: center;
2324 width: 100%;
2425 height: 100%;
25- img {
26+ .adsTag{
27+ max-width: 90%;
28+ position: absolute;
29+ top: 20%;
30+ left: 50%;
31+ -webkit-transform: translateX(-50%);
32+ transform: translateX(-50%);
33+ visibility: hidden;
34+ }
35+
36+ img{
2637 margin-top: 10%;
27- max-width: 80%;
28- max-height: 80%;
38+ max-width: 90%;
39+ max-height: 80%;
40+ }
41+ }
42+ .ads:hover{
43+ position: relative;
44+ text-align: center;
45+ width: 100%;
46+ height: 100%;
47+
48+ .adsTag{
49+ max-width: 90%;
50+ position: absolute;
51+ top: 20%;
52+ left: 50%;
53+ -webkit-transform: translateX(-50%);
54+ transform: translateX(-50%);
55+ visibility: visible;
56+ transition: visibility 2s;
2957 }
58+
59+ img{
60+ margin-top: 10%;
61+ max-width: 90%;
62+ max-height: 80%;
63+ opacity: 0.2;
64+ transition: opacity 2s
65+ }
3066 }
67+
3168 .ant-row-flex {
3269 align-items: stretch;
3370 }
@@ -98,8 +135,8 @@ class ImageSearchResult extends React.Component {
98135 </ Col >
99136 < Col span = { 4 } >
100137 < div className = "ads" >
101- < div > Ads</ div >
102138 < a target = "_blank" href = "https://ainoob.com/ads/first" >
139+ < h2 className = "adsTag" > { i18n ( "support_devloper" ) } </ h2 >
103140 < img border = "0" src = "https://ainoob.com/ads.jpg" />
104141 </ a >
105142 </ div >
You can’t perform that action at this time.
0 commit comments