刘光辉
119 分钟以前 cf11e63b659afcc9792ab3e395f1b45d844431a8
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
/* TMS 详情/工具条通用样式,按需在页面 import */
 
.tms-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
 
.tms-page-header__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.88);
}
 
.tms-page-header__sub {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1.4;
}
 
.tms-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
 
.tms-page-tip {
  margin-bottom: 12px;
}
 
.tms-toolbar-hint {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}
 
/**
 * 全局 design/common.scss:
 * .jnpf-content-wrapper / -center / -content 均为 height:100% + overflow:hidden,
 * 且 flex 子项默认 min-height:auto,内容超高会被裁切而无法滚动。
 * 列表页靠表格内部滚动;自定义详情页必须用本套壳 + 内层 overflow:auto。
 *
 * 结构:
 * <div class="jnpf-content-wrapper tms-scroll-page">
 *   <div class="jnpf-content-wrapper-center tms-scroll-center">
 *     <div class="jnpf-content-wrapper-content tms-scroll-body">...</div>
 *   </div>
 * </div>
 */
.tms-scroll-page {
  height: 100%;
  min-height: 0;
}
 
.tms-scroll-center {
  height: 100% !important;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}
 
.tms-scroll-body {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 100%;
  overflow: auto !important;
  background: #fff;
}
 
.tms-scroll-spin {
  display: block;
  width: 100%;
}
 
.tms-scroll-spin .ant-spin-container {
  width: 100%;
}
 
.tms-scroll-inner {
  padding: 16px 20px 24px;
  box-sizing: border-box;
}