'f'
mh-two-thousand-and-two
2024-04-12 67be16f91562283e4ce6e999696101817fba767f
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
    <template>
        <view>
            <view class="tabContent " :class="{'flex': !isTrue }" v-show="true">
                <view style="width: 50%;" v-for="(item, index) in tableData" :key="index">
                    <view class="paramBox ">
                        <!-- <view class="param-title">{{item.name}}</view> -->
                        <view v-for="(subItem, subIndex) in item.list" :key="subIndex">
                            <view class="param-item">
                                <label style="padding-left: .1rem;background-color: #5879a4;color: #fff;">{{subItem.name}}</label>
                                <text  class="font-family" style="padding-left: .2rem;background-color: #ebf3fe;flex-grow: 1;">{{subItem.value}}</text>
                            </view>
                        </view>
                    </view>
                </view>
                <!-- <view v-if="isTrue " style="height: 30rpx;"></view> -->
            </view>
        </view>
    </template>
    <script>
        export default {
            props: {
                tableData: {
                    type: Array,
                    default () {
                        return []
                    }
                },
                isTrue: {
                    true: Boolean,
                    defalut() {
                        return false;
                    }
                }
 
            },
            data() {
                return {
 
                }
            },
            methods: {
 
 
            }
 
        }
    </script>
 
    <style scoped>
        view {
 
            box-sizing: border-box;
        }
 
        .tabContent {
            background: #fff;
            overflow: hidden;
        }
 
        .param-title {
            background: #f5f5f5;
            height: 80rpx;
            line-height: 80rpx;
            margin: 20rpx 30rpx 0;
            font-size: 28rpx;
            text-indent: 30rpx;
        }
 
        .param-item {
            height: .3rem;
            line-height: .3rem;
            font-size: .14rem;
            border-bottom: .02rem solid #fff;
            margin: 0 4rpx;
        /*     border-left: 1rpx solid #f5f5f5;
            border-right: 1rpx solid #f5f5f5; */
            /* padding: 0 30rpx; */
            display: flex;
        }
 
        .param-item label {
            width: 1.55rem;
            color: #999;
            margin-right: .03rem !important;
        }
    </style>