123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script>
- window.onload=function(){
- var u = navigator.userAgent,
- dpr = window.devicePixelRatio || 1;
- if (u && u != "") {
- var mobile = !!u.match(/AppleWebKit.*Mobile.*/); //是否为移动终端
- if(mobile){
- if(dpr==2){
- document.documentElement.style.fontSize="100%";
- }else if(dpr==1.5){
- document.documentElement.style.fontSize="100%";
- }else if(dpr==3){
- document.documentElement.style.fontSize="130%";
- }
- document.documentElement.setAttribute('mobile','1');
- }
- }
- document.documentElement.setAttribute('dpr',dpr);
- //alert(dpr)
- //console.log(window.location.pathname);
- var pathName = top.window.location.pathname;
- if(pathName.indexOf("about")>0){
- document.getElementById('about').className='active';
- }else if(pathName.indexOf("flow")>0){
- document.getElementById('flow').className='active';
- }else if(pathName.indexOf("faq")>0){
- document.getElementById('faq').className='active';
- }
- }
- </script>
- <style>
- html {
- font-family: "Microsoft Yahei", arial, helvetica, sans-serif;
- -webkit-text-size-adjust: none;
- word-break : break-word;
- }
- [mobile="1"] html {
- font-size: 62.5%;
- }
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, code, em, img, q, small, strong, dd, dl, dt, li, ol, ul, fieldset, form, label, table, tbody, tr, th, td, input {
- margin: 0;
- padding: 0;
- outline: 0;
- }
- img {
- border: none;
- }
- body {
- background-color: #f2f2f2;
- height: 100%;
- min-width: 1200px;
- }
- .fr {
- float: right;
- }
- .clear {
- clear: both;
- }
- .header {
- height: 92px;
- width: 100%;
- min-width: 1200px;
- border-top: #0285f0 4px solid;
- background-color: #ffffff;
- }
- .header .center {
- width: 1180px;
- height: 100%;
- margin: 0 auto;
- position: relative;
- padding: 0 10px;
- }
- .logo {
- width: 387px;
- height: 42px;
- margin: 23px 0 23px 10px;
- cursor: pointer;
- }
- .header .menu {
- height: 92px;
- }
- .header a {
- display: inline-block;
- }
- .header ul {
- display: inline-block;
- margin-right: 20px;
- font-size: 16px;
- height: 92px;
- }
- [mobile="1"] .header ul {
- font-size: 1.6rem;
- }
- .header ul a {
- display: inline-block;
- float: left;
- padding: 0 30px;
- height: 100%;
- line-height: 92px;
- overflow: hidden;
- color: #666666;
- font-size: 16px;
- text-decoration: none;
- }
- [mobile="1"] .header ul a {
- padding: 0 3.0rem;
- font-size: 1.6rem;
- }
- .header ul .active {
- background-color: #f2f2f2;
- color: #666666;
- font-weight: bold;
- }
- [dpr="3"] .header ul a, [dpr="1.5"] .header ul a {
- padding: 0 1rem
- }
- </style>
- </head>
- <body leftmargin="0" topmargin="0">
- <div class="header">
- <div class="center"> <a href="../index.html" target="_parent"><img class="logo" src="../images/logo.png" /></a>
- <div class="menu fr">
- <ul>
- <a href="../about.html" id="about" target="_parent">关于WiFi万能钥匙</a> <a href="../flow.html" id="flow" target="_parent">招聘流程</a> <a href="../faq.html" id="faq" target="_parent">常见问题FAQ</a>
- <!--a href="./news.html" id="news" target="_parent">招聘动态</a-->
- </ul>
- </div>
- <div class="clear"></div>
- </div>
- </div>
- </body>
- </html>
|