css
liukangdong
2024-06-03 248f2f32b0f1e406a8110f0839702914a9c3ca0a
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<template>
    <view class="main_app">
        <view class="main_name">
            <text class="mr12">物流入库月台</text>
            <u-icon name="arrow-down" color="#777777"></u-icon>
        </view>
        <!--  -->
        <view class="main_list">
            <view class="item">
                <view class="status">作业中</view>
                <image class="avatar" src="@/static/driver/ic_truck@2x.png" mode=""></image>
                <view class="content">
                    <view class="id_card">皖A</view>
                    <view class="line">
                        <view class="address">4号月台</view>
                        <view class="time">
                            <u-icon class="mr6" name="clock" color="#4d98a8"></u-icon>
                            <text>01:02:02</text>
                        </view>
                    </view>
                </view>
            </view>
            <view class="item active">
                <view class="status padding">作业中</view>
                <view class="me">我</view>
                <image class="avatar" src="@/static/driver/ic_truck@2x.png" mode=""></image>
                <view class="content">
                    <view class="id_card">皖A</view>
                    <view class="line">
                        <view class="address">4号月台</view>
                        <view class="time">
                            <u-icon class="mr6" name="clock" color="#4d98a8"></u-icon>
                            <text>01:02:02</text>
                        </view>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            };
        }
    }
</script>
 
<style lang="scss">
    page{
        background-color: #f7f7f7;
    }
.main_app{
    .main_name{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 104rpx;
        font-weight: 500;
        font-size: 32rpx;
        color: #111111;
        background-color: #fff;
        margin:0 -30rpx 20rpx;
    }
    .main_list{
        .item{
            display: flex;
            align-items: center;
            position: relative;
            padding: 30rpx;
            background-color: #fff;
            margin-bottom: 20rpx;
            border-radius: 8rpx;
            .status{
                position: absolute;
                top: 0;
                right: 0;
                height: 50rpx;
                line-height: 50rpx;
                padding: 0 20rpx;
                background: $uni-color-primary;
                color: #fff;
                font-size: 26rpx;
                border-radius: 0rpx 8rpx 0rpx 25rpx;
            }
            .me{
                position: absolute;
                top: 0;
                left: 0;
                background: #00BA67;
                border-radius: 8rpx 0rpx 8rpx 0rpx;
                height: 42rpx;
                line-height: 42rpx;
                width: 64rpx;
                text-align: center;
                color: #fff;
                font-size: 24rpx;
                z-index: 11;
            }
            .padding{
                background: #E9F5F6;
                color: $uni-color-primary;
            }
            .avatar{
                width: 84rpx;
                height: 84rpx;
                margin-right: 20rpx;
            }
            .content{
                flex: 1;
                .id_card{
                    font-weight: 500;
                    font-size: 30rpx;
                    color: #111111;
                }
                .line{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    font-size: 26rpx;
                    color: #999999;
                    margin-top: 6rpx;
                    .time{
                        display: flex;
                        align-items: center;
                        color: $uni-color-primary;
                    }
                }
            }
        }
        .active{
            background: linear-gradient( 270deg, #FFFFFF 0%, #E1F7FE 100%);
        }
    }
    
}
</style>