lf-pickup-complete.vue
2.83 KB
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
<template>
<view class="pickup-complete-card glass-card">
<view class="complete-mark">
<text class="complete-mark-check">✓</text>
</view>
<text class="complete-kicker">PICKUP COMPLETED</text>
<text class="complete-title">{{ title }}</text>
<text class="complete-desc">{{ desc }}</text>
<view class="complete-meta">
<view class="complete-meta-item">
<text class="complete-meta-label">订单状态</text>
<text class="complete-meta-value">{{ status }}</text>
</view>
<view class="complete-meta-item" v-if="time">
<text class="complete-meta-label">完成时间</text>
<text class="complete-meta-value">{{ time }}</text>
</view>
</view>
</view>
</template>
<script>
export default {
props: {
title: {
type: String,
default: '该订单已完成核销'
},
desc: {
type: String,
default: '门店已完成核销与自提,本页不再展示二维码。'
},
status: {
type: String,
default: '已自提'
},
time: {
type: String,
default: ''
}
}
}
</script>
<style lang="scss" scoped>
@import '@/styles/mixins.scss';
.pickup-complete-card {
position: relative;
overflow: hidden;
padding: 36rpx;
margin-bottom: 24rpx;
}
.pickup-complete-card::before {
content: '';
position: absolute;
right: -60rpx;
top: -20rpx;
width: 260rpx;
height: 260rpx;
border-radius: 50%;
background: radial-gradient(circle, rgba(100, 140, 118, 0.08), rgba(100, 140, 118, 0));
animation: lfFloatSoft 10s ease-in-out infinite;
}
.complete-mark {
position: absolute;
right: 28rpx;
top: 20rpx;
display: flex;
align-items: center;
justify-content: center;
}
.complete-mark-check {
font-size: 110rpx;
line-height: 1;
font-weight: 700;
color: rgba(36, 74, 61, 0.18);
text-shadow: 0 10rpx 24rpx rgba(54, 77, 64, 0.08);
}
.complete-kicker,
.complete-title,
.complete-desc,
.complete-meta-label,
.complete-meta-value {
display: block;
position: relative;
z-index: 1;
}
.complete-kicker {
font-size: 20rpx;
letter-spacing: 4rpx;
color: rgba(143, 118, 86, 0.82);
}
.complete-title {
margin-top: 16rpx;
padding-right: 170rpx;
font-size: 34rpx;
line-height: 1.45;
font-weight: 700;
color: $text-primary;
}
.complete-desc {
margin-top: 14rpx;
font-size: 24rpx;
line-height: 1.8;
color: $text-secondary;
}
.complete-meta {
margin-top: 28rpx;
display: flex;
flex-wrap: wrap;
gap: 18rpx;
}
.complete-meta-item {
min-width: 220rpx;
padding: 20rpx 22rpx;
border-radius: 24rpx;
background: rgba(255, 255, 255, 0.76);
border: 1rpx solid rgba(210, 191, 156, 0.14);
}
.complete-meta-label {
font-size: 20rpx;
color: $text-secondary;
}
.complete-meta-value {
margin-top: 10rpx;
font-size: 26rpx;
font-weight: 600;
color: $brand-primary-deep;
}
</style>