useraddress.css 2.0 KB
Newer Older
D
v1.2.0  
devil_gong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/**
 * 地址管理
 */
ul.address-list li .user-base {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
}
.address-operation-btn .cut {
    padding: 0 5px;
    color: #ccc;
}
@media only screen and (min-width: 641px) {
    ul.address-list {
        overflow: hidden;
        margin-top: 10px;
    }

    ul.address-list li.address-default {
G
gongfuxiang 已提交
20
        background-image: url(../images/address-peraddressbg.png);
D
v1.2.0  
devil_gong 已提交
21 22 23 24 25 26 27
    }

    ul.address-list li {
        display: block;
        width: calc(50% - 5px);
        height: 130px;
        float: left;
G
gongfuxiang 已提交
28
        background-image: url(../images/address-peraddbg.png);
D
v1.2.0  
devil_gong 已提交
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
        background-repeat: no-repeat;
        background-size: 100% 100%;
        margin: 0 10px 10px 0;
        padding: 10px;
        position: relative;
    }

    .address-operation-btn {
        position: absolute;
        bottom: 5px;
        right: 25px;
        color: #282828;
        text-align: right;
    }

    ul.address-list li:nth-child(2n) {
        margin-right: 0;
    }
}

@media only screen and (min-width: 1025px) {
    ul.address-list li {
        width: calc(33.33% - 7px);
    }
    
    ul.address-list li:nth-child(2n) {
        margin-right: 10px;
    }
    ul.address-list li:nth-child(3n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 641px) {
    .control .address-submit-save {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 2;
    }
    .am-footer {
        padding-bottom: 30px;
    }

    ul.address-list li {
        padding: 5px 0 28px 5px;
        position: relative;
    }
    ul.address-list li:not(:last-child) {
        border-bottom: 1px solid #eee;
    }
    .address-detail .phone {
        float: right;
    }
    .address-operation-btn {
        position: absolute;
        bottom: 5px;
        right: 0;
        color: #282828;
        text-align: right;
    }
    .address-operation-btn a {
        text-decoration: none;
    }
}


/**
 * 地址添加/编辑
 */
.my-content {
    padding: 15px 10px;
}