index.wxss 5.64 KB
/* stylelint-disable-next-line */


.home-page {
    padding-bottom: 40rpx;
}

.home-page.no-login {
    padding-bottom: 144rpx;
}

.channel-list {
    padding-top: 20rpx;
}

.channel-list .list-item {
    width: 690rpx;
    height: 176rpx;
    background-color: #fff;
    margin: 0 30rpx 20rpx;
    border-radius: 6rpx;
}

.channel-list .list-item .item-left {
    float: left;
    border-right: 1rpx solid #e0e0e0;
    width: 469rpx;
    height: 108rpx;
    overflow: hidden;
    margin: 35rpx 0 25rpx 0;
}

.channel-list .list-item .item-left .ico {
    width: 76rpx;
    height: 76rpx;
    margin: 15rpx 20rpx 0 30rpx;
}

.channel-list .list-item .item-left .channel-name {
    position: relative;
    top: -25rpx;
    font-size: 34rpx;
    color: #444;
}

.channel-list .list-item .item-left .partial {
    top: -48rpx;
}

.channel-list .list-item .item-left .vip-growth {
    font-size: 28rpx;
    color: #b0b0b0;
    letter-spacing: -0.4rpx;
    display: inline-block;
    width: 100%;
    position: relative;
    top: -27px;
    left: 126rpx;
}

.channel-list .list-item .item-left .vip {
    margin-right: 10px;
}

.channel-list .list-item .item-right {
    width: 220rpx;
    height: 100%;
    float: right;
}

.channel-list .list-item .item-right .num {
    font-size: 60rpx;
    color: #222;
    letter-spacing: -0.42px;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 22rpx;
    font-weight: bold;
}

.channel-list .list-item .item-right .captions {
    font-size: 28rpx;
    color: #444;
    letter-spacing: -0.4rpx;
    width: 100%;
    display: block;
    text-align: center;
    margin-top: 3rpx;
}

.new-user-info-bar {
    position: relative;
    height: 240rpx;
    width: 100%;
    background-color: #fff;
}

.new-user-info-bar .user-name,
.new-user-info-bar .login-text {
    position: absolute;
    top: 70rpx;
    left: 200rpx;
    font-family: SFProText-Bold, sans-serif;
    font-size: 48rpx;
    color: #222;
    letter-spacing: 0;
    font-weight: bold;
    width: 420rpx;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.new-user-info-bar .login-text {
  position: absolute;
    top: 95rpx;
    left: 200rpx;
}
.new-user-info-bar .card-type {
  width: 62rpx;
  height: 40rpx;
  border-radius: 50rpx;
  margin-right: 5rpx;
  margin-bottom: -7rpx;
}
.new-user-info-bar .grow-score {
    position: absolute;
    left: 200rpx;
    bottom: 60rpx;
    font-family: PingFang-SC-Regular, sans-serif;
    font-size: 28rpx;
    color: #b0b0b0;
    letter-spacing: 0;
}

.new-user-info-bar .avatar {
    position: absolute;
    top: 60rpx;
    left: 40rpx;
    width: 140rpx;
    height: 140rpx;
    border-radius: 50%;
}
.new-user-info-bar .my-qrcode {
    position: absolute;
    top: 100rpx;
    right: 40rpx;
    width: 60rpx;
    height: 60rpx;
}
.home-page .coupon-list-wrapper {
    font-size: 0;
    height: 484rpx;
}

.home-page .coupon-list-wrapper .total {
    padding-left: 40rpx;
    font-family: PingFang-SC-Regular, sans-serif;
    font-size: 32rpx;
    color: #444;
    letter-spacing: 0;
    font-weight: 400;
}

.home-page .coupon-list-wrapper .total .num {
    color: #000;
    font-weight: 500;
}

.home-page .coupon-list-wrapper .items-scroll-view {
    display: flex;
    white-space: nowrap;
}

.home-page .coupon-list-wrapper .coupon-item {
    position: relative;
    display: inline-block;
    flex: 1;
    width: 300rpx;
    height: 360rpx;
    margin-left: 20rpx;
    margin-top: 20rpx;
    margin-bottom: 20rpx;
    background-image: url("https://cdn.yoho.cn/uploads/1541664591438/coupon-item-bg.png");
    background-size: 300rpx 360rpx;
    box-shadow: 0 0 40rpx #f2f2f2;
    text-align: center;
    vertical-align: bottom;
}

.home-page .coupon-list-wrapper .coupon-item:first-child {
    margin-left: 44rpx;
    box-shadow: 0 0 40rpx #f2f2f2;
}

.home-page .coupon-list-wrapper .coupon-item:last-child {
    margin-right: 44rpx;
    box-shadow: 0 0 40rpx #f2f2f2;
}

.home-page .coupon-list-wrapper .coupon-item .icon {
    width: 90rpx;
    height: 90rpx;
    margin-top: 40rpx;
}

.home-page .coupon-list-wrapper .coupon-item .type {
    font-family: SFProText-Semibold, sans-serif;
    font-size: 28rpx;
    color: #222;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
    margin-top: 30rpx;
}

.home-page .coupon-list-wrapper .coupon-item .growth {
    font-family: PingFang-SC-Regular, sans-serif;
    font-size: 24rpx;
    color: #b0b0b0;
    letter-spacing: 0;
    margin-top: 10rpx;
}

.home-page .coupon-list-wrapper .coupon-item .growth .vip {
    margin-right: 4rpx;
    font-family: PingFang-SC-Medium, sans-serif;
    font-size: 24rpx;
    color: #a69073;
    letter-spacing: 0;
    text-align: center;
    font-weight: 500;
}

.home-page .coupon-list-wrapper .coupon-item .quantity {
    position: absolute;
    left: 50%;
    bottom: 40rpx;
    width: 200rpx;
    height: 52rpx;
    margin-left: -100rpx;
    line-height: 52rpx;
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 170rpx;
    font-family: PingFang-SC-Medium, sans-serif;
    font-size: 32rpx;
    color: #444;
    letter-spacing: 0;
    text-align: center;
    font-weight: 500;
}

.home-page .nav-list {
    padding: 0 40rpx;
    font-size: 0;
}
.home-page .nav-list .card-num {
  color: #B0B0B0;
  font-weight: bold;
  float: right;
  font-size: 28rpx;
}
.home-page .nav-list .nav-item {
    position: relative;
    height: 120rpx;
    border-bottom: 1rpx solid #eee;
    font-family: PingFang-SC-Regular, sans-serif;
    font-size: 32rpx;
    color: #1C1C1B;
    font-weight: bold;
    line-height: 120rpx;
    letter-spacing: 0;
}

.home-page .arrow {
    float: right;
    height: 40rpx;
    width: 40rpx;
    margin-top: 40rpx;
}