Commit dea75d23a868829f457a8140cefb735db4af965f
Merge branch 'branch' of http://192.168.1.195:9998/web_developers/javaplatform into branch
Showing
6 changed files
with
158 additions
and
17 deletions
css/libCss/common.css
| ... | ... | @@ -3,7 +3,7 @@ body{ |
| 3 | 3 | background-color: #eef1f5; |
| 4 | 4 | } |
| 5 | 5 | body,html{ |
| 6 | - overflow: hidden; | |
| 6 | + /*overflow: hidden;*/ | |
| 7 | 7 | width: 100%; |
| 8 | 8 | height: 100%; |
| 9 | 9 | } |
| ... | ... | @@ -12,28 +12,134 @@ ul,li,ol{ |
| 12 | 12 | margin-bottom: 0!important; |
| 13 | 13 | list-style: none; |
| 14 | 14 | } |
| 15 | +.display-none{ | |
| 16 | + display: none; | |
| 17 | +} | |
| 18 | +.float-left{ | |
| 19 | + float: left; | |
| 20 | +} | |
| 21 | +.float-right{ | |
| 22 | + float: right; | |
| 23 | +} | |
| 24 | +.marginright32{ | |
| 25 | + margin-right: 32px; | |
| 26 | +} | |
| 27 | + | |
| 15 | 28 | input,button,select,textarea{outline:none;} |
| 16 | 29 | /*头部--------------------------------------------------*/ |
| 17 | 30 | header{ |
| 31 | + min-width: 1400px; | |
| 18 | 32 | height: 80px; |
| 19 | 33 | width: 100%; |
| 20 | 34 | background-color: #fff; |
| 35 | + box-shadow: 0 1px 10px 0 rgba(50,50,50,.2); | |
| 36 | +} | |
| 37 | +.java-logo{ | |
| 38 | + height: 80px; | |
| 39 | + display: inline-block; | |
| 40 | + background: url("../../image/java-logo.png") no-repeat 47px center; | |
| 41 | +} | |
| 42 | +.java-title{ | |
| 43 | + display: inline-block; | |
| 44 | + height: 80px; | |
| 45 | + width: 167px; | |
| 46 | + margin-left: 101px; | |
| 47 | + background: url("../../image/java-title.png") no-repeat 0px center; | |
| 48 | +} | |
| 49 | +.java-loginout{ | |
| 50 | + cursor: pointer; | |
| 51 | + float: right; | |
| 52 | + width: 27px; | |
| 53 | + height: 28px; | |
| 54 | + background: url("../../image/pladata_close.png") no-repeat; | |
| 55 | + margin-top: 26px; | |
| 56 | + margin-right: 32px; | |
| 21 | 57 | } |
| 22 | 58 | /*左侧栏--------------------------------------------------*/ |
| 23 | 59 | nav{ |
| 24 | - position: fixed; | |
| 25 | 60 | width: 200px; |
| 26 | 61 | height: 100%; |
| 27 | - left: 0; | |
| 28 | - top:0; | |
| 29 | - padding-top: 80px; | |
| 30 | 62 | } |
| 31 | 63 | .nav-ul{ |
| 64 | + box-shadow: 1px 0 10px 0 rgba(50,50,50,.2); | |
| 32 | 65 | background-color: #fff; |
| 33 | 66 | height: 100%; |
| 34 | 67 | } |
| 68 | +.nav-ul li{ | |
| 69 | + height: 120px; | |
| 70 | + line-height: 120px; | |
| 71 | + text-align: center; | |
| 72 | + color: #1f2b3d; | |
| 73 | + font-size: 20px; | |
| 74 | +} | |
| 75 | +.nav-ul li:nth-of-type(1){ | |
| 76 | + box-shadow: 0 1px 10px 0 rgba(50,50,50,.2); | |
| 77 | + background-color: #f9f9f9; | |
| 78 | +} | |
| 79 | +.nav-ul li:nth-of-type(2){ | |
| 80 | + background-color: #fff; | |
| 81 | +} | |
| 82 | +.nav-ul li:nth-of-type(3){ | |
| 83 | + background-color: #f9f9f9; | |
| 84 | +} | |
| 85 | +.nav-ul li:nth-of-type(4){ | |
| 86 | + background-color: #fff; | |
| 87 | +} | |
| 88 | +.nav-ul li:hover{ | |
| 89 | + background-color: rgba(38,190,150,.1); | |
| 90 | +} | |
| 91 | +.nav-ul li.visitActive{ | |
| 92 | + background-color: #2abb9b; | |
| 93 | + color: #fff; | |
| 94 | +} | |
| 35 | 95 | /*内容--------------------------------------------------*/ |
| 36 | 96 | section{ |
| 37 | - width: 100%; | |
| 38 | - padding-left: 200px; | |
| 39 | -} | |
| 40 | 97 | \ No newline at end of file |
| 98 | + | |
| 99 | + overflow-x: auto; | |
| 100 | + overflow-y: auto; | |
| 101 | + height: calc(100% - 80px); | |
| 102 | + height: -webkit-calc(100% - 80px); | |
| 103 | + height: -moz-calc(100% - 80px); | |
| 104 | + width:calc(100% - 200px); | |
| 105 | + width:-webkit-calc(100% - 200px); | |
| 106 | + width:-moz-calc(100% - 200px); | |
| 107 | +} | |
| 108 | +.section-wrap{ | |
| 109 | + padding: 18px 32px 0; | |
| 110 | +} | |
| 111 | +.link-div{ | |
| 112 | + margin-left: -10px; | |
| 113 | +} | |
| 114 | +.link-div span{ | |
| 115 | + width: 176px; | |
| 116 | + height: 57px; | |
| 117 | + display: inline-block; | |
| 118 | + text-align: center; | |
| 119 | + line-height: 42px; | |
| 120 | + font-size: 18px; | |
| 121 | + color: #fff; | |
| 122 | + cursor: pointer; | |
| 123 | +} | |
| 124 | +.link-div span:nth-of-type(1){ | |
| 125 | + background:url("../../image/link-div-1.png"); | |
| 126 | +} | |
| 127 | +.link-div span:nth-of-type(2){ | |
| 128 | + background:url("../../image/link-div-2.png"); | |
| 129 | +} | |
| 130 | +.link-con-left{ | |
| 131 | + padding-right: 32px; | |
| 132 | + width: 734px; | |
| 133 | + box-sizing: content-box; | |
| 134 | +} | |
| 135 | +.link-con-left-wrap{ | |
| 136 | + width: 351px; | |
| 137 | + height: 245px; | |
| 138 | + background-color: #fff; | |
| 139 | + float: left; | |
| 140 | +} | |
| 141 | +.link-con-right{ | |
| 142 | + width: 336px; | |
| 143 | +} | |
| 144 | + | |
| 145 | + | |
| 146 | +/*API别表----------------------------------------*/ | |
| 41 | 147 | \ No newline at end of file | ... | ... |
image/java-logo.png
0 → 100644
2.18 KB
image/java-title.png
0 → 100644
1.85 KB
image/link-div-1.png
0 → 100644
2.05 KB
image/link-div-2.png
0 → 100644
2.25 KB
index.html
| ... | ... | @@ -14,22 +14,57 @@ |
| 14 | 14 | <link rel="stylesheet" href="css/libCss/common.css"> |
| 15 | 15 | <link rel="stylesheet" href="css/libCss/bootstrap.min.css"> |
| 16 | 16 | <link rel="stylesheet" href="css/index.css"> |
| 17 | - <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> </head> | |
| 17 | + <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> | |
| 18 | 18 | </head> |
| 19 | 19 | <body> |
| 20 | 20 | <header> |
| 21 | - | |
| 22 | - <div class="row"> | |
| 23 | - <div class="col-md-8">.col-md-8</div> | |
| 24 | - <div class="col-md-4">.col-md-4</div> | |
| 25 | - </div> | |
| 21 | + <div class="float-left java-logo"> | |
| 22 | + <!--<span></span>--> | |
| 23 | + <span class="java-title"></span> | |
| 24 | + </div> | |
| 25 | + <div class="java-loginout float-right"> | |
| 26 | + <!--<span class="java-loginout"></span>--> | |
| 27 | + </div> | |
| 26 | 28 | </header> |
| 27 | -<nav> | |
| 29 | +<nav class="float-left"> | |
| 28 | 30 | <ul class="nav-ul"> |
| 29 | - <li>1</li> | |
| 31 | + <li class="visitActive"> | |
| 32 | + 任你停 | |
| 33 | + </li> | |
| 34 | + <li> | |
| 35 | + PDA | |
| 36 | + </li> | |
| 37 | + <li> | |
| 38 | + 微信服务号 | |
| 39 | + </li> | |
| 40 | + <li> | |
| 41 | + 第三方 | |
| 42 | + </li> | |
| 30 | 43 | </ul> |
| 31 | 44 | </nav> |
| 32 | -<section>section</section> | |
| 45 | +<section class="float-left"> | |
| 46 | + <div class="section-wrap"> | |
| 47 | + <div class="link-div"> | |
| 48 | + <span>总体概况</span> | |
| 49 | + <span>API 列表</span> | |
| 50 | + </div> | |
| 51 | + <div class="link-con"> | |
| 52 | + <div class="link-con-1"> | |
| 53 | + <div class="link-con-left float-left"> | |
| 54 | + <div class="link-con-left-wrap marginright32"></div> | |
| 55 | + <div class="link-con-left-wrap"></div> | |
| 56 | + <div class="clearfix"></div> | |
| 57 | + <div></div> | |
| 58 | + </div> | |
| 59 | + <div class="link-con-right float-left">2</div> | |
| 60 | + </div> | |
| 61 | + | |
| 62 | + | |
| 63 | + <!--API别表--> | |
| 64 | + <div class="link-con-1 display-none">display-none</div> | |
| 65 | + </div> | |
| 66 | + </div> | |
| 67 | +</section> | |
| 33 | 68 | |
| 34 | 69 | <script type="text/javascript" src="js/libJs/jquery.min.js"></script> |
| 35 | 70 | <script type="text/javascript" src="js/libJs/bootstrap.min.js"></script> | ... | ... |