css布局手机端移动端在线课程培训教育首页代码
代码语言:html
所属分类:布局界面
代码描述:css布局手机端移动端在线课程培训教育首页代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>手机app通用模板在线课程培训页面</title> <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/> <meta content="yes" name="apple-mobile-web-app-capable"/> <meta content="black" name="apple-mobile-web-app-status-bar-style"/> <meta content="telephone=no" name="format-detection"/> <style> html,body { color: #333; margin: 0; height: 100%; font-family: "Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: normal; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } a { text-decoration: none; color: #000; } a, label, button, input, select { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } img { border: 0; } body { background: #fff; color: #666; } html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td { margin: 0; padding: 0; } a { text-decoration: none; color: #08acee; } button { outline: 0; } img { border: 0; } button,input,optgroup,select,textarea { margin: 0; font: inherit; color: inherit; outline: none; } li { list-style: none; } a { color: #666; } .clearfix::after { clear: both; content: "."; display: block; height: 0; visibility: hidden; } .clearfix { } .divHeight { width: 100%; height: 10px; background: #f5f5f5; position: relative; overflow: hidden; } .r-line { position: relative; } .r-line:after { content: ''; position: absolute; z-index: 0; top: 0; right: 0; height: 100%; border-right: 1px solid #D9D9D9; -webkit-transform: scaleX(0.5); transform: scaleX(0.5); -webkit-transform-origin: 100% 0; transform-origin: 100% 0; } .b-line { position: relative; } .b-line:after { content: ''; position: absolute; z-index: 2; bottom: 0; left: 0; width: 100%; height: 1px; border-bottom: 1px solid #e2e2e2; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); -webkit-transform-origin: 0 100%; transform-origin: 0 100%; } .aui-flex { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 15px; position: relative; } .aui-flex-box { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; font-size: 14px; color: #333; } /* 必要布局样式css */ .aui-flexView { width: 100%; height: 100%; margin: 0 auto; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .aui-scrollView { width: 100%; height: 100%; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; position: relative; } .aui-navBar { height: 44px; position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; z-index: 1002; background: #fff; } .aui-navBar-item { height: 44px; min-width: 25%; -webkit-box-flex: 0; -webkit-flex: 0 0 25%; -ms-flex: 0 0 25%; flex: 0 0 25%; padding: 0 0.9rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; font-size: 0.7rem; white-space: nowrap; overflow: hidden; color: #808080; position: relative; } .aui-navBar-item:first-child { -webkit-box-ordinal-group: 2; -webkit-order: 1; -ms-flex-order: 1; order: 1; margin-right: -25%; font-size: 0.9rem; font-weight: bold; } .aui-navBar-item:last-child { -webkit-box-ordinal-group: 4; -webkit-order: 3; -ms-flex-order: 3; order: 3; -webkit-box-pack: end; -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end; color: #fff; } .aui-center { -webkit-box-ordinal-group: 3; -webkit-order: 2; -ms-flex-order: 2; order: 2; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; height: 44px; width: 50%; margin-left: 25%; } .aui-center-title { text-align: center; width: 100%; white-space: nowrap; overflow: hidden; display: block; text-overflow: ellipsis; font-size: 0.95rem; color: #222222; font-weight: bold; } .icon { width: 20px; height: 20px; display: block; border: none; float: left; background-size: 20px; background-repeat: no-repeat; } .icon-return { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAADo0lEQVRoQ+XbS2jUQBgH8P8/rW8EqScFPelBBA96kLKbaK2ooKhQS0HwfbFexIsHuxvjpiLePKkXH6D4LCq1qAi+kkL1UC+iFwUFwYNSQcEH2uaTgk2qO1tsdje77ux5h/l+mS+T5JsZ4j/5SXaZCQY3ADYAcpE5f3Oc0BmnUdJtxE41AUYPwKlR37KHOf/EeGOperDY5lqAPXkwwV263uqaAoudbgWMK0qUyEG6fq5mwJI1t4M8UwDbRddvHS92+P9VmdKSNXcDOA5SFd9V5Lw2AlITYLGtvQCOqUcWp+l6u+JAR9pU1QhLNu2CRkYNkhPM+XuKwVZVSottHgfYXuCePUbX31cstmrAkrVOgdhZAJRhzjtcCmzFwTI8adrWZQDqGVekna5/slTYioLFWV6PYKgL4Ib8lwoRUHYx16t+LBVxBSoyaYmzcCKChlsAm/NjlwDCLXS9C0W4CjZNHCzOkqkYmnYHhKmIahABWtjpdZcDm3hKy/7UdEwyHoBcokjjnxBZz87eO+XCJgoWp7EBQf0DgIsU2G8QrmOnd7+c2MTAcsCchTo+AjE/H4svQNBMt/dJubGJgKXDmoM66QU4VzFBfYaBJjr+0ySwZQfLwcZ5kPpHAGcrRnYAQBNd71lS2LKCJWMtAOGDmKkY2ffgYIqH+l4liS0bWBxzMQLeAzBDgX0H42eKzuM3SWPLApZseilg3AMxTZHGrxFgGQ97byuBLTlYMtYKUHpATlFgX2JQUjzif6gUtqRgyaTXgOwGOUGRxi9gDJp0+j5WElsysGTMTTB4EUC94qWiHz++NvNo/6dKY0sClqy1GZDzBepPj2F8aabT/7UasEWDxyy2CXzUGavoPPxeLdiiwGMW24DbMAY20nn+o5qwscGSMTfC4HUlRiR2zTiJixPre1hs8yzAbYrZ+Bxz/tYkAo/bR2nBIufp+lviBpNEu7jgFoBd6pTGNbpeSxLBx+kjFni4I60mrZErq9VjKUJr9OIRonV6tYzQGn08RGiNPg+je1qjAkCI1qnEMyq99SnihWidyrQhWqdCfIjWaaklmsg0WkwL0Totl0YjrdGCeITWaMtDhNZoU0uI1mnb0ujyjDYb0/5A67T1MExx2+oE0KEuztXY5tJRaH22D/9TcRCorQ3i0UindwDGaXXtO/5yTuy6dJwi+HjbiG21AbhU4J6u0WM8mfQ6GMbNPHQtHuMZVRFd+Rs9OYTX2jGev0e0VEfxfgES9cxMRMo1YQAAAABJRU5ErkJggg=='); } .icon-share { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAE5ElEQVRoQ+2bXWgcVRTH/2dmY9VI06KgrdCKVgxG/CqK3WRmQ1ppzYv4Jr6UiiAovgkiZrdj1WKtICJG0DfBB1/EF2PVtmx228QgrRUMtZrGD1o3wWoS+5lkZ47c2WTd2Znd7MfsnVndeVv23nPP757/uXPvnXsJRQ/He+4BEANRJxi3A2grLuPLbyILzN/CxJu0N50pZZMH9D4ovB+M+0BEFbSdBeMnEH4AcwqzmffonYn55Xp5A2z0Xg3LHARoVwVG/SvCfBrqX3eSMb7g6vwXNnfgqvazILTX0eAErOwOenXktLBhA/Pzd7fj2o4vAYrWYbj2qgpvJiN93AW8W3sQTGO1G16qyfwH2NwioHPAcf0zEPrrNlyLAWaGqm4gI3nGBWz0roFpnakzwjmzQubTF7uIE92PAOpQLb7WXYdhgvhF2pPeXzKHE9pWMPYBuL/CHC7tFltPE8f1j0B4wlmKRT69DeAQLM4nfN2AhQYiioXLF7+jfcfm/LDLL0U3QlVTAG0oaY/5AHFC/xnALY5CjJ30SupDPxyRYcOGVSJHQbh5hfamBPAigIij4BVzNb1x9LwMZ+ttowpYgJkFMB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6Ji0wAAAABJRU5ErkJggg=='); } .aui-navBar-color { background: #417fed; } .aui-search-item { width: 100%; height: 32px; line-height: 32px; background: #fff; border-radius: 3px; position: relative; } .aui-search-item input { background: none; border: none; font-size: 0.85rem; width: 100%; padding-left: 1.35rem; } .icon-search { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAG30lEQVRoQ+1aaYwURRR+r4fVRWPQLLJEBUXFIwrKJajRaEzQEIFEw3pFZSHr9KvGieIREdRRESUaMWSnqsdFUQkoSDQqiEeiiAeoJCpBUMFEowLLERCPVWe2nykzQ2bbOap7ejdZ2Er2z/ZX3/e+ejWv62iEQ6zhIeYXegwf7BnvyXBPhg+yEeiyKZ1Kpfoj4umI+J8mM7cz8xbHcXZ05Zh2mmGl1DBmnoSI5wDAUAA4oZQxZt6HiO8AwIpMJvNaIpHY31mDEKlhZkbXdW8BAAcAhoQJmpn/AIDFzPyU4zibw3CU6xOZYSnlUERcCADDowiSmT0AWBCLxWbG4/HdUXBqjqoNz58///CampokM9+NiFZUgRXw/MrM1wkhVkXBXZVh13UHe573hi5G5YJh5t8RcS0A7AQAnS09beuY+VgAOBERRxiYeZiI7jfAlYWENqyUOomZ1yJi/2IKekoi4isAsKSurm5lQ0PDP6Ui0VwA0MDMkxHxzDLF7SkhxO3VmA5lWCl1PACsK1V5mfkDz/OcadOmfR0kOF300un0BGaeBQAjS/RNEtGDQXgLsYENJ5NJq76+fg0AXOgX1RWWmac6jrM0bED5fkqpmQAwuwgPe553meM474fRCGxYKfUIANxbxOxmy7Im2ra9JUwgxfpIKfV7fDEA1BQ+Z+ZdvXv3Pq2xsXFfUK1AhnO/ta0AEPMFsDWbzY7ojAWDUupqAFheZICfF0JM7mzDWlgHcKAx815EHE5EPwQVN8Urpe4DgIf8eMuyxsTj8U9NeTTOOMPpdHqI53kbioz0RCHE60FEw2CllO8h4qW+vsuI6JogfMaGlVJPAoD/lbCeiEYFEQyLVUqdBwAd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W4a9e+7w3UpIg4CgGr21s22bSdMNzJVG9bGXNcd73neM/5jXONhLw3Uu7GlzNxQ4bJ9UWtr6+RkMqm/GijbIjGsFRYuXHh0W1vbXERsCrKgKRUdM2/QXHrpqpTSu6PnK/DOIKLHusxwXkhKeTIi3sTM+vc4oFIAvuf684blzLxYCLG6cJoqpUivfcoM0FYhxOBKepFluJiQ/iSCmccAQP5Pf8JUePPIzPwNIq5h5rf69u37ZrkvBYqdj+d1mXmbEEJf1HfNlK4kFNXzUkWSmWcLIfQt48FlWLtRSuk6oW9C8u/qdF1dXaLc7MiPQqdO6UqjXc1zvUjJZrOjLMvaT0QbTbm6rWFTg35cj+GwI9dd+vVkuLtkKmycPRkOO3LdpV9PhrtLpsLG+S99Abhb1BYTPQAAAABJRU5ErkJggg=='); position: absolute; left: 0; top: 0.4rem; } .aui-center-clear { width: 90%; margin-left: 4%; } .aui-banner-bg { width: 100%; height: 5rem; background: #417fed; } .m-slider { overflow-x: hidden; width: 93%; position: relative; border-radius: 5px; margin: -75px auto 0; } .slider-wrapper { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; height: 100%; -webkit-transform: translate3d(0px, 0px, 0px); transform: translate3d(0px, 0px, 0px); position: relative; z-index: 1; -webkit-transition-property: -webkit-transform; transition-property: -webkit-transform; transition-property: transform; transition-property: transform, -webkit-transform; } .slider-item { width: 100%; height: 100%; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; background: #f6f6f6; } .slider-item img { width: 100%; height: auto; display: block; border: none; } .slider-pagination { text-align: right; position: absolute; width: 25%; z-index: 2; right: 0; bottom: 10px; pointer-events: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: end; -webkit-align-items: flex-end; -ms-flex-align: end; align-items: flex-end; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .slider-pagination > .slider-pagination-item { margin: 0 .25rem; width: 9px; height: 2px; display: inline-block; background-color: #fff; } .slider-pagination > .slider-pagination-item.slider-pagination-item-active { background-color: #427fed; } .aui-palace { padding: 0.9rem 0 0 0; position: relative; overflow: hidden; } .aui-palace-grid { position: relative; float: left; padding: 1px; width: 20%; box-sizing: border-box; } .aui-palace-grid-icon { width: 45px; height: 45px; margin: 0 auto; } .aui-palace-grid-icon img { display: block; width: 100%; height: 100%; border: none; } .aui-palace-grid-text { display: block; text-align: center; color: #333; font-size: 0.85rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding-top: 0.2rem; } .aui-palace-grid-text h2 { font-size: 0.85rem; color: #666666; } .aui-flex-box h2 { font-size: 1rem; color: #333333; } .aui-flex-link a { color: #999; font-size: 0.85rem; } .aui-ad-img { width: 90px; height: auto; margin-right: 0.8rem; } .aui-ad-img img { width: 90px; height: auto; display: block; border: none; border-radius: 5px; } .aui-flex-box h3 { color: #222; font-size: 1rem; margin-bottom: 0.5rem; } .aui-flex-box h3 em { background-image: -webkit-gradient(linear,left top,right top,from(#cb86f9),to(#8324f8)); background-image: -webkit-linear-gradient(left,#cb86f9,#8324f8); background-image: -moz-linear-gradient(left,#cb86f9,#8324f8); background-image: linear-gradient(to right,#cb86f9,#8324f8); background-color: #8324f8; font-size: 0.7rem; border-radius: 20px; padding: 0.05rem 0.3rem; color: #fff; display: inline-block; font-style: normal; font-weight: normal; } .aui-flex-box h3 em:nth-child(2) { background-image: -webkit-gradient(linear,left top,right top,from(#fdb093),to(#fe6d4c)); background-image: -webkit-linear-gradient(left,#fdb093,#fe6d4c); background-image: -moz-linear-gradient(left,#fdb093,#fe6d4c); background-image: linear-gradient(to right,#fdb093,#fe6d4c); background-color: #fe6d4c; } .aui-flex-box h4 { color: #b6b5b5; font-weight: normal; margin-bottom: 0.3rem; } .aui-flex-box p { font-size: 0.8rem; color: #999; } .aui-flex-box span { font-size: 0.8rem; color: #999; } .aui-footer { width: 100%; position: relative; z-index: 100; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: 7px 5px 7px 5px; background: #ffffff; } .aui-footer:after { content: ''; position: absolute; z-index: 0; top: -1px; left: 0; width: 100%; height: 1px; border-top: 1px solid #e4e4e4; -webkit-transform: scaleY(0.5); transform: scaleY(0.5); -webkit-transform-origin: 0 100%; transform-origin: 0 100%; } .aui-tabBar-item { -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; color: #979797; } .aui-tabBar-item-text { display: inline-block; font-size: 0.65rem; color: #3b4048; padding-top: 2px; } .aui-tabBar-item-active .aui-tabBar-item-text { color: #3b4048; } .icon-loan { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABBCAIAAAABlV4SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8w.........完整代码请登录后点击上方下载按钮下载查看
网友评论0