| 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
 | | <template> |  |   <div class="v-header"> |  |     <div class="v-left-text"> |  |       <!-- <i size="20" :class="icon" class="h-icon"/> --> |  |       <span>{{ title || text }}</span> |  |     </div> |  |     <div class="content"> |  |       <slot name="content"></slot> |  |     </div> |  |     <div class="v-right-content"> |  |       <slot></slot> |  |     </div> |  |   </div> |  | </template> |  | <script> |  | export default { |  |   props: { |  |     icon: { |  |       type: String, |  |       default: '' |  |     }, |  |     title: { |  |       type: String, |  |       default: '' |  |     }, |  |     text: { |  |       type: String, |  |       default: '未定义名称' |  |     } |  |   } |  | }; |  | </script> |  | <style lang="less" scoped> |  | .v-header { |  |   display: flex; |  |   border-bottom: 1px solid #dcdee2; |  |   .v-left-text { |  |     margin-top: 3px; |  |     padding-bottom: 6px; |  |     font-weight: bold; |  |     font-size: 15px; |  |     color: #484848; |  |     white-space: nowrap; |  |     border-bottom: 2px solid #676767; |  |     margin-bottom: -1px; |  |     letter-spacing: 1px; |  |     > span { |  |       position: relative; |  |       top: 2px; |  |     } |  |   } |  |   .content { |  |     line-height: 25px; |  |     padding-left: 10px; |  |     padding: 6px 0 0 10px; |  |   } |  |   .v-right-content { |  |     flex: 1; |  |     text-align: right; |  |   } |  |   .h-icon { |  |     position: relative; |  |     top: 2px; |  |     margin-right: 3px; |  |   } |  | } |  | </style> | 
 |