addressManager.wxss 3.37 KB
.my-address-page {
    width: 100%;
    /* background: lightblue; */
    overflow: hidden;
    /* margin-bottom: 170rpx; */
    height: 1000rpx;
}

.add-addressButton {
    position: absolute;
    margin-left: 40rpx;
    margin-right: 40rpx;
    bottom: 40rpx;
    height: 100rpx;
    width: 670rpx;
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: white;
    background-color: #002B47;
    font-size: 32rpx;
    font-family: PingFang-SC-Regular;
  }
  
  .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
  }

.address-container {
    margin-bottom: 120rpx;
}

.my-address-page .address-item {
    display: block;
    padding-top: 44rpx;
    padding-left: 40rpx;
    padding-right: 40rpx;
    color: #b0b0b0;
    background: #fff;
    position: relative;
}

.my-address-page .address-item .name-container {
  display: flex;
  align-items: center;
  position: relative;
}

.my-address-page .address-item .name-container .name {
    /* display: inline-block; */
    max-width: 380rpx;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: PingFang-SC-Medium;
    font-weight: 500;
    font-size: 32rpx;
    color: black;
}

.my-address-page .address-item .name-container .tel {
    margin-left: 40rpx;
    font-family: SFProText-Medium;
    font-weight: 500;
    font-size: 32rpx;
    color: black;
}

.my-address-page .address-item .default {
  background-color: #002B47;
  color: white;
  font-size: 22rpx;
  font-family: PingFang-SC-Regular;
  padding: 6rpx 18rpx;
  margin-left: 18rpx;
}

.my-address-page .address-item .name-container .edit {
  color: black;
  font-size: 24rpx;
  font-family: PingFang-SC-Regular;
  position: absolute;
  right: 0;
}

.my-address-page .address-item .address-info {
  margin-top: 20rpx;
  font-family: PingFang-SC-Regular;
  font-size: 28rpx;
  line-height: 40rpx;
  color: #999999;
  word-break:break-all;
  display:-webkit-box;
  -webkit-box-pack: center;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.my-address-page .address-item .separator {
  margin-top: 40rpx;
  height: 1rpx;
  background-color: #e0e0e0;
}

.my-address-page .address-item .action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88rpx;
}

.my-address-page .address-item .action .left {
    display: flex;
    align-items: center;
    width: 50%;
}

.my-address-page .address-item .action .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
}

.my-address-page .address-item .action .opt-text {
  margin-left: 10rpx;
  font-family: PingFang-SC-Regular;
  font-size: 12px;
  color: #444444;
}

.my-address-page .address-item .action .select-image {
  width: 34rpx;
  height: 34rpx;
}

.my-address-page .address-item .name, .my-address-page .address-item .tel {
    font-family: PingFang-SC-Regular;
    font-size: 28rpx;
    line-height: 40rpx;
    color: #444444;
}

.my-address-page .address-item .action .delete, .my-address-page .address-item .action .edit {
    display: flex;
    align-items: center;
    text-align: right;
    color: #ce0b24;
    font-size: 28rpx;
}

.my-address-page .address-item .action .delete{
    margin-left: 64rpx;
}