jquery实现手机端移动端短信验证码登录页面代码
代码语言:html
所属分类:表单美化
代码描述:jquery实现手机端移动端短信验证码登录页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <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 { width: 100%; height: auto; display: block; border: 0; } body { background: #f5f5f5; 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; margin-top: -44px; } .aui-navBar { height: 44px; position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; z-index: 102; background: none; } .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; font-size: 0.82rem; } .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: #333; } .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/NlyAAABl0lEQVRoQ+3bsU0EMRAF0D9dUAYUALqrBEogI4WMDK4CWqIEMlIQ5IMs3UontHu7uvHMfHvP+Vp+HtvBt1ewsiYr8+IMZqu4qm4A3O7HtRORd8sYqSusqncA3v4BryxoWvAEttifROTx1CpTgo9g+wPPYL8BXIrIRxcVXoDdWPZvmSSaJR2BpQFHYSnAkdh0cDQ2FZyBTQNnYVPAmdhwcDY2FMyADQOzYEPATFh3MBvWFcyIdQOzYl3AzNjqYHZsVXAL2GrgVrBVwKr6DOBhImMqGZQ5ljk1vxr7zhTxqOo9gJdWsOYKq+ongIsR8C+Aa2vgVrOyQ1/WCk+BfwDc9Ag+tqS/AGzZ0KYKl2Uyc2jRoc3gPXrs0mvYNlToKuCW0NXAraCrgltAVwezo13AzGg3MCvaFcyIdgezoUPATOgwMAs6FMyADgdno1PAmeg0cBY6FZyBTgdHoynAkWgacBSaCrwQXd5L9/G4dAjBVvV8eAG6vwfiM+g+fwE4QJefPEoMXNqrNdinO7Q87pMO+zyDvWc4u/8/z3E8TObMpTAAAAAASUVORK5CYII='); } .m-slider { overflow-x: hidden; width: 100%; position: relative; } .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: 100%; 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: 8px; height: 8px; display: inline-block; border-radius: 100%; background-color: rgba(255,255,255,0.4); } .slider-pagination > .slider-pagination-item.slider-pagination-item-active { background-color: #fff; border-radius: 100%; } .aui-palace { padding: 1.5rem 0; position: relative; overflow: hidden; width: 85%; margin: 0 auto; } .aui-palace-grid { position: relative; float: left; padding: 1px; width: 25%; box-sizing: border-box; margin: 5px 0; } .aui-palace-grid-icon { width: 35px; height: 35px; 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.8rem; font-weight: normal; color: #9d8b8b; } .m-actionsheet { text-align: center; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; background-color: #EFEFF4; -webkit-transform: translate(0, 100%); transform: translate(0, 100%); -webkit-transition: -webkit-transform .3s; transition: -webkit-transform .3s; transition: transform .3s; transition: transform .3s, -webkit-transform .3s; } .mask-black { background-color: rgba(0, 0, 0, 0.4); position: fixed; z-index: 500; bottom: 0; right: 0; left: 0; top: 0; 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; z-index: 998; } .actionsheet-action { display: block; margin-top: .15rem; font-size: 0.28rem; color: #555; height: 1rem; line-height: 1rem; background-color: #FFF; } .m-actionsheet { text-align: center; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 10005; background-color: #ffffff; -webkit-transform: translate(0, 100%); transform: translate(0, 100%); -webkit-transition: -webkit-transform .3s; transition: -webkit-transform .3s; transition: transform .3s; transition: transform .3s, -webkit-transform .3s; } .actionsheet-toggle { -webkit-transform: translate(0, 0); transform: translate(0, 0); } .actionsheet-item { display: block; position: relative; font-size: 0.85rem; color: #555; height: 2rem; line-height: 2rem; background-color: #FFF; } .actionsheet-item { display: block; position: relative; font-size: 0.85rem; color: #555; height: 2rem; line-height: 2rem; background-color: #FFF; } .aui-coll-cancel a { height: 45px; line-height: 45px; font-size: 12px; background: #f9f9f9; display: block; text-align: center; width: 100%; } .aui-coll-share-img { width: 38px; height: 38px; margin: 0 auto; } .aui-coll-share-img img { width: 100%; height: auto; display: block; border: none; } .aui-coll-share-box { position: relative; overflow: hidden; padding: 10px 0; } .aui-coll-cancel a { height: 45px; line-height: 45px; font-size: 12px; background: #f9f9f9; display: block; text-align: center; width: 100%; } .aui-coll-share-item { position: relative; float: left; padding: 8px 10px; width: 33.333%; box-sizing: border-box; font-size: 12px; height: 85px; } .aui-rule { position: absolute; right: 0; top: 1rem; background: #54ca9a; border-radius: 50px 0 0 50px; font-size: 0.8rem; padding: 0.2rem 0.6rem; color: #fff; } .aui-ver-form { background: #fff; border-radius: 5px; width: 92%; margin: -8rem auto 4rem; position: relative; z-index: 2; padding: 1.8rem 1.8rem 4rem 1.8rem; } .icon-phone { position: absolute; left: 10px; top: 0.4rem; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAFaElEQVRoQ+2azXXbRhCAZwCC1zgVRKogcgWWKrBUgcWYzNXiQYvnk6mTH+CD5GvIREwFkiowVIGYCsx0QF1JgZM3IIC3WCz+SNCBfniSiAU4387Mzh8QntkHnxkvvAA/dY2/aPhFw09sByqb9Mh1PyD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e1HY4zxgSXSRiPMAEwLoVA17awOz3JqEhLuUFz3b7qvmpBnJZFulpgwNN5hLU3liOQOijlqy5pn7RsC6QywyOd3oNENoVb7MiUU4lB/LYx2+OetcqM2H1QdpEg7uVl6b7XZH9bNMEw/iT7l6Wp1ohvJ4pmUdFfn1xhqO4LXmneNnHNN9w9gjfoXCMLxWqzUpElbeaPZ7AhgnDs4SG1YbcOTT6uHC6SUADDYJJVk+GW7atTzE0/Xd5PtrBY5PbyIewsmTRL7kmb7fqbuxp+b4RVVa7cBMluunAGPT98/qAA9SXdO8kl+2Uas41Tq2Ahz9SBhfOaGQQ0lwmVNSXMHfrAM/cpx3gMjPjtPQvN55JNNWgSNtP8zn/FpE/J5IyieJpoDoAZFnIE511VHor28Akcc4nH0lJxxE94S4X5SIbB04ggsFHqQyrrwsYbURwfslucu48W9Zh2VO+R8GHIOv8nAey7DW47cFiqB01zkF5QhQ5VWpHw4sCx7EbqL90ExTfp6xCf+y6SOiZ1jWdRmtbjUsraOpwNf5xG21dmC55PdIUvUwAkzM5XKyzgHXSOB1N6rqff+rSVcVto71L8B17GKTn/Gi4SZrpw7Znp2G/wNIifJbp9mP3gAAAABJRU5ErkJggg=='); } .icon-code { position: absolute; left: 10px; top: 0.45rem; background-size: 18px; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG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TepI2ZjbXg1Ry70+8sYx3H6Cx1pB35F2pR9v65JynDl/a4rfUpe3Z41mpP5YcbRnbz4DraXPmHFIJvwvcBal76VQT1ycKIPtBzj/i/neUHYQjQaUvgdgGGppmpSoHKqBeVlZDkNJUsBlpTv2/JJwothqMSi7m/BB4T0dZFP0SVZ+MuVyufX+x89op4Pu8cw/nCw+6DfeA7IXG866MlLoAYxuc3o9lacwCbHE+pPbH9un7W0wYbqJsIaVnxLap9ae4vgr8GNwNfnU4Ehb7+wRkx3AeE2l9Yqb8OfBlsL7LXVFpYx70fP/PEJ0F+WvtxNjA709z/qgl/Bvwa/DEoST8XmufF2i51npA9gHUdo/neSu0592Vz+dbdCmt0Ho7z1yXj6KH+XkDz11ki/pAfBJ2N4nzbn5vB38Hj4BnwDbwer0JHwPOBqPBMDA8DMO+nI+no307TbbjaEduTzABreb6F+CfSuvKrSQT2M/AZsiN4/eXeGssv3P2iXdajGYgr+S8l4luL+c3wCawFjwO9tdGOOnAaBq/EwzVCXHfKXOP18Cr0iDr4XJU+inbkVoOqWsd2EC745nkrmbARvK7n13OZKJtAG+3kONMyE9jIP7C9TVW+tURjvL5gdB.........完整代码请登录后点击上方下载按钮下载查看
网友评论0