#
whycq
2023-10-01 7c2840abfa3e3ba0b1ef3f5ea96f8a0fc9955023
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
<template>
    <view >
        <view class="main">
            <view class="main-left" >
                <view class="main-list" v-for="it in dataList" >
                    <view>key</view>
                    <view style="margin-left: 8px;">value</view>
                </view>
            </view>
            <view class="main-right">
                <view class="list-options">
                    <!-- <view class="list-number">1</view> -->
                    <view class="abdb"> > </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        name:"z-data-list",
        data() {
            return {
                dataList: [
                    {},
                    {},
                    {},
                    {},
                    {},
                    {},
                    {},
                    {}
                ]
            };
        }
    }
</script>
 
<style scoped>
    .main {
        position: relative;
        min-height: 70rpx;
        background-color: #fdadfc;
        display: flex;
        align-items: center;
        margin: 8px 8px 8px 8px;
    }
    .main-left {
        flex: 4;
        display: flex;
        flex-direction: column;
    }
    .main-right {
        background-color: #cccccc;
        flex: 1;
        display: flex;
        /* flex-direction: column; */
    }
    .main-list {
        display: flex;
    }
    .list-options {
        display: flex;
        flex-direction: column;
    }
    .list-number {
        position: absolute;
        right: 30px;
        top: 20px;
    }
    .abdb {
        flex: 0;
    }
</style>