addressManager.wxss 2.49 KB
@import "./addressEditer/addressEditer.wxss";

page {
  display: block;
  min-height: 100%;
  background-color: #f0f0f0;
}

.view-splite {
    height: 2rpx;
    background:#fff;
}

.view-splite .splite-line {
    width: 96%;
    float:right;
    height:100%;
    background: #f0f0f0;
}

.my-address-page {
    width: 100%;
    background: #f0f0f0;
}

.address-container {
    border-top: 2rpx solid #e0e0e0;
    border-bottom: 2rpx solid #e0e0e0;
    margin-top: 30rpx;
    margin-bottom: 120rpx;
}

.my-address-page .address-item {
    height:142rpx;
    display: block;
    padding: 20rpx 30rpx;
    color: #b0b0b0;
    background: #fff;
    position: relative;
}

.address-item-left {
    float:left;
    height:100%;
    padding-right: 15rpx;
}

.address-item-left .rdoselect {
    position: relative;
    top:50%;
    transform:translateY(-50%);
}

.my-address-page .address-item .name {
    display: inline-block;
    max-width: 380rpx;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-address-page .address-item .tel {
    float: right;
}

.my-address-page .address-item .address-info {
    font-size: 24rpx;
    line-height: 38rpx;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.my-address-page .address-item .action {
    font-size: 32rpx;
    line-height: 48rpx;
    text-align: right;
}

.my-address-page .address-item .name, .my-address-page .address-item .tel {
    font-size: 30rpx;
    line-height: 56rpx;
    color: #444;
    font-weight: 700;
}

.my-address-page .address-item .action .del, .my-address-page .address-item .action .edit {
    display: inline-block;
    text-align: right;
    width: 140rpx;
    height: 48rpx;
    color: #ce0b24;
    font-size: 28rpx;
    position:absolute; 
    right: 18px;
    bottom: 0px;
}

.add-address {

    bottom: 0rpx;
    z-index: 999;
    position: fixed;
    display: flex; 
    height: 88rpx;
    width: 100%;
    border-top: 1rpx solid #e0e0e0;
    /* border-bottom: 1rpx solid #e0e0e0; */
    justify-content: center;
    align-items: center;
    background: white;
}

.add-address.add-addressText {
    font-size: 32rpx;
    line-height: 88rpx;
    color: #444;
    background: #fff;
    text-align: center;
    font-weight: 700;
}

.empty-style {
    text-align: center;
    margin-left: auto;
    margin-right:auto;
    color: #444;
    margin-top:50%;
    font-size: 34rpx;
}

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