index.wxss 6.58 KB
/* stylelint-disable-next-line */
page {
    height: 100%;
    background-color: #f0f0f0;
}

.home-coupon-index {
    height: 100%;
}

.userinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.userinfo-avatar {
    width: 128rpx;
    height: 128rpx;
    margin: 20rpx;
    border-radius: 50%;
}

.userinfo-nickname {
    color: #aaa;
}

.usermotto {
    margin-top: 200px;
}

.user-info-bar {
    position: relative;
    height: 200rpx;
    background: #fff;
}

.user-info-bar .avatar {
    position: absolute;
    height: 108rpx;
    width: 108rpx;
    top: 46rpx;
    left: 30rpx;
    border-radius: 100%;
}

.user-info-bar .to-login {
    font-family: PingFangSC-Regular, sans-serif;
    display: inline-block;
    position: absolute;
    top: 60rpx;
    left: 160rpx;
    height: 80rpx;
    line-height: 80rpx;
    color: #444;
    font-size: 32rpx;
    letter-spacing: -0.44rpx;
}

.user-info-bar .login-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 550rpx;
    height: 200rpx;
}

.user-info-bar .login-area.auto-btn {
    background-color: transparent;
    border: none;
}

.user-info-bar .login-area.auto-btn:after {
    border: none;
}

.user-info-bar .qr-area {
    position: absolute;
    top: 0;
    right: 0;
    width: 100rpx;
    height: 200rpx;
}

.user-info-bar .qrc {
    position: absolute;
    height: 48rpx;
    width: 48rpx;
    top: 76rpx;
    right: 30rpx;
}

.user-info-bar .phone {
    position: absolute;
    top: 54rpx;
    left: 160rpx;
    font-family: SanFranciscoText-Regular, sans-serif;
    font-size: 32rpx;
    line-height: 1;
    color: #444;
    letter-spacing: -0.44rpx;
    width: 340rpx;
    height: 32rpx;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-info-bar .coin {
    position: absolute;
    top: 106rpx;
    left: 160rpx;
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 28rpx;
    color: #b0b0b0;
    letter-spacing: -0.39rpx;
}

.user-info-bar .coin .num,
.user-info-bar .coupon .num {
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 32rpx;
    color: #444;
    letter-spacing: -0.44rpx;
}

.user-info-bar .coupon .num {
    margin-left: 6rpx;
}

.user-info-bar .coupon {
    position: absolute;
    top: 106rpx;
    left: 336rpx;
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 28rpx;
    color: #b0b0b0;
    letter-spacing: -0.39rpx;
}

.home-coupon-index .out-login {
    background-color: #fff;
    font-family: PingFang-SC-Regular, sans-serif;
    font-size: 34rpx;
    color: #222;
    margin: 40rpx 30rpx 20rpx;
    height: 88rpx;
    line-height: 88rpx;
    text-align: center;
}

/* 限购码 */
scroll-view {
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0;
    background-color: #fff;
    margin-top: 20rpx;
}

.desc-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.link-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 70rpx;
    border-bottom: 1px solid #f0f0f0;
    font-size: 24rpx;
    box-sizing: border-box;
}

.link-menu text {
    margin-left: 30rpx;
}

.link-menu .link-arrow {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.link-menu image {
    width: 12rpx;
    height: 24rpx;
    margin-right: 30rpx;
}

.limit-code-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #f0f0f0;
}

.container.no-code .limit-code-container {
    background-color: #fff;
}

.limit-code-container view {
    background-color: #fff;
}

.limit-code-container .icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 146rpx;
    margin-top: 198rpx;
}

.icon image {
    width: 120rpx;
    height: 146rpx;
}

.limit-code-container .text {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 60rpx;
    font-size: 28rpx;
    line-height: 40rpx;
}

.limit-code-container .button {
    width: 472rpx;
    height: 88rpx;
    margin-top: 130rpx;
    font-size: 28rpx;
    color: #fff;
    line-height: 88rpx;
    background-color: #444;
    margin-bottom: 20rpx;
}

.limit-code-container .limit-code-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    height: 268rpx;
}

.limit-code-item .item-container {
    width: 720rpx;
    height: 100%;
    box-sizing: border-box;
}

.item-container .item-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 88rpx;
    font-size: 28rpx;
}

.item-head image {
    width: 28rpx;
    height: 28rpx;
    margin-right: 6rpx;
}

.item-head .item-invalid-icon {
    width: 64rpx;
    height: 30rpx;
    margin-left: 340rpx;
    border-radius: 20rpx;
    box-sizing: border-box;
    font-size: 20rpx;
    color: #fff;
    text-align: center;
    line-height: 30rpx;
    background-color: #b0b0b0;
}

.item-container .item-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 180rpx;
    border-top: 1px solid #f0f0f0;
}

.item-content image {
    width: 220rpx;
    height: 138rpx;
    margin-right: 20rpx;
}

.item-content .item-content-info {
    display: flex;
    flex-direction: column;
    width: 450rpx;
    height: 138rpx;
}

.item-content-info .info-title {
    height: 68rpx;
    line-height: 34rpx;
    font-size: 24rpx;
}

.item-content-info .info-uc {
    flex-shrink: 0;
    height: 34rpx;
    margin-top: 4rpx;
    font-size: 24rpx;
    color: #bdbdbd;
    line-height: 34rpx;
}

.item-content-info .info-price {
    font-size: 24rpx;
    line-height: 34rpx;
}

.gray-space {
    height: 20rpx;
    background: #f0f0f0 !important;
}

.codes-spliter {
    position: relative;
    width: 100%;
    height: 50rpx;
    font-size: 24rpx;
    color: #bdbdbd;
    text-align: center;
    line-height: 50rpx;
    background-color: #f0f0f0 !important;
}

.codes-spliter:before {
    content: '';
    position: absolute;
    width: 280rpx;
    height: 25rpx;
    left: 30rpx;
    top: 0;
    border-bottom: 2rpx solid #bdbdbd;
    transform-origin: 50% 100%;
    transform: scaleY(0.3);
    box-sizing: border-box;
    z-index: 9;
}

.codes-spliter:after {
    content: '';
    position: absolute;
    width: 280rpx;
    height: 25rpx;
    right: 30rpx;
    top: 0;
    border-bottom: 2rpx solid #bdbdbd;
    transform-origin: 50% 100%;
    transform: scaleY(0.3);
    box-sizing: border-box;
    z-index: 9;
}