card.wxss 1.78 KB
@import "../../../iconfont.wxss";

.address {
  height: 210rpx;
  line-height: 200rpx;
  padding: 0 66rpx 10rpx 104rpx;
  font-size: 28rpx;
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
}

.address:after {
  content: "";
  width: 100%;
  height: 10rpx;
  background: url("https://cdn.yoho.cn/yoho-brand-shop/assets/img/cart/address-bottom-line-min.png");
  position: absolute;
  left: 0;
  bottom: 0;
}

.address .icon-location {
  font-size: 54rpx;
  color: #585858;
  position: absolute;
  left: 30rpx;
}

.address .icon-right {
  font-size: 48rpx;
  color: #e0e0e0;
  position: absolute;
  right: 18rpx;
}

.address .consignee {
  width: 100%;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
}

.address .consignee .name,
.address .consignee .phone {
  max-width: 34%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  font-weight: 700;
}

.address .consignee .name {
  margin-right: 20rpx;
}

.address .consignee .direction {
  display: block;
  margin-top: 20rpx;
  word-break: break-all;
}

.address-empty {
  padding: 0;
}

.address-empty .add-address {
  line-height: 100rpx;
}

.address-empty .add-wechat-address {
  border-top: 1rpx solid #f0f0f0;
}

.address-empty .add-address .left-icon {
  display: inline-block;
  width: 46rpx;
  height: 46rpx;
  line-height: 44rpx;
  vertical-align: middle;
  text-align: center;
  border: 1rpx solid #e0e0e0;
  border-radius: 50%;
  margin-left: 30rpx;
  margin-right: 20rpx;
}

.address-empty .add-address .text {
  vertical-align: middle;
}

.address.address-empty:after {
  height: 1rpx;
  background: #e0e0e0;
}

.address.frame .name,
.address.frame .phone,
.address.frame .direction {
  width: 100%;
  height: 36rpx;
  background-color: #f3f3f3;
  color: #f3f3f3;
}