main.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>BOSSHAND</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  7. <meta name="apple-mobile-web-app-capable" content="yes">
  8. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  9. <link rel="stylesheet" href="css/common/mui.min.css">
  10. <link rel="stylesheet" type="text/css" href="css/common/icons-extra.css" />
  11. <link rel="stylesheet" type="text/css" href="css/common/common.css" />
  12. <style type="text/css">
  13. .mui-bar-tab .mui-tab-item .mui-icon~.mui-tab-label {
  14. font-size: 10px;
  15. }
  16. .mui-bar-tab .mui-tab-item {
  17. height: 49px;
  18. }
  19. .mui-bar-tab .mui-tab-item .mui-icon {
  20. top: 7px;
  21. width: 20px;
  22. height: 20px;
  23. }
  24. .mui-active>.show {
  25. background: url(img/index/home@2x.png) no-repeat;
  26. background-size: contain;
  27. }
  28. .mui-active>.chat {
  29. background: url(img/index/chat-chat@2x.png) no-repeat;
  30. background-size: contain;
  31. }
  32. .mui-active>.app {
  33. background: url(img/index/app-color@2x.png) no-repeat;
  34. background-size: contain;
  35. }
  36. .mui-active>.me {
  37. background: url(img/index/me-color@2x.png) no-repeat;
  38. background-size: contain;
  39. }
  40. .show {
  41. background: url(img/index/home_gray@2x.png) no-repeat;
  42. background-size: contain;
  43. }
  44. .chat {
  45. background: url(img/index/chat@2x.png) no-repeat;
  46. background-size: contain;
  47. }
  48. .app {
  49. background: url(img/index/app@2x.png) no-repeat;
  50. background-size: contain;
  51. }
  52. .me {
  53. background: url(img/index/me-@2x.png) no-repeat;
  54. background-size: contain;
  55. }
  56. .title-img {
  57. display: inline-block;
  58. position: relative;
  59. width: 34px;
  60. height: 34px;
  61. top: 6px;
  62. left: 3px;
  63. border-radius: 50%;
  64. background: -webkit-radial-gradient(circle, #ffffff, #1badf8);
  65. /* Safari 5.1 - 6.0 */
  66. background: -o-radial-gradient(circle, #ffffff, #1badf8);
  67. /* Opera 11.1 - 12.0 */
  68. background: -moz-radial-gradient(circle, #ffffff, #1badf8);
  69. /* Firefox 3.6 - 15 */
  70. background: radial-gradient(circle, #ffffff, #1badf8);
  71. /* 标准的语法 */
  72. }
  73. .title-img img {
  74. width: 100%;
  75. height: 100%;
  76. border-radius: 50%;
  77. border: 3px solid transparent;
  78. box-sizing: border-box;
  79. /*display: none;*/
  80. }
  81. #tabbar {
  82. width: 100%;
  83. text-align: center;
  84. position: fixed;
  85. left: 0;
  86. bottom: 0;
  87. z-index: 10000;
  88. background: #ffffff;
  89. border-top: 1px solid #d7d7d7;
  90. }
  91. #tabbar button,
  92. #tabbar input {
  93. margin: 8px 0;
  94. }
  95. #tabbar input {
  96. width: 76%;
  97. height: 34px;
  98. font-size: 14px;
  99. margin-right: 5px;
  100. /*border: none;
  101. border-bottom: 1px solid #1BADF8;*/
  102. border-radius: 4px;
  103. border: 1px solid #eee;
  104. line-height: 23px;
  105. }
  106. #tabbar button {
  107. height: 34px;
  108. color: #999999;
  109. margin-left: 5px;
  110. border: 1px solid #eee;
  111. line-height: 23px;
  112. }
  113. </style>
  114. </head>
  115. <body>
  116. <header id="header" class="mui-bar mui-bar-nav">
  117. <span class="title-img" id="tpl/my/my-set.html" onclick="hrefTo(this.id)">
  118. </span>
  119. <h1 id="title" class="mui-title">BOSSHAND</h1>
  120. </header>
  121. <nav id="tabbar" class="mui-bar mui-bar-tab">
  122. <a id="defaultTab" class="mui-tab-item mui-active" href="home-index.html">
  123. <span class="mui-icon show"></span>
  124. <span class="mui-tab-label">工作</span>
  125. </a>
  126. <a class="mui-tab-item chats" href="communicate.html">
  127. <span class="mui-icon chat">
  128. <!--有新消息时显示,添加数字-->
  129. <!--<span class="mui-badge">9</span>-->
  130. </span>
  131. <span class="mui-tab-label">社交</span>
  132. </a>
  133. <a class="mui-tab-item" href="appliance.html">
  134. <span class="mui-icon app"></span>
  135. <span class="mui-tab-label">资讯</span>
  136. </a>
  137. <a class="mui-tab-item" href="my.html">
  138. <span class="mui-icon me"></span>
  139. <span class="mui-tab-label">我的</span>
  140. </a>
  141. </nav>
  142. <script src="libs/mui.min.js"></script>
  143. <script src="libs/href.js" type="text/javascript" charset="utf-8"></script>
  144. <script src="app/index-js/index-tabs.js" type="text/javascript" charset="utf-8"></script>
  145. </body>
  146. </html>