k94314517
2024-05-21 12e8eb9e345adea19972c34df471b28b51fa71dd
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<template>
    <view class="per">
        <view class="per_search">
            <view class="per_search_left">
                <image src="@/static/ic_search@2x.png" mode="widthFix"></image>
                <input type="text" placeholder="搜索人员姓名/手机号" />
            </view>
            <view class="per_search_add">
                <image src="@/static/ic_new@3x.png" mode="widthFix"></image>
                <text>新增</text>
            </view>
        </view>
        <view class="per_list">
            <u-swipe-action>
                <u-swipe-action-item :options="options" v-for="(item, index) in 5" :key="index">
                    <view class="per_list_item">
                        <view class="per_list_item_left">
                            <view class="per_list_item_left_img">
                                <image src="@/static/logo@2x.png" mode="widthFix"></image>
                            </view>
                            <view class="per_list_item_left_info">
                                <view class="per_list_item_left_info_top">
                                    <text class="name">徐轩栋</text>
                                    <image src="@/static/ic_boy@2x.png" mode="widthFix"></image>
                                    <text class="des">已拉黑</text>
                                </view>
                                <view class="per_list_item_left_info_phone">
                                    18855123456
                                </view>
                            </view>
                        </view>
                        <view class="per_list_item_righr">
                            <image src="@/static/ic_call@2x.png" mode="widthFix"></image>
                            <view class="per_list_item_righr_x"></view>
                            <image src="@/static/ic_edit@2x.png" mode="widthFix"></image>
                        </view>
                    </view>
                </u-swipe-action-item>
            </u-swipe-action>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                options: [{
                    text: '删除',
                    style: {
                        backgroundColor: 'red'
                    }
                }]
            };
        }
    }
</script>
<style>
    page {
        background-color: #f7f7f7;
    }
</style>
<style lang="scss" scoped>
    .per {
        width: 100%;
 
        .per_search {
            width: 100%;
            background-color: #ffffff;
            padding: 14rpx 30rpx;
            box-sizing: border-box;
            display: flex;
            align-items: center;
 
            .per_search_left {
                flex: 1;
                height: 72rpx;
                padding: 0 30rpx;
                box-sizing: border-box;
                background: #F7F7F7;
                border-radius: 4rpx;
                border: 1rpx solid #F0F8F9;
                display: flex;
                align-items: center;
 
                image {
                    flex-shrink: 0;
                    width: 32rpx;
                    height: 32rpx;
                    margin-right: 16rpx;
                }
 
                input {
                    flex: 1;
                    height: 100%;
                    font-size: 26rpx;
                    font-weight: 400;
                    color: #000000;
                }
            }
 
            .per_search_add {
                flex-shrink: 0;
                display: flex;
                align-items: center;
                margin-left: 30rpx;
 
                image {
                    width: 16rpx;
                    height: 16rpx;
                    margin-right: 8rpx;
                }
 
                text {
                    font-size: 26rpx;
                    font-weight: 400;
                    color: #025EEF;
                }
            }
        }
 
        .per_list {
            width: 100%;
            display: flex;
            flex-direction: column;
            .per_list_item {
                width: 100%;
                height: 128rpx;
                padding: 0 30rpx;
                box-sizing: border-box;
                background: #FFFFFF;
                display: flex;
                align-items: center;
                justify-content: space-between;
                border-bottom: 1rpx solid #E5E5E5;
                .per_list_item_left {
                    display: flex;
                    align-items: center;
                    .per_list_item_left_img {
                        width: 80rpx;
                        height: 80rpx;
                        margin-right: 20rpx;
                        display: flex;
                        border-radius: 50%;
                        align-items: center;
                        justify-content: center;
                        overflow: hidden;
                        image {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .per_list_item_left_info {
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        .per_list_item_left_info_top {
                            display: flex;
                            align-items: center;
                            .name {
                                font-size: 30rpx;
                                font-weight: 400;
                                color: #222222;
                                margin-right: 10rpx;
                            }
                            image {
                                width: 30rpx;
                                height: 30rpx;
                                margin-right: 10rpx;
                            }
                            .des {
                                width: 68rpx;
                                height: 30rpx;
                                line-height: 30rpx;
                                text-align: center;
                                background: #EEEEEE;
                                border-radius: 4rpx;
                                font-size: 20rpx;
                                font-weight: 400;
                                color: #999999;
                            }
                        }
                        .per_list_item_left_info_phone {
                            font-size: 26rpx;
                            font-weight: 400;
                            color: #999999;
                        }
                    }
                }
                .per_list_item_righr {
                    display: flex;
                    align-items: center;
                    image {
                        width: 48rpx;
                        height: 48rpx;
                    }
                    .per_list_item_righr_x {
                        width: 1rpx;
                        height: 40rpx;
                        margin: 0 30rpx;
                        background-color: #E5E5E5;
                    }
                }
            }
        }
    }
</style>