quanyawei
2024-09-06 75c45150bcc5b1a3b45efe98ce6ec92b7b10aba3
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
<template>
    <div class="headerInfo">
        <span>{{title}}</span>
        <p>{{value}}</p>
        <em v-if="bordered" />
    </div>
</template>
 
<script  lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { State, Mutation, namespace } from 'vuex-class';
 
@Component({
  components: {
  },
})
export default class Info extends Vue {
 
    @Prop({
        type: String,
        default: null,
    })
    private title!: string;
 
    @Prop({
        type: String,
        default: null,
    })
    private value!: string;
 
    @Prop({
        type: Boolean,
        default: false,
    })
    private bordered!: boolean;
 
}
</script>