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
| <template>
| <div class="mine-agreement-sign-detail-item">
| <div
| class="mine-agreement-sign-detail-item-lebel"
| :style="{ width: labelWidth, textAlign: textAlign }"
| >
| <slot name="label">
| {{ label }}
| </slot>
| </div>
| <div class="mine-agreement-sign-detail-item-detail">
| <slot name="detail">
| {{ detail }}
| </slot>
| </div>
| </div>
| </template>
|
| <script setup lang="ts">
| defineOptions({
| name: 'MineAgreementSignDetailItem',
| });
|
| type Props = {
| label?: string;
| detail?: string;
| labelWidth?: any;
| textAlign?: any;
| };
|
| const props = withDefaults(defineProps<Props>(), {
| labelWidth: '50px',
| textAlign: 'left',
| });
| </script>
|
| <style lang="scss">
| .mine-agreement-sign-detail-item {
| margin-bottom: 24px;
| display: flex;
| align-items: center;
|
| &:last-child {
| margin-bottom: 0;
| }
|
| .mine-agreement-sign-detail-item-lebel {
| font-size: 24px;
| line-height: 36px;
| margin-right: 24px;
| color: boleGetCssVar('text-color', 'regular');
| }
|
| .mine-agreement-sign-detail-item-detail {
| font-size: 24px;
| line-height: 36px;
| color: boleGetCssVar('text-color', 'primary');
| flex: 1;
| min-width: 0;
| }
| }
| </style>
|
|