MrShi
7 小时以前 e50954f0708ecbbc672352102ae3b24279d40cc1
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<template>
    <view class="qualification-page">
        <!-- <view class="type-tabs">
            <view class="tab-item" :class="{ active: currentType === 'personal' }" @tap="currentType = 'personal'">个人资质</view>
            <view class="tab-item" :class="{ active: currentType === 'company' }" @tap="currentType = 'company'">企业资质</view>
        </view> -->
 
        <view class="card base-card">
            <view class="store-row">
                <image class="store-cover" src="" mode="aspectFill"></image>
                <view class="store-info">
                    <text class="store-name">中铁快运南站旗舰店</text>
                    <text class="store-line">联系人:苏眠眠</text>
                    <text class="store-line">联系电话:18155114565</text>
                </view>
            </view>
 
            <view class="detail-block">
                <view class="info-row">
                    <text class="info-label">省市区:</text>
                    <text class="info-value">安徽省合肥市经济技术开发区</text>
                </view>
                <view class="info-row">
                    <text class="info-label">门店地址:</text>
                    <text class="info-value">莲花路200号莲花产业园F栋401</text>
                </view>
 
                <template v-if="currentType === 'personal'">
                    <view class="info-row">
                        <text class="info-label">身份证号:</text>
                        <text class="info-value">3401823742786473267</text>
                    </view>
                    <view class="material-row top-align">
                        <text class="info-label">身份证:</text>
                        <view class="material-list double-list">
                            <image class="material-image id-card" src="" mode="aspectFill"></image>
                            <image class="material-image id-card" src="" mode="aspectFill"></image>
                        </view>
                    </view>
                </template>
 
                <template v-else>
                    <view class="material-row top-align license-row">
                        <text class="info-label">营业执照:</text>
                        <view class="material-list single-list">
                            <image class="material-image license-image" src="" mode="aspectFill"></image>
                        </view>
                    </view>
                </template>
            </view>
        </view>
        
        <view style="width: 100%; height: 20rpx; background-color: #F7F7F7;"></view>
        
        <view v-if="currentType === 'personal'" class="card subject-card">
            <text class="section-title">主体资质</text>
            <view class="material-group">
                <view class="material-row top-align">
                    <text class="info-label">有效劳动合同:</text>
                    <view class="material-list triple-list">
                        <image class="material-image contract-image" src="" mode="aspectFill"></image>
                        <image class="material-image contract-image" src="" mode="aspectFill"></image>
                        <image class="material-image contract-image" src="" mode="aspectFill"></image>
                    </view>
                </view>
                <view class="material-row top-align proof-row">
                    <text class="info-label">社保缴纳证明:</text>
                    <view class="material-list single-list">
                        <image class="material-image proof-image" src="" mode="aspectFill"></image>
                    </view>
                </view>
            </view>
        </view>
 
        <view v-else class="card subject-card legal-card">
            <text class="section-title">法人信息</text>
            <view class="detail-block legal-block">
                <view class="info-row">
                    <text class="info-label">法人姓名:</text>
                    <text class="info-value">张光宣</text>
                </view>
                <view class="info-row">
                    <text class="info-label">法人电话:</text>
                    <text class="info-value">181554462589</text>
                </view>
                <view class="info-row">
                    <text class="info-label">身份证号:</text>
                    <text class="info-value">3401823742786473267</text>
                </view>
                <view class="material-row top-align">
                    <text class="info-label">身份证:</text>
                    <view class="material-list double-list">
                        <image class="material-image id-card" src="" mode="aspectFill"></image>
                        <image class="material-image id-card" src="" mode="aspectFill"></image>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                currentType: 'personal'
            }
        }
    }
</script>
 
<style lang="scss" scoped>
    .qualification-page {
        
    }
 
    .type-tabs {
        margin-bottom: 18rpx;
        display: flex;
        gap: 12rpx;
    }
 
    .tab-item {
        min-width: 140rpx;
        height: 56rpx;
        padding: 0 22rpx;
        border-radius: 28rpx;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24rpx;
        color: #6b7280;
        box-sizing: border-box;
    }
 
    .tab-item.active {
        background: #ecf8ff;
        color: #18aaf7;
        box-shadow: inset 0 0 0 2rpx #18aaf7;
    }
 
    .card {
        background: #ffffff;
        padding: 30rpx;
        box-sizing: border-box;
    }
 
    .base-card {
        padding-bottom: 16rpx;
    }
 
    .legal-card {
        padding-top: 18rpx;
    }
 
    .store-row {
        display: flex;
        align-items: center;
        padding-bottom: 30rpx;
        border-bottom: 1rpx solid #f0f1f4;
    }
 
    .store-cover {
        width: 144rpx;
        height: 144rpx;
        border-radius: 8rpx;
        background: #e8edf5;
        flex-shrink: 0;
    }
 
    .store-info {
        margin-left: 24rpx;
        min-width: 0;
    }
 
    .store-name {
        display: block;
        font-weight: 500;
        font-size: 32rpx;
        color: #111111;
    }
 
    .store-line {
        display: block;
        margin-top: 10rpx;
        font-weight: 400;
        font-size: 26rpx;
        color: #777777;
    }
 
    .detail-block,
    .material-group {
        padding-top: 30rpx;
    }
 
    .legal-block {
        padding-top: 6rpx;
    }
 
    .info-row,
    .material-row {
        display: flex;
        align-items: center;
        margin-bottom: 20rpx;
    }
 
    .material-row.top-align {
        align-items: flex-start;
    }
 
    .info-label {
        width: 190rpx;
        flex-shrink: 0;
        font-weight: 400;
        font-size: 26rpx;
        color: #777777;
    }
 
    .info-value {
        flex: 1;
        font-weight: 400;
        font-size: 26rpx;
        color: #333333;
        word-break: break-all;
    }
 
    .section-title {
        display: block;
        margin-bottom: 20rpx;
        font-weight: 600;
        font-size: 32rpx;
        color: #111111;
    }
 
    .material-list {
        flex: 1;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14rpx;
    }
 
    .material-image {
        background: #eef2f7;
        border-radius: 10rpx;
        flex-shrink: 0;
    }
 
    .id-card {
        width: 200rpx;
        height: 150rpx;
    }
 
    .contract-image {
        width: 144rpx;
        height: 144rpx;
    }
 
    .proof-image {
        width: 144rpx;
        height: 144rpx;
    }
 
    .license-image {
        width: 220rpx;
        height: 156rpx;
    }
 
    .proof-row {
        margin-top: 4rpx;
    }
 
    .license-row {
        margin-bottom: 8rpx;
    }
</style>