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
| <script lang="ts" setup>
| import { useI18n } from '@/hooks/web/useI18n'
| export interface Info {
| name: string
| value: string
| }
| defineProps({
| creator: {
| type: String,
| default: ''
| },
| createTime: {
| type: String,
| default: ''
| }
| })
| const { t } = useI18n()
| </script>
|
| <template>
| <div class="info-card">
| <div class="info-title">
| {{ t('dataset.create_by') }}
| </div>
| <div class="info-content">
| {{ creator }}
| </div>
| <div class="info-title">
| {{ t('dataset.create_time') }}
| </div>
| <div class="info-content">
| {{ createTime }}
| </div>
| </div>
| </template>
|
| <style lang="less" scoped>
| .info-card {
| font-family: var(--de-custom_font, 'PingFang');
| font-style: normal;
| padding-left: 4px;
| font-weight: 400;
| line-height: 22px;
|
| .info-title {
| color: #646a73;
| font-size: 14px;
| margin-bottom: 4px;
| }
| .info-content {
| color: #1f2329;
| font-size: 14px;
| margin-bottom: 12px;
| }
|
| :last-child {
| margin-bottom: 0;
| }
| }
| </style>
|
|