b2美化之漂亮的VIP会员页面兼容手机端(适合2或4种会员)

效果演示

头部HTML标签

<script type="text/javascript" src="//at.alicdn.com/t/font_3133075_wsm2usco9v.js"></script>
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_3133075_wsm2usco9v.css" />

子主题style.css插入代码

/*新会员页面开始*/
.new-sess-head2 {
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin-top: 10px;
}

.new-sess-head2 span {
    font-size: 30px;
    color: #ab7225;
    line-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-sess-head2 span:before {
    content: '';
    background-image: url(https://lmtd.cn/pic/lefti.png);
    width: 37px;
    height: 29px;
    margin-right: 11px;
}

.new-sess-head2 span:after {
    content: '';
    background-image: url(https://lmtd.cn/pic/righti.png);
    width: 37px;
    height: 29px;
    margin-left: 11px;
}


.ceo_vip_ping {
    max-width: 1200px;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    border-radius: 6px;
    text-align: center;
}


.ceo_vip_ping ul li {
    float: left;
    width: 30%!important;
height:320px!important;
    margin: 10px 10px;
    border-radius: 15px;
}
.ceo_vip_ping ul li p {
    font-size: 14px;
    line-height: 23px;
    height: 88px;
    padding: 0 20px;
    margin-top: 5px;
    color: #666;
    display: block;
    text-align: left;
}

.ceo_vip_ping ul li p b {
    color: #ccc;
    font-size: 23px;
}

.deanmbavar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.deanmbavar img {
    border-radius: 50%;
}
.deanmbavar span {
    display: block;
    width: 30px;
    height: 30px;
    background: url(https://lmtd.cn/pic/vipbz.png) 0 0 no-repeat;
    background-size: 30px 30px;
    position: absolute;
    bottom: -10px;
    right: 5px;
}
.deanmbusename {
    line-height: 30px;
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.deanmbusename b {
    font-size: 14px;
    color: #fec42d;
    padding-left: 10px;
}

  .icon2 {
       width: 4em; height: 4em;
       vertical-align: -0.15em;
       fill: currentColor;
       overflow: hidden;
    }
.banner-container {
    height: 300px;
    width: 100%;
    background-image: url(https://lmtd.cn/pic/banner.jpg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin-top: -10px;
    padding-top: 110px;
}
.vip-item .txt_tag {
    overflow: hidden;
    top: 0;
    left: 0;
    font-size: 16px;
    width: 105px;
    height: 105px;
    float: right
}

.vip-item {
    padding: 0
}

.vip-list-in {
    padding: 20px!important
}

.vip-item .txt_tag span {
    z-index: 2;
    color: #fff;
    display: block;
    text-align: center;
    background: #fd4c57;
    position: relative;
    left: -25px;
    top: 25px;
    width: 180px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    transform: rotate(44deg)
}

.vip-list .vip-item:nth-child(1) #zx {
    display: none
}
.vip-list .vip-item:nth-child(2) #zx {
    display: none
}
.vip-list .vip-item:nth-child(3) #zx {
    display: none
}
.vip-list .vip-item:nth-child(4) #zx {
    display: none
}


.vip-list .vip-item:nth-child(1) .txt_tag span {
    background: #ff9800
}
.vip-list .vip-item:nth-child(2) .txt_tag span {
    background: #ff9800
}
.vip-list .vip-item:nth-child(3) .txt_tag span {
    background: #ff9800
}
.vip-list .vip-item:nth-child(4) .txt_tag span {
    background: #ff9800
}


.warr{
   width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.banner-container h2 {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4.69px;
    text-align: center;
    line-height: 60px;
    text-shadow: 0 8px 16px rgb(28 31 33 / 30%);
    margin-bottom: 30px;
}

.banner-container .desc {
    display: inline-block;
    font-size: 19px;
    color: #fff;
    text-align: center;
    line-height: 24px;
}

.vip-current {
    font-size: 16px;
border:none;
}

.content-area.vip-page {
    width: 1200px;
    max-width: 100%;
}

.vip-list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
}

.vip-item {
    width: 500px;
    height: 250px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-radius: 16px;
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
}


.vip-list-in {
    text-align: left!important;
    padding: 0;
}

.vip-list-in .tequan-type-head {
    position: absolute;
    left: 125px;
    top: 40px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}



.vip-list-in h2 {
    font-size: 22px;
}

.tequan-type-head p {
    font-size: 16px;
    color: white;
    padding-left: 3px;
}

.tequan-type-head span {
    font-size: 14px;
    color: white;
    opacity: .8;
    line-height: 28px;
    padding-left: 3px;
}

.vip-list-in .type2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFE3B9;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 50px;
    bottom: 5px;
    font-weight: bold;
}

.vip-price {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}


.vip-price-money.shu span {
    font-size: 40px;
}

.vip-price-money.shu sub {
    font-size: 12px;
    line-height: 1;
    border-radius: 50%;
    margin-left: -11px;
    vertical-align: middle;
    padding: 2px 4px;
}

.vip-price-day {
    font-size: 16px;
    vertical-align: middle;
    margin: 15px 0 0 5px;
    color: #FFFFFF;
}

.vip-buy {
    margin-top: 0;
}

.vip-buy {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.vip-list .type2 button {
    width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    border: 0 solid #ab0f00;
    border-radius: 25px;
}








.vip-list .vip-item:nth-child(1) .vip-list-in h2 {
    font-size: 28px;
    color: #edd2aa;
}
.vip-list .vip-item:nth-child(2) .vip-list-in h2 {
    font-size: 28px;
    color: #edd2aa;
}
.vip-list .vip-item:nth-child(3) .vip-list-in h2 {
    font-size: 28px;
    color: #edd2aa;
}
.vip-list .vip-item:nth-child(4) .vip-list-in h2 {
    font-size: 28px;
    color: #edd2aa;
}


.vip-list .vip-item:nth-child(1) {
    background-image: url(https://lmtd.cn/pic/vip.png);
   box-shadow: 0 12px 36px -12px #d0a360;
    margin-left: 20px;
}


.vip-list .vip-item:nth-child(2) {
    background-image: url(https://lmtd.cn/pic/vip.png);
   box-shadow: 0 12px 36px -12px #d0a360;
    margin-left: 20px;
}


.vip-list .vip-item:nth-child(3) {
    background-image: url(https://lmtd.cn/pic/vip.png);
   box-shadow: 0 12px 36px -12px #d0a360;
    margin-left: 20px;
}


.vip-list .vip-item:nth-child(4) {
    background-image: url(https://lmtd.cn/pic/svip.png);
   box-shadow: 0 12px 36px -12px #d0a360;
    margin-left: 20px;
}




.new-sess-head {
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin-top: 70px;
}

.new-sess-head span {
    font-size: 30px;
    color: #ab7225;
    line-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-sess-head span:before {
    content: '';
    background-image: url(https://lmtd.cn/pic/lefti.png);
    width: 37px;
    height: 29px;
    margin-right: 11px;
}

.new-sess-head span:after {
    content: '';
    background-image: url(https://lmtd.cn/pic/righti.png);
    width: 37px;
    height: 29px;
    margin-left: 11px;
}

.newvip-sess2 ul {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
}


.newvip-sess2 ul li p {
    font-size: 20px;
    color: #BA8D50;
    margin-top: 10px;
    text-align: center;
}


.vip-list .vip-item:nth-child .lv,{

    display: none;
}

.vip-list .vip-item:nth-child(1) .vip-price-money.shu sub {
    background: #fa4c56;
}

.vip-list .vip-item:nth-child(2) .vip-price-money.shu sub {
    background: #fa4c56;
}
.vip-list .vip-item:nth-child(3) .vip-price-money.shu sub {
    background: #fa4c56;
}
.vip-list .vip-item:nth-child(4) .vip-price-money.shu sub {
    background: #4b4b4b;
}


.newvip-sess2 ul li {
    width: 24%;
    height: 150px;
    background: #f9f9f9;
    border: 1px solid #f2f2f2;
    text-align: center;
    padding-top: 26px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: -4px -4px;
}

.vip-list .vip-item:hover {
    box-shadow: 0 12px 36px -12px #403a3b;
}

.vip-list .vip-item:nth-child(1) .type2 button {
    background: linear-gradient(
90deg, #ffc8c2, #f5c8c3);
    box-shadow: 1px 2px 7px 0px #ab0f00;
    color: #F54253;
}

.vip-list .vip-item:nth-child(2) .type2 button {
    background: linear-gradient(
90deg, #ffc8c2, #f5c8c3);
    box-shadow: 1px 2px 7px 0px #ab0f00;
    color: #F54253;
}

.vip-list .vip-item:nth-child(3) .type2 button {
    background: linear-gradient(
90deg, #ffc8c2, #f5c8c3);
    box-shadow: 1px 2px 7px 0px #ab0f00;
    color: #F54253;
}


.vip-list .vip-item:nth-child(4) .type2 button {
    background: linear-gradient(
90deg, #caaa7c, #f0d6ae);
    box-shadow: 1px 2px 7px 0px rgb(64 39 2 / 59%);
    color: #414141;
}

.shengm svg {
  bottom: -0.2em;
  position: relative;
}
.shengms svg{
    bottom: -0.25em;
    position: relative;
}
.warr, .tax-collection .content-area, .tax-newsflashes_tags .content-area, .post-type-archive-newsflashes .content-area, .all-circles.content-area, .announcement-page.content-area, .single-announcement .content-area, .post-style-2 .content-area, .create-circle.content-area, .mission-page.wrapper, .search .b2-single-content, .search .tax-search, #carts .vip-page {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

@media screen and (max-width:768px) {

.ceo_vip_ping ul li {
    float: left;
    width: 100%!important;
    margin: 10px 10px;
    border-radius: 15px;
}
.vip-list .vip-item:nth-child(1) {
    background-image: url(https://lmtd.cn/pic/vip.png);
    box-shadow: 0 12px 36px -12px #d0a360;
margin-left:1px;
}
.vip-list .vip-item:nth-child(2) {
    background-image: url(https://lmtd.cn/pic/vip.png);
    box-shadow: 0 12px 36px -12px #d0a360;
margin-left:1px;

}
.vip-list .vip-item:nth-child(3) {
    background-image: url(https://lmtd.cn/pic/vip.png);
    box-shadow: 0 12px 36px -12px #d0a360;
margin-left:1px;

}
.vip-list .vip-item:nth-child(4) {
    background-image: url(https://lmtd.cn/pic/svip.png);
    box-shadow: 0 12px 36px -12px #d0a360;
margin-left:1px;

}

.vip-item {
    width: 100%;
    height: 200px;
}

.banner-container {
    height: 188px;
    padding-top: 50px;
}

.banner-container h2 {
    font-size: x-large;
    letter-spacing: 2px;
    margin-bottom: 0;
}

.vip-list-in .tequan-type-head {
    left: 25%;
    top: 15%;
}
.tequan-type-head span {
    display: none;
}
.vip-price-money.shu span {
    font-size: xx-large;
}
.vip-list .type2 button {
    width: 100px;
    font-size: medium;
}
#vips .warr {
    width: 100%;
    padding: 0 10px;
}
.newvip-sess2 ul {
    margin-right: -20px;
}
.newvip-sess2 ul li {
    width: 50%;
    margin-right: 0px;
    margin-bottom: 10px;
}
.newvip-sess2 ul li p {
    font-size: large;
}

.vip-item {
    width: 500px;
    height: 200px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-radius: 16px;
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
}

}
/*新会员页面结束*/

子主题Pages下vips.php内容

【注意】附件里的文件自行上传至根目录pic文件夹下。

下载权限

查看
  • 免费下载
    评论并刷新后下载
    登录后下载

查看演示

  • {{attr.name}}:
您当前的等级为
登录后免费下载登录 小黑屋反思中,不准下载! 评论后刷新页面下载评论 支付以后下载 请先登录 您今天的下载次数(次)用完了,请明天再来 支付积分以后下载立即支付 支付以后下载立即支付 您当前的用户组不允许下载升级会员
您已获得下载权限 您可以每天下载资源次,今日剩余

给TA打赏
共{{data.count}}人
人已打赏
b2美化

Bilibili [四季] banner 随机效果(缺夏)

2022-1-4 19:36:32

b2美化

文章版权和下载声明

2022-1-9 22:29:12

重要声明

本站资源大多来自网络,如有侵犯你的权益请联系管理员,QQ1811170520 我们会第一时间进行审核删除。站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!请在下载24小时内删除!


如果遇到付费才可观看的文章,建议升级终身VIP。全站所有资源任意下免费看”。本站资源少部分采用7z压缩,为防止有人压缩软件不支持7z格式,7z解压,建议下载7-zip,zip、rar解压,建议下载WinRAR

3 条回复 A文章作者 M管理员
  1. 将来

    老板,开放单独购买VIP页面美化么