_address.scss 2.14 KB
.my-address-page {
    position: absolute;
    bottom: 0;
    top: pxToRem(90px);
    width: 100%;
    background: #f0f0f0;

    .address-item {
        padding: pxToRem(20px) pxToRem(30px);
        color: #b0b0b0;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;

        .name, .tel {
            font-size: pxToRem(30px);
            line-height: pxToRem(56px);
            color: #444;
            font-weight: bold;
        }

        .tel {
            float: right;
        }

        .address-info {
            font-size: pxToRem(24px);
            line-height: pxToRem(38px);
        }

        .action {
            font-size: pxToRem(28px);
            line-height: pxToRem(40px);
            text-align: right;

            .edit {
                margin-right: pxToRem(30px);
            }
        }
    }

    .add-address {
        display: block;
        margin-top: pxToRem(30px);
        font-size:  pxToRem(32px);
        line-height:  pxToRem(88px);
        color: #444;
        background: #fff;
        text-align: center;
        font-weight: bold;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .confim-mask {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 5;
    }

    .confim-box {
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: pxToRem(-270px);
        margin-top: pxToRem(-144px);
        width: pxToRem(540px);
        text-align: center;
        color: #444;
        background: #fff;
        font-size: pxToRem(32px);
        font-weight: bold;
        border-radius: pxToRem(10px);

        .content {
            line-height: pxToRem(200px);
        }

        .action {
            line-height: pxToRem(88px);
            border-top: 1px solid #e0e0e0;

            span {
                display: inline-block;
                width: pxToRem(260px);

                &:first-child {
                    border-right: 1px solid #e0e0e0;
                }
            }
        }

        .confim {
            color: #d0021b;
        }
    }
}