Commit de45b5c3358efd9688920a1c76ebb338fe28f040
1 parent
3fc834b0
index 总接口数
Showing
5 changed files
with
105 additions
and
4 deletions
css/libCss/common.css
... | ... | @@ -27,6 +27,9 @@ ul,li,ol{ |
27 | 27 | .boder-raduis5{ |
28 | 28 | border-radius: 5px; |
29 | 29 | } |
30 | +.border-bottom1{ | |
31 | + border-bottom: 1px solid #e5e5e5; | |
32 | +} | |
30 | 33 | input,button,select,textarea{outline:none;} |
31 | 34 | /*头部--------------------------------------------------*/ |
32 | 35 | header{ |
... | ... | @@ -144,8 +147,81 @@ section{ |
144 | 147 | background-color: #fff; |
145 | 148 | float: left; |
146 | 149 | } |
150 | +.link-con-bottom-wrap{ | |
151 | + width: 734px; | |
152 | + background-color: #fff; | |
153 | + height: 304px; | |
154 | + margin-top: 32px; | |
155 | +} | |
156 | +.link-con-title{ | |
157 | + height: 46px; | |
158 | + padding-left: 24px; | |
159 | + line-height: 46px; | |
160 | +} | |
161 | +.link-con-title span{ | |
162 | + padding-left: 11px; | |
163 | + border-left: 3px solid #2abb9b; | |
164 | + color: #000; | |
165 | + font-size: 16px; | |
166 | +} | |
167 | +.link-con-main{ | |
168 | + height: 198px; | |
169 | +} | |
170 | +.link-con-main-1{ | |
171 | + position: relative; | |
172 | + text-align: center; | |
173 | + background: url("../../image/link-con-main-1.png") no-repeat center center; | |
174 | +} | |
175 | +.circle-animation{ | |
176 | + position: absolute; | |
177 | + width: 140px; | |
178 | + height: 140px; | |
179 | + /*border-radius: 50%;*/ | |
180 | + background: url("../../image/circle-animation.png") no-repeat 0 0; | |
181 | + top:29px; | |
182 | + left:105px; | |
183 | + animation:circle 5s infinite linear; | |
184 | + -webkit-animation:circle 5s infinite linear; | |
185 | + -moz-animation:circle 5s infinite linear; | |
186 | +} | |
187 | +@keyframes circle{ | |
188 | + 0%{ transform:rotate(0deg); } | |
189 | + 100%{ transform:rotate(360deg); } | |
190 | +} | |
191 | +@-webkit-keyframes circle{ | |
192 | + 0%{ transform:rotate(0deg); } | |
193 | + 100%{ transform:rotate(360deg); } | |
194 | +} | |
195 | +@-moz-keyframes circle{ | |
196 | + 0%{ transform:rotate(0deg); } | |
197 | + 100%{ transform:rotate(360deg); } | |
198 | +} | |
199 | +.link-con-main-1 span{ | |
200 | + display: inline-block; | |
201 | + width: 100%; | |
202 | +} | |
203 | +.link-con-main-1 span:nth-of-type(1){ | |
204 | + font-size: 52px; | |
205 | + color: #1f2b3d; | |
206 | + padding-top: 50px; | |
207 | +} | |
208 | +.link-con-main-2{ | |
209 | + background: url("../../image/link-con-main-2.png") no-repeat center center; | |
210 | +} | |
211 | +.link-con-main-2 span{ | |
212 | + display: inline-block; | |
213 | + width: 100%; | |
214 | + text-align: center; | |
215 | + color: #fff; | |
216 | +} | |
217 | +.link-con-main-2 span:nth-of-type(1){ | |
218 | + font-size: 52px; | |
219 | + padding-top: 50px; | |
220 | +} | |
147 | 221 | .link-con-right{ |
148 | 222 | width: 336px; |
223 | + height: 581px; | |
224 | + background-color: #fff; | |
149 | 225 | } |
150 | 226 | |
151 | 227 | ... | ... |
image/circle-animation.png
0 → 100644
2.35 KB
image/link-con-main-1.png
0 → 100644
9.14 KB
image/link-con-main-2.png
0 → 100644
14.6 KB
index.html
... | ... | @@ -52,12 +52,37 @@ |
52 | 52 | <div class="link-con"> |
53 | 53 | <div class="link-con-1"> |
54 | 54 | <div class="link-con-left float-left"> |
55 | - <div class="link-con-left-wrap marginright32 boder-raduis5"></div> | |
56 | - <div class="link-con-left-wrap boder-raduis5"></div> | |
55 | + <div class="link-con-left-wrap marginright32 boder-raduis5"> | |
56 | + <div class="link-con-title border-bottom1"> | |
57 | + <span>总接口数</span> | |
58 | + </div> | |
59 | + <div class="link-con-main-1 link-con-main"> | |
60 | + <span>560</span> | |
61 | + <span>总计(个)</span> | |
62 | + <div class="circle-animation"></div> | |
63 | + </div> | |
64 | + </div> | |
65 | + <div class="link-con-left-wrap boder-raduis5"> | |
66 | + <div class="link-con-title border-bottom1"> | |
67 | + <span>今日活跃接口数</span> | |
68 | + </div> | |
69 | + <div class="link-con-main-2 link-con-main"> | |
70 | + <span>56</span> | |
71 | + <span>总计(个)</span> | |
72 | + </div> | |
73 | + </div> | |
57 | 74 | <div class="clearfix"></div> |
58 | - <div></div> | |
75 | + <div class="link-con-bottom-wrap boder-raduis5"> | |
76 | + <div class="link-con-title"> | |
77 | + <span>接入接口统计</span> | |
78 | + </div> | |
79 | + </div> | |
80 | + </div> | |
81 | + <div class="link-con-right float-left boder-raduis5"> | |
82 | + <div class="link-con-title border-bottom1"> | |
83 | + <span>调用排行榜</span> | |
84 | + </div> | |
59 | 85 | </div> |
60 | - <div class="link-con-right float-left">2</div> | |
61 | 86 | </div> |
62 | 87 | |
63 | 88 | ... | ... |