diff --git a/suixinkan/UI/Orders/Views/OrderSourceLeadCell.swift b/suixinkan/UI/Orders/Views/OrderSourceLeadCell.swift index dddb6aa..8bbb704 100644 --- a/suixinkan/UI/Orders/Views/OrderSourceLeadCell.swift +++ b/suixinkan/UI/Orders/Views/OrderSourceLeadCell.swift @@ -77,7 +77,9 @@ final class OrderSourceLeadCell: UITableViewCell { cardView.addSubview(actionButton) cardView.snp.makeConstraints { make in - make.edges.equalToSuperview().inset(UIEdgeInsets(top: 0, left: 0, bottom: 12, right: 0)) + make.edges.equalToSuperview().inset( + UIEdgeInsets(top: 0, left: AppSpacing.md, bottom: 12, right: AppSpacing.md) + ) } tagLabel.snp.makeConstraints { make in make.leading.top.equalToSuperview().inset(12) diff --git a/suixinkan/UI/Orders/Views/OrderSourcePersonCell.swift b/suixinkan/UI/Orders/Views/OrderSourcePersonCell.swift index d6765c6..8d3d334 100644 --- a/suixinkan/UI/Orders/Views/OrderSourcePersonCell.swift +++ b/suixinkan/UI/Orders/Views/OrderSourcePersonCell.swift @@ -66,7 +66,9 @@ final class OrderSourcePersonCell: UITableViewCell { cardView.addSubview(chevronView) cardView.snp.makeConstraints { make in - make.edges.equalToSuperview().inset(UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)) + make.edges.equalToSuperview().inset( + UIEdgeInsets(top: 0, left: AppSpacing.md, bottom: 10, right: AppSpacing.md) + ) } nameLabel.snp.makeConstraints { make in make.leading.top.equalToSuperview().inset(14)