1
李凌
2026-01-20 9a9d832dbd364557e070abcd9a7779a2c6c07ffb
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
<template>
    <div class="contentCom-item">
        <div class="flex items-center font-30 textColor justify-between222">
            <img v-if="state" src="../../assets/image/idImg/kfc.png" class="img2" alt="" />
            <img v-else src="../../assets/image/idImg/nokfc.png" class="img2" alt="" />
            <span class="ml-24 textColor title">{{ contentObj.title }}</span>
        </div>
        <div class="flex items-center  font-30 justify-between justify-between222" v-for="(item, index) in contentObj.list"
            :key="index">
            <span class="text-grey text">{{ item.left }}</span>
            <span class="textColo text">{{ item.right }}</span>
        </div>
    </div>
</template>
 
<script setup>
const props = defineProps({
    contentObj: {
        type: Object,
        default() {
            return {
                title: '',
                list: [
                    {
                        left: '',
                        right: ''
                    }
                ]
            }
        }
    },
    state: {
        type: Boolean,
        default: false
    }
})
</script>
 
<style lang="scss" scoped>
.contentCom-item {
    font-size: 40px;
 
    .title {
        font-size: 14px;
    }
 
    .text {
        font-size: 14px;
    }
}
 
.img2 {
    width: 20px;
    height: 20px;
}
 
.ml-24 {
    margin-left: 1rem;
}
 
.justify-between222 {
    margin-top: 2rem;
    line-height: 2rem;
    height: 2rem;
}
 
.justify-between222 span {
    font-size: 1rem;
}
</style>