路泰科技体检小程序UI设计新版本
1
wwl
2025-07-30 61b58bd03d04d2eb50ac2d93a188c819fe67e01e
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<template>
    <view class="box">
        <image class="bg-image" src="/static/images/tabbar/loginbg.png" mode="scaleToFill"></image>
        <view class="order">
 
            <view class="top">
                <view class="top_one">
                    <view>{{customer.cusName }}</view>
                    <text>{{customer.cusSex===1 ? "女" :"男" }}</text>
                </view>
                <!-- <view class="top_two" v-if="item.checkStatus === 0">未体</view>
                        <view class="top_two" v-if="item.checkStatus === 1">已检</view> -->
            </view>
            <!-- <view style="border-top: 1rpx solid #EBEEF2; width: 95%; margin: 0 auto;"></view> -->
            <u-cell-group>
                <u-cell title="体检套餐" :value="tjorder.pacName" :border="false" />
                <u-cell title="体检日期" :value="tjorder.createTime" :border="false" />
            </u-cell-group>
        </view>
        
        <view class="order" v-for="(item,index) in reportlist" :key="index">
            <view class="top">
                <view class="top_one">
                    <view>{{item.deptName}}</view>
                </view>
                <view class="top_two" v-if="item.checkStatus === 0">未体</view>
                <view class="top_two" v-if="item.checkStatus === 1">已检</view>
            </view>
            <!-- <view style="border-top: 1rpx solid #EBEEF2; width: 95%; margin: 0 auto;"></view> -->
            <u-cell-group >
                            <u-cell title="位置" :value="item.officialWeb" :border="false" />
            
            </u-cell-group>
        </view>
 
 
        <!-- <view class="tj" style="height: 260rpx;">
            <view class="tj1">
                <view class="tj2">
                    <span style="font-size: 28px;margin-right: 5px;">{{customer.cusName}}</span>
                    <span style="font-size: 14px;">{{customer.cusSex===1 ? "女" :"男"}}</span>
                </view>
                <view class="tj3">
                    <span>体检套餐:{{tjorder.pacName}}</span>
                </view>
                <view class="tj4">
                    <span>体检日期:{{tjorder.createTime}}</span>
                </view>
            </view>
 
        </view> -->
 
        <!-- 报告卡片 -->
        <!-- <view class="padding-l" v-for="(item,index) in reportlist" :key="index">
            <div class="card">
                <div class="card_sty"> -->
        <!-- <div class="card_left">
                        <span class="card_left_txt1">{{item.checkStatus}}</span>
                        <span class="card_left_txt2">{{item.deptName }}</span>
                    </div> -->
        <!--         <div class="card_right">
                        <div class="card_right1">
                            <span class="card_right_txt1"></span>
                            <span class="card_right_txt2">{{item.deptName}}</span>
                            <span class="card_right_txt3">位置:{{item.officialWeb}}</span>
                        </div>
 
                        <div class="card_right3" v-if="item.checkStatus === 0">
                            <span class="card_right_txt4">未</span>
                            <span class="card_right_txt4">检</span>
                        </div>
                        <div class="card_right2" v-else-if="item.checkStatus === 1">
                            <span class="card_right_txt4">已</span>
                            <span class="card_right_txt4">检</span>
                        </div> -->
        <!-- <div class="card_right2" v-else-if="item.checkStatus === 2">
                            <span class="card_right_txt4">弃</span>
                            <span class="card_right_txt4">检</span>
                        </div>
                        <div class="card_right2" v-else-if="item.checkStatus === 3">
                            <span class="card_right_txt4">延</span>
                            <span class="card_right_txt4">期</span>
                        </div> -->
        <!--         </div>
                </div>
            </div>
        </view> -->
 
 
        <!-- <div class="warm">
            <text>温馨提示:如需下载或打印报告,请使用电脑访问:www.xaltjdkj.com</text>
        </div> -->
    </view>
 
</template>
 
<script>
    import {
        getTiJianList,
        getPaiDuiList
    } from "@/api/system/tjrecord";
 
    export default {
        name: 'App',
        data() {
            return {
                Height: 0,
                reportlist: [{
                        checkStatus: 0,
                        officialWeb: "二楼",
                        deptName: "内科",
                    },
                    {
                        checkStatus: 1,
                        officialWeb: "二楼",
                        deptName: "外科",
                    },
                    {
                        checkStatus: 0,
                        officialWeb: "二楼",
                        deptName: "眼科",
                    }
                ],
                customer: {
                    cusName: "秦羡",
                    cusSex: 1
                },
                tjorder: {
                    pacName: "健康体检",
                    createTime: "2025-5-6"
                },
 
            }
        },
 
        //生命周期方法 —— 页面加载时
        onLoad(option) {
            let tjNumber = option.tjNumber;
            // this.getList(tjNumber);
        },
        methods: {
            /** 查询体检报告列表 */
            getList(tjNumber) {
                getPaiDuiList(tjNumber).then((response) => {
                    this.reportlist = response.data.depts;
                    this.customer = response.data.customer;
                    this.tjorder = response.data.tjorder;
                });
            },
 
            //跳转
            ComparisonReport() {
                uni.navigateTo({
                    url: '/pagesA/ComparisonReport/ComparisonReport'
                })
            },
            SearchReport() {
                uni.navigateTo({
                    url: '/pagesA/searchReport/searchReport'
                })
            },
        }
    }
</script>
 
<style lang="scss">
    .box {
        width: 100%;
        min-height: 1240rpx;
        // background: linear-gradient(180deg, #fd8b4d, #f4f8f7, #f7f7f7 100%, );
    }
 
    .bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        left: 50%;
        transform: translateX(-50%);
        object-fit: cover;
    }
 
 
    .order {
        width: 702rpx;
        background: linear-gradient(90deg, #FFFFFF 0%, #FCFFFE 100%);
        box-shadow: 0rpx 0rpx 12rpx 1rpx rgba(127, 153, 177, 0.14);
        border-radius: 12rpx;
        margin: 16rpx auto;
        padding-bottom: 20rpx;
        /* 增加底部内边距 */
        overflow: hidden;
        /* 防止阴影溢出 */
    }
 
 
 
    .top {
        height: 86rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
 
 
    .top .top_one {
        display: flex;
        align-items: center;
        margin-left: 20rpx;
    }
 
    .top .top_one view {
 
        height: 32rpx;
        font-weight: bold;
        font-size: 32rpx;
        color: #373E58;
        margin: 0rpx 20rpx;
        margin-top: -10rpx;
    }
 
    .top .top_one text {
        width: 104rpx;
        height: 26rpx;
        font-weight: 400;
        font-size: 26rpx;
        color: #999999;
    }
 
 
    .top .top_two {
        font-weight: 500;
        font-size: 28rpx;
        color: #419FFD;
        margin-right: 36rpx;
    }
 
    .card {
        display: flex;
        align-items: center;
        justify-content: center;
    }
 
    .card_sty {
        margin-top: 10px;
        width: 670rpx;
        height: 150rpx;
        border-radius: 8px 8px 8px 8px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
 
    .card_left {
        width: 120rpx;
        height: 103rpx;
        border-right: 1px solid #ccc;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
 
    .card_left_txt1 {
        margin-top: 2px;
        font-size: 14px;
    }
 
    .card_left_txt2 {
        font-size: 14px;
        color: #838383;
    }
 
    .card_right {
        display: flex;
    }
 
    .card_right1 {
        margin-top: 5px;
        // margin-left: 10px;
        width: 400rpx;
        height: 103rpx;
        display: flex;
        flex-direction: column;
        padding-top: 15rpx;
        padding-left: 5rpx;
    }
 
    .card_right_txt1 {
        font-size: 14px;
    }
 
    .card_right_txt2 {
        font-size: 14px;
    }
 
    .card_right_txt3 {
        font-size: 14px;
    }
 
    .card_right3 {
        margin-left: 110px;
        width: 50rpx;
        height: 150rpx;
        font-size: 14px;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 0px 8px 8px 0px;
        background-color: #fd8b4d;
    }
 
    .card_right2 {
        margin-left: 110px;
        width: 50rpx;
        height: 150rpx;
        font-size: 14px;
        color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 0px 8px 8px 0px;
        background-color: #8b8b8b;
    }
 
    .card_right_txt4 {
        font-size: 12px;
        color: #fff;
        margin-top: 10px;
    }
 
    .warm {
        width: 100%;
        //height: 0;
        color: LightSlateGray;
        /*开启绝对定位*/
        position: absolute;
        left: 5%;
        bottom: 2%;
    }
 
    .tj {
        width: 100%;
        height: 200px;
        display: flex;
        flex-direction: column;
    }
 
    .tj1 {
        width: 80%;
        min-height: 100px;
        margin-top: 20px;
        margin-left: 30px;
    }
 
    .tj2 {
        margin-bottom: 10px;
    }
 
    .tj3 {
        margin-bottom: 10px;
    }
</style>