index.less
3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// 嵌套表格去掉左方多余部分
.order-page-container .ant-table .ant-table-middle {
margin-inline: 0 !important;
}
// 修复表格单元格超出边界问题
.order-page-container .ant-table-cell {
word-break: break-word;
white-space: normal !important;
overflow: hidden;
max-width: 500px; // 设置最大宽度,防止单元格过宽
box-sizing: border-box;
}
.order-page-container td {
font-family: 'San Francisco', 'Helvetica Neue', Helvetica, Arial,
'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Heiti SC',
'WenQuanYi Micro Hei', sans-serif;
font-size: 13px;
}
//订单编辑抽屉中,订单总额addonAfter的padding去除
#total-payment .ant-input-number-group-addon {
padding: 0 !important;
}
.order-page-container table:hover,
.order-page-container tr:hover,
.order-page-container thead:hover {
background: none !important;
}
#main-table .ant-table-tbody > tr.ant-table-row:hover > td {
background: none !important;
}
.order-page-container .ant-pro-card {
background-color: transparent;
}
#main-table .ant-table-tbody .ant-table-cell {
padding: 10px 0 0;
}
.order-page-container .ant-pagination {
background-color: #fff !important;
padding: 10px;
border-radius: 8px;
}
.order-page-container .ant-pro-table .ant-form {
background-color: #fff;
border-radius: 8px;
}
#main-table .ant-table-tbody {
background-color: #f5f5f5;
}
.order-page-container .ant-pro-card-body {
padding: 0 !important;
}
.order-page-container .ant-table-thead .ant-table-cell {
background-color: #fff !important;
border-radius: 8px !important;
overflow: hidden;
white-space: normal !important;
}
#sub-table tbody td {
padding: 10px 0 !important;
}
// 子订单第一行的上边两个角为圆角
#sub-table tbody tr:first-child td:first-child {
border-top-left-radius: 8px;
}
#sub-table tbody tr:first-child td:nth-child(2) {
border-top-right-radius: 8px;
}
//子订单最后一行的下边两个角为圆角
#sub-table tbody tr:last-child td:first-child {
border-bottom-left-radius: 8px;
}
#sub-table tbody tr:last-child td:nth-child(2) {
border-bottom-right-radius: 8px;
}
//子订单边线颜色
#sub-table tbody tr td:first-child {
border-top: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
border-bottom: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
border-left: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
}
#sub-table tbody tr td:nth-child(2) {
border-top: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
border-bottom: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
border-right: 1px solid #d7d6d6; /* 设置行与行之间分割线的颜色 */
}
//tooltip字体颜色自定义
// .order-tooltip .ant-tooltip-inner{
// color: black !important;
// }
/* 付款记录样式 */
.payment-record-container {
padding: 10px 0;
}
.payment-record-item {
position: relative;
display: flex;
margin-bottom: 16px;
}
.payment-record-header {
position: relative;
width: 24px;
margin-right: 12px;
}
.payment-record-line {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
background-color: #e8e8e8;
transform: translateX(-50%);
z-index: 1;
}
.payment-record-circle {
position: absolute;
top: 12px;
left: 50%;
width: 12px;
height: 12px;
background-color: #d4b106;
border-radius: 50%;
transform: translateX(-50%);
z-index: 2;
}
.payment-record-content {
flex: 1;
background-color: #f5f5f5;
border-radius: 8px;
padding: 12px 16px;
}
.payment-record-info p {
margin-bottom: 8px;
}
.payment-record-images {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.payment-record-image {
border: 1px solid #e8e8e8;
border-radius: 4px;
}
.payment-record-divider {
height: 1px;
background-color: #e8e8e8;
margin: 16px 0;
}
.payment-record-empty {
text-align: center;
color: #999;
padding: 20px 0;
}