|
@@ -599,12 +599,16 @@ $transition: all 0.2s ease;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
margin-bottom: 20px;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 12px;
|
|
|
|
|
|
h3 {
|
|
|
margin: 0;
|
|
|
color: $text-primary;
|
|
|
font-size: 18px;
|
|
|
font-weight: 600;
|
|
|
+ flex: 1;
|
|
|
+ min-width: 120px;
|
|
|
}
|
|
|
|
|
|
.upload-button,
|
|
@@ -620,6 +624,8 @@ $transition: all 0.2s ease;
|
|
|
cursor: pointer;
|
|
|
transition: $transition;
|
|
|
font-size: 14px;
|
|
|
+ white-space: nowrap;
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
|
&:hover:not(:disabled) {
|
|
|
background-color: $primary-light;
|
|
@@ -637,6 +643,23 @@ $transition: all 0.2s ease;
|
|
|
height: 16px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 响应式处理
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+
|
|
|
+ h3 {
|
|
|
+ width: 100%;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .upload-button,
|
|
|
+ .add-review-button {
|
|
|
+ width: 100%;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 尾款管理模块
|
|
@@ -762,6 +785,12 @@ $transition: all 0.2s ease;
|
|
|
&:hover {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ margin-left: 0;
|
|
|
+ margin-top: 8px;
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1094,70 +1123,114 @@ $transition: all 0.2s ease;
|
|
|
}
|
|
|
|
|
|
.review-record {
|
|
|
- background: ios.$ios-card-background;
|
|
|
- border: 1px solid ios.$ios-border;
|
|
|
+ background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
|
|
+ border: 1px solid rgba(0, 122, 255, 0.1);
|
|
|
border-radius: ios.$ios-radius-lg;
|
|
|
padding: ios.$ios-spacing-lg;
|
|
|
margin-bottom: ios.$ios-spacing-md;
|
|
|
- box-shadow: ios.$ios-shadow-sm;
|
|
|
- transition: all 0.3s ease;
|
|
|
+ box-shadow:
|
|
|
+ 0 4px 20px rgba(0, 0, 0, 0.08),
|
|
|
+ 0 1px 4px rgba(0, 0, 0, 0.04);
|
|
|
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &::before {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ height: 3px;
|
|
|
+ background: linear-gradient(90deg, #007aff, #5ac8fa);
|
|
|
+ border-radius: ios.$ios-radius-lg ios.$ios-radius-lg 0 0;
|
|
|
+ }
|
|
|
|
|
|
&:hover {
|
|
|
- transform: translateY(-1px);
|
|
|
- box-shadow: ios.$ios-shadow-md;
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow:
|
|
|
+ 0 8px 32px rgba(0, 0, 0, 0.12),
|
|
|
+ 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
|
}
|
|
|
|
|
|
.review-header {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
gap: ios.$ios-spacing-md;
|
|
|
- margin-bottom: ios.$ios-spacing-sm;
|
|
|
+ margin-bottom: ios.$ios-spacing-md;
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
|
.review-type,
|
|
|
.review-channel {
|
|
|
padding: ios.$ios-spacing-xs ios.$ios-spacing-sm;
|
|
|
- background-color: rgba(ios.$ios-primary, 0.1);
|
|
|
+ background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(90, 200, 250, 0.1) 100%);
|
|
|
color: ios.$ios-primary;
|
|
|
border-radius: ios.$ios-radius-md;
|
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
|
font-weight: ios.$ios-font-weight-medium;
|
|
|
font-family: ios.$ios-font-family;
|
|
|
+ border: 1px solid rgba(0, 122, 255, 0.2);
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.review-date {
|
|
|
color: ios.$ios-text-secondary;
|
|
|
font-size: ios.$ios-font-size-subhead;
|
|
|
font-family: ios.$ios-font-family;
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.review-score {
|
|
|
display: flex;
|
|
|
gap: 2px;
|
|
|
+ align-items: center;
|
|
|
+ padding: ios.$ios-spacing-xs ios.$ios-spacing-sm;
|
|
|
+ background: rgba(255, 193, 7, 0.1);
|
|
|
+ border-radius: ios.$ios-radius-md;
|
|
|
+ border: 1px solid rgba(255, 193, 7, 0.2);
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
|
mat-icon {
|
|
|
font-size: 16px;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
- color: ios.$ios-border;
|
|
|
+ color: #ddd;
|
|
|
+ transition: color 0.2s ease;
|
|
|
|
|
|
&.filled {
|
|
|
- color: ios.$ios-warning;
|
|
|
+ color: #ffc107;
|
|
|
+ text-shadow: 0 0 4px rgba(255, 193, 7, 0.3);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ gap: ios.$ios-spacing-xs;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.review-content {
|
|
|
- background: ios.$ios-background-secondary;
|
|
|
+ background: rgba(248, 249, 250, 0.8);
|
|
|
border-radius: ios.$ios-radius-md;
|
|
|
padding: ios.$ios-spacing-md;
|
|
|
+ border: 1px solid rgba(0, 122, 255, 0.05);
|
|
|
|
|
|
p {
|
|
|
margin: ios.$ios-spacing-xs 0;
|
|
|
color: ios.$ios-text-primary;
|
|
|
font-size: ios.$ios-font-size-subhead;
|
|
|
font-family: ios.$ios-font-family;
|
|
|
- line-height: 1.5;
|
|
|
+ line-height: 1.6;
|
|
|
+
|
|
|
+ &:first-child {
|
|
|
+ margin-top: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.review-remark,
|
|
@@ -1165,24 +1238,39 @@ $transition: all 0.2s ease;
|
|
|
color: ios.$ios-text-secondary;
|
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
|
font-family: ios.$ios-font-family;
|
|
|
+ padding: ios.$ios-spacing-xs 0;
|
|
|
+ border-top: 1px solid rgba(0, 122, 255, 0.1);
|
|
|
+ margin-top: ios.$ios-spacing-sm;
|
|
|
+
|
|
|
+ strong {
|
|
|
+ color: ios.$ios-primary;
|
|
|
+ font-weight: ios.$ios-font-weight-semibold;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.follow-up-reminder {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- gap: 8px;
|
|
|
- margin-top: 12px;
|
|
|
- padding: 8px;
|
|
|
- background-color: rgba($warning-color, 0.1);
|
|
|
- border-radius: $border-radius;
|
|
|
- color: $warning-color;
|
|
|
- font-size: 12px;
|
|
|
+ gap: ios.$ios-spacing-xs;
|
|
|
+ margin-top: ios.$ios-spacing-md;
|
|
|
+ padding: ios.$ios-spacing-sm;
|
|
|
+ background: linear-gradient(135deg, rgba(255, 149, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
|
|
|
+ border-radius: ios.$ios-radius-md;
|
|
|
+ border: 1px solid rgba(255, 149, 0, 0.2);
|
|
|
|
|
|
mat-icon {
|
|
|
- font-size: 16px;
|
|
|
- width: 16px;
|
|
|
- height: 16px;
|
|
|
+ color: #ff9500;
|
|
|
+ font-size: 18px;
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ span {
|
|
|
+ color: #ff9500;
|
|
|
+ font-size: ios.$ios-font-size-caption-1;
|
|
|
+ font-weight: ios.$ios-font-weight-medium;
|
|
|
+ font-family: ios.$ios-font-family;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1324,6 +1412,18 @@ $transition: all 0.2s ease;
|
|
|
|
|
|
.suggestion-actions {
|
|
|
margin-bottom: ios.$ios-spacing-sm;
|
|
|
+ display: flex;
|
|
|
+ gap: ios.$ios-spacing-xs;
|
|
|
+ flex-wrap: wrap;
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ .mat-mdc-button {
|
|
|
+ width: 100%;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
.mat-mdc-button {
|
|
|
font-family: ios.$ios-font-family;
|
|
@@ -1331,6 +1431,18 @@ $transition: all 0.2s ease;
|
|
|
padding: ios.$ios-spacing-xs ios.$ios-spacing-md;
|
|
|
font-weight: ios.$ios-font-weight-medium;
|
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
|
+ min-width: 100px;
|
|
|
+ white-space: nowrap;
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ min-width: unset;
|
|
|
+ padding: ios.$ios-spacing-sm ios.$ios-spacing-md;
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (max-width: 480px) {
|
|
|
+ padding: ios.$ios-spacing-xs ios.$ios-spacing-sm;
|
|
|
+ font-size: ios.$ios-font-size-caption-2;
|
|
|
+ }
|
|
|
|
|
|
&.mat-stroked-button {
|
|
|
border: 1px solid ios.$ios-border;
|
|
@@ -1342,6 +1454,19 @@ $transition: all 0.2s ease;
|
|
|
box-shadow: ios.$ios-shadow-sm;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ margin-right: ios.$ios-spacing-xs;
|
|
|
+ font-size: 16px;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+
|
|
|
+ @media (max-width: 480px) {
|
|
|
+ font-size: 14px;
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1562,12 +1687,43 @@ $transition: all 0.2s ease;
|
|
|
margin-top: ios.$ios-spacing-md;
|
|
|
padding-top: ios.$ios-spacing-md;
|
|
|
border-top: 1px solid ios.$ios-border;
|
|
|
+ flex-wrap: wrap;
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ flex-direction: column;
|
|
|
+ gap: ios.$ios-spacing-xs;
|
|
|
+
|
|
|
+ .mat-mdc-button {
|
|
|
+ width: 100%;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (max-width: 480px) {
|
|
|
+ padding: ios.$ios-spacing-sm;
|
|
|
+ margin-top: ios.$ios-spacing-sm;
|
|
|
+ }
|
|
|
|
|
|
.mat-mdc-button {
|
|
|
font-family: ios.$ios-font-family;
|
|
|
border-radius: ios.$ios-radius-md;
|
|
|
padding: ios.$ios-spacing-sm ios.$ios-spacing-lg;
|
|
|
font-weight: ios.$ios-font-weight-medium;
|
|
|
+ min-width: 120px;
|
|
|
+ white-space: nowrap;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+
|
|
|
+ @media (max-width: 768px) {
|
|
|
+ min-width: unset;
|
|
|
+ padding: ios.$ios-spacing-md ios.$ios-spacing-lg;
|
|
|
+ font-size: ios.$ios-font-size-body;
|
|
|
+ }
|
|
|
+
|
|
|
+ @media (max-width: 480px) {
|
|
|
+ padding: ios.$ios-spacing-sm ios.$ios-spacing-md;
|
|
|
+ font-size: ios.$ios-font-size-caption-1;
|
|
|
+ }
|
|
|
|
|
|
&.mat-primary {
|
|
|
background: ios.$ios-primary;
|
|
@@ -1578,6 +1734,12 @@ $transition: all 0.2s ease;
|
|
|
background: #0056CC;
|
|
|
box-shadow: ios.$ios-shadow-sm;
|
|
|
}
|
|
|
+
|
|
|
+ &:disabled {
|
|
|
+ background: ios.$ios-text-tertiary;
|
|
|
+ color: white;
|
|
|
+ opacity: 0.6;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
&.mat-stroked-button {
|
|
@@ -1594,6 +1756,19 @@ $transition: all 0.2s ease;
|
|
|
&:active {
|
|
|
transform: translateY(1px);
|
|
|
}
|
|
|
+
|
|
|
+ mat-icon {
|
|
|
+ margin-right: ios.$ios-spacing-xs;
|
|
|
+ font-size: 18px;
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+
|
|
|
+ @media (max-width: 480px) {
|
|
|
+ font-size: 16px;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1630,7 +1805,7 @@ $transition: all 0.2s ease;
|
|
|
|
|
|
&::before {
|
|
|
content: '📋';
|
|
|
- font-size: 20px;
|
|
|
+ font-size: ios.$ios-font-size-body;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1638,7 +1813,7 @@ $transition: all 0.2s ease;
|
|
|
display: grid;
|
|
|
grid-template-columns: auto auto auto 1fr;
|
|
|
gap: ios.$ios-spacing-md;
|
|
|
- padding: ios.$ios-spacing-sm 0;
|
|
|
+ padding: ios.$ios-spacing-xs 0;
|
|
|
font-size: ios.$ios-font-size-caption-1;
|
|
|
color: ios.$ios-text-secondary;
|
|
|
font-family: ios.$ios-font-family;
|
|
@@ -1762,7 +1937,7 @@ $transition: all 0.2s ease;
|
|
|
align-items: center;
|
|
|
|
|
|
&:hover {
|
|
|
- background-color: rgba(0, 122, 255, 0.05);
|
|
|
+ background-color: rgba(0, 122, 255, 0.15);
|
|
|
}
|
|
|
}
|
|
|
|