css布局实现手机端会员vip h5页面效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现手机端会员vip h5页面效果代码

代码标签: 手机 会员 vip h5 页面 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>会员中心</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 {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

body {
    background: #ffffff;
    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;
}

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: #f5f7fc;
    position: relative;
    overflow: hidden;
}

.r-line {
    position: relative;
}

.r-line:before {
    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-arrow {
    position: relative;
    padding-right: 0.8rem;
    color: #7f8699;
    font-size: 0.85rem;
}

.aui-arrow span {
    font-size: 0.8rem;
    color: #9b9b9b;
}

.aui-arrow:after {
    content: " ";
    display: inline-block;
    height: 6px;
    width: 6px;
    border-width: 2px 2px 0 0;
    border-color: #848484;
    border-style: solid;
    -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    position: relative;
    top: -2px;
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 2px;
    border-radius: 1px;
}

.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;
    padding-bottom: 10px;
}

.aui-navBar {
    height: 44px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    z-index: 102;
    background-color: #ff9111;
    background: -webkit-linear-gradient(to right,#ff9111, #ff6a11);
    background: -o-linear-gradient(to right,#ff9111, #ff6a11);
    background: -moz-linear-gradient(to right,#ff9111, #ff6a11);
    background: linear-gradient(to right,#ff9111, #ff6a11);
}

.aui-navBar-item {
    height: 44px;
    min-width: 15%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 15%;
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    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;
    font-size: 14px;
    color: #333333;
}

.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: 80%;
    margin-left: 22%;
}

.aui-center-title {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    font-size: 1rem;
    color: #fff;
}

.icon {
    width: 19px;
    height: 19px;
    display: block;
    border: none;
    float: left;
    background-size: 19px;
    background-repeat: no-repeat;
}

.aui-flex-box h1 {
    color: #222;
    font-weight: 500;
    font-size: 1.1rem;
    overflow: hidden;
    margin-bottom:0.5rem;
}

.aui-flex-box h2 {
    color: #ffe97e;
    font-weight:400;
    font-size: 1.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    text-overflow: ellipsis;
}


.aui-flex-box p{
    color:#aba9a3;
    font-size:12px;
}


.aui-palace {
    padding: 0.4rem 0;
    position: relative;
    overflow: hidden;
    background: white;
}

.aui-palace-grid {
    position: relative;
    float: left;
    padding: 1px;
    width: 25%;
    box-sizing: border-box;
    margin: 10px 0;
}

.aui-palace-grid-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.aui-palace-grid img {
    width: 100%;
    margin: 0 auto;
}

.aui-palace-grid p {
    text-align: center;
    font-size: 12px;
    color: #919191;
}

.aui-palace-grid-text {
    display: block;
    text-align: center;
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top: 0.3rem;
}

.aui-palace-grid-text h2 {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
}

.icon-return{
    background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAADNElEQVRoQ+3a3+tPSRzH8ec7tRculAtJuRAu9l5J3wsXyoWLVS78WD/XJoQI+Z2S2KyQbbErWUJ+hCRJIknyM/kD7EaSJIkkadNLU28lfebb12fmnDM+X3N9Zno9zvt0Zs6cMXpZs17m5Tu40ytedIUlzQamAsOBfcANM7uaUpRiwZI2Auu/wO0xs4UdB5a0GVjbAvbczAZ2FFjS78DKCOqkmU3qGLCk7cCybkBdZnazI8CSdgJLIhgBk8zsVAo29C3ipSVpFxB7GX0AJpvZ6VRsEWBJfwPzIpj/HXsmB7ZxsKQwt86JYN479mwubKNgSQeAXyKYd449lxPbGFjSYWB6BPPWsedzYxsBSzoGTIlg3jj2QhXYWsGS+gABOzGCee3Yi1VhawNL+gE4DkyIYF75PHupSmwtYEl9HftTBPPSK3u5amzlYEn9HDsugnnh2Ct1YCsFS+oPnADGRjDPHZv0ffu1N6qSpaWkAV7ZMZFAzxx77WsDp16fHSxpkGNHR8I9dez11PDt9M8KljTYH+OuSJgnjr3RTtgcfbKBJQ1x7MhIsMeOvZUjeLtjZAFLCptsYZ4dEQnyKKyuzOx2u0Fz9UsGS/oRCOveoZFQD72yd3OFThknBzgsCcN826r959h7KSFz9k0CSwqfd+Ezr1V74Nj7OQOnjpUKPgTMiIRYYWbbUgPm7p8KHgb8GwmVbeMtJzoJHIJIClsw478VdDLY0a1+i3y6B0VVOgvY0ZuAdaVXOhvY0b8Ba0pGZwU7eguwqlR0drCjtwIrSkRXAnZ0mIOXl4auDOzoHcDSktCVgh1dy1/Bni5OKgc7+g9gcQmVrgXs6D+BRU2jawM7ejewoEl0rWBH/wXMbwpdO9jRe4G5TaAbATu6u5/hlX1wNAZ29H7g1zor3SjY0f8A4Yhhq5a90o2DHX0QmFUHugiwo7vbH8tW6WLAjj4CTOum0qPM7E5Pl5GtrisK7OijwM8R1BEzi+2S9ug+FAd2dOzgy2Ezm9kjWeSiIsGODj/Tvzw5O83MwhPQdisW7OjVfiI+HEE8Z2Yb2pZ6x6LBqbhv4qVVBfLzMb9XuOo73PT4va7CHwGd9ypM4TF8wgAAAABJRU5ErkJggg==');

}

.aui-member{

    padding:20px 15px;

}
.aui-member-box{
    width:100%;
    height:12rem;
    background-image:url("//repo.bfw.wiki/bfwrepo/image/608b2e98bf0f1.png");
    background-repeat:no-repeat;
    background-size:cover;
    box-shadow:0 3px 20px #1f2f6f;
    border-radius:15px;
    position:relative;
}


.aui-vip{
    width:35px;
    margin-right:10px;
}


.aui-text-qz p{
    color:#dcc176;
    font-size:0.85rem;
}

.aui-shop{
    position:absolute;
    left:20px;
    bottom:20px;
    color:#dcc176;
    font-size:0.85rem;
}


.aui-title{
    position:absolute;
    right:20px;
    bottom:20px;
    color:#fedd7c;
    font-size:4rem;
    font-weight:normal;
}

.aui-card{
    color:#dcc176;
    font-size:0.85rem;
    padding-left:66px;

}


.aui-member-box .aui-flex{
    padding:25px 20px 1px 22px;
}


.aui-title-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0