Commit 0d5fe5d23591eac0a22129bdb86076414ef61b4c
1 parent
5bb8e6bb
add footer tel
Showing
5 changed files
with
46 additions
and
3 deletions
images/index_footwb.png
0 → 100755
1.81 KB
images/index_footwx.png
0 → 100755
1.59 KB
index.html
| ... | ... | @@ -882,10 +882,12 @@ |
| 882 | 882 | |
| 883 | 883 | <div class="col-md-3 col-xs-6"> |
| 884 | 884 | <div class="footer"> |
| 885 | - <div class="footer-title">官方媒体</div> | |
| 885 | + <div class="footer-media">官方媒体</div> | |
| 886 | 886 | <ul class="footer-links"> |
| 887 | - <li><a href="#">微信</a></li> | |
| 888 | - <li><a href="#">微博</a></li> | |
| 887 | + <span class="links_wechatIco rnt_pos_rel"> | |
| 888 | + <span class="rnt_wechat rnt_pos_abs"></span> | |
| 889 | + </span> | |
| 890 | + <a href="http://www.weibo.com"><span class="links_weiboIco"></span></a> | |
| 889 | 891 | </ul> |
| 890 | 892 | </div> |
| 891 | 893 | </div> |
| ... | ... | @@ -931,6 +933,7 @@ |
| 931 | 933 | <script type="text/javascript" src="js/jquery.counterup.min.js"></script> |
| 932 | 934 | <script type="text/javascript" src="js/swiper.js"></script> |
| 933 | 935 | <script type="text/javascript" src="js/gmaps.min.js"></script> |
| 936 | +<script type="text/javascript" src="js/nav-footer.js"></script> | |
| 934 | 937 | <script type="text/javascript" src="js/main.js"></script> |
| 935 | 938 | </body> |
| 936 | 939 | </html> | ... | ... |
js/nav-footer.js
0 → 100644
style.css
| ... | ... | @@ -2183,6 +2183,9 @@ a:hover{ |
| 2183 | 2183 | .footer-title{ |
| 2184 | 2184 | margin-bottom: 38px; |
| 2185 | 2185 | } |
| 2186 | +.footer-media{ | |
| 2187 | + margin-bottom: 20px; | |
| 2188 | +} | |
| 2186 | 2189 | .footer-links li a,.footer-links li{ |
| 2187 | 2190 | font-size:16px; |
| 2188 | 2191 | font-family:PingFang-SC-Medium; |
| ... | ... | @@ -2197,6 +2200,33 @@ a:hover{ |
| 2197 | 2200 | .footer-links li:last-of-type{ |
| 2198 | 2201 | margin-bottom: 0; |
| 2199 | 2202 | } |
| 2203 | +.links_wechatIco{ | |
| 2204 | + background: url("images/index_footwx.png") no-repeat; | |
| 2205 | + width: 31px; | |
| 2206 | + height: 31px; | |
| 2207 | + display: inline-block; | |
| 2208 | + cursor: pointer; | |
| 2209 | +} | |
| 2210 | +.links_weiboIco{ | |
| 2211 | + background: url("images/index_footwb.png") no-repeat; | |
| 2212 | + width: 31px; | |
| 2213 | + height: 31px; | |
| 2214 | + margin-left: 15px; | |
| 2215 | + display: inline-block; | |
| 2216 | + cursor: pointer; | |
| 2217 | +} | |
| 2218 | +.rnt_wechat{ | |
| 2219 | + width: 164px; | |
| 2220 | + height: 164px; | |
| 2221 | + background: #0b0b0b; | |
| 2222 | + border-radius: 4px; | |
| 2223 | + bottom:31px; | |
| 2224 | + left: 0px; | |
| 2225 | + display: none; | |
| 2226 | +} | |
| 2227 | +.links_wechatIco:hover .rnt_wechat{ | |
| 2228 | + display: block; | |
| 2229 | +} | |
| 2200 | 2230 | .bottom-footer{ |
| 2201 | 2231 | width: 1200px; |
| 2202 | 2232 | margin: 0 auto; |
| ... | ... | @@ -2210,6 +2240,12 @@ a:hover{ |
| 2210 | 2240 | font-weight:500; |
| 2211 | 2241 | color:rgba(255,255,255,.5); |
| 2212 | 2242 | } |
| 2243 | +.rnt_pos_rel{ | |
| 2244 | + position: relative; | |
| 2245 | +} | |
| 2246 | +.rnt_pos_abs{ | |
| 2247 | + position: absolute; | |
| 2248 | +} | |
| 2213 | 2249 | /*=================== |
| 2214 | 2250 | End Footer CSS |
| 2215 | 2251 | =====================*/ | ... | ... |