css布局实现手机端移动端会员充值支付页面代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现手机端移动端会员充值支付页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"><title>会员充值支付手机页面HTML模板</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" /> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery-3.2.1.min.js"></script> <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: 12px; position: relative; } .aui-flex-box { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; font-size: 14px; color: #fff; } /* 必要布局样式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: 0; padding-bottom: 50px; } .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; } .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/NlyAAACh0lEQVRoQ+3ZMW8TMRQH8PcOsTBQISExVCIRCwgWFvZ+hZYBpIrEcTYkBsTGlI2VDamL3YEBpWJoR1BJaOlXYEzyDYp0bMRGRjnJoDuWs/1e3EbKeHf55b33vzsb4YJ98IJ54RKce8XZV1gIcQ8AviDiD2vtC631pzZFYQ2WUt611p4CwM0VcqqU2soSXIN1ztdKqTfZgRuw75RSz9tg3bHsWjomlh04NpYVOAWWDbjf7z8oimLipbH7bUopJdvO7L/Hk8+wwyLiCSLe8H6cww4BwGYFTo0lbWkKLBmYCksCrsNaa99rrZ/FmFnS0GrCdrvd3mg0MqEDqu58yVKaAzZZSwshHgLAsX/rcW2csrJVtaNXeIWdIuL16qJU2OgVrsMCwEGn03mSamaThVYTtizLp+PxeJkioJKFFldslJbmjA0O5o4NCm7AHpZluUM5s1FCSwjxCAA++7ceADiczWaPJ5PJL6qAihJaUspdY8w+Il7xLsASG6SlhRA/EfGa91BxNJ/Pd7hVNtiT1mAwOAeADXdCa637Hi0Wi3zBUsptY8wHRLzqwIh/nlbzbWmna0roLEOrmo11QQd9W1oHdFDwOrR3cLCH/uuFn0uQRQE7dMPKJHl6RwNzRUcF/w9N9VIRHVyhazbLDihWP5KAHbphOzQ5OhmYCzopmAM6OZgaTQL20FMAuOUtHESfaTLwCn3HWnuWEk0KpkCTg1OjWYArtDHmKyJu+jMdeh+KDdghh8NhZ7lcfvPRoXcaWYFToNmBY6NZgj20m+nb3pr3W631yzY7GWzBDtXr9TaLojjz0N+VUvezBXvoPQBw0Fda649Zg9vg6o5l3dKhse58l+AY/yqnc/4GvNDoTFOq8FwAAAAASUVORK5CYII="); } .aui-flex-user { width: 70px; height: 70px; margin-right: 15px; position: relative; } .aui-flex-vip { width: 25px; height: 25px; display: block; position: absolute; right: -2px; top: 44px; /* border-radius: 60px; */ /* border: 1px solid #fff; */ } .aui-flex-user img { width: 100%; height: auto; display: block; border: 1px solid #fff; border-radius: 100%; } .aui-flex-gradual { background-image: -webkit-gradient(linear,left top,right top,from(#fe941f),to(#ffbf56)); background-image: -webkit-linear-gradient(left,#fe941f,#ffbf56); background-image: -moz-linear-gradient(left,#fe941f,#ffbf56); background-image: linear-gradient(toright,#fe941f,#ffbf56); background-color: #ffbf56; padding: 40px 15px; } .aui-flex-vip img { width: 100%; height: auto; display: block; border: none; border-radius: 0; } .aui-flex-box h2 { font-size: 1rem; font-weight: normal; padding-bottom: 10px; } .aui-flex-box p em { color: #835a06; font-size: 0.7rem; border-radius: 20px; border: 1px solid #faca78; padding: 0.05rem 0.35rem; background-image: -webkit-gradient(linear,left top,right top,from(#fdf0b9),to(#f69b18)); background-image: -webkit-linear-gradient(left,#fdf0b9,#f69b18); background-image: -moz-linear-gradient(left,#fdf0b9,#f69b18); background-image: linear-gradient(toright,#fdf0b9,#f69b18); background-color: #f69b18; font-style: normal; } .aui-flex-Member { position: absolute; bottom: 10px; right: 10px; color: #fff; font-size: 0.8rem; } .aui-tabBar.aui-tabBar-fixed { position: fixed; bottom: 0; left: 0; z-index: 100; } .aui-tabBar { 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: 8px 15px; background-color: #ffffff; } .aui-tabBar-btn { /* background: #fbb20b; */ color: #fff; font-size: 0.9rem; border: none; width: 100%; border-radius: 2px; height: 40px; line-height: 40px; background-image: -webkit-gradient(linear,left top,right top,from(#fe941f),to(#ffbf56)); background-image: -webkit-linear-gradient(left,#fe941f,#ffbf56); background-image: -moz-linear-gradient(left,#fe941f,#ffbf56); background-image: linear-gradient(toright,#fe941f,#ffbf56); background-color: #ffbf56; } .aui-flex-member-list .aui-flex-box { color: #333; } .aui-flex-member-list { padding: 15px; } .aui-flex-member-list h2 { font-size: 0.9rem; color: #444; font-weight: normal; padding-bottom: 15px; } .aui-flex-member-list ul li { border: 1px solid #c6c6c6; border-radius: 3px; margin-bottom: 15px; } .aui-flex-member-list ul .on { border: 1px solid #fe941f; background: #fffaef; } .aui-total { font-weight: bold; color: #333; padding-bottom: 15px; font-size: 0.8rem; } .aui-flex-box h3 { font-weight: normal; font-size: 0.9rem; } .aui-flex-box p { color: #999; font-size: 0.75rem; } .aui-flex-box-tj { width: 30px; display: inline-block; } .aui-flex-box-tj img { width: 100%; } .aui-price { color: #f69b18; font-style: normal; font-weight: bold; font-size: 1.2rem; } .aui-original-pic { color: #969696; font-size: 0.7rem; position: absolute; right: 15px; bottom: 5px; text-decoration: line-through; } .aui-original-thj { color: #fe9f2f; font-size: 0.86rem; position: absolute; right: 35px; bottom: 23px; } .aui-original-thj i { font-size: 0.7rem; font-style: normal; } .aui-flex-wx { width: 30px; height: 30px; margin-right: 10px; } .aui-flex-wx img { width: 100%; height: auto; border: none; display: block; } .cell-right input[type="radio"]:checked + .cell-radio-icon:after, .cell-right input[type="checkbox"]:not(.m-switch):checked + .cell-radio-icon:after { content: ''; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ld.........完整代码请登录后点击上方下载按钮下载查看
网友评论0