serviceCode.scss
1.64 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
/* pages/serviceCode/serviceCode.wxss */
.layout {
padding: 40rpx 40rpx 100rpx;
}
.layout .logo {
width: 190rpx;
height: 48rpx;
margin-bottom: 32rpx;
}
.layout .box {
height: 1068rpx;
background: #ffffff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 32rpx;
}
.box .merchant {
font-size: 36rpx;
color: #333333;
font-weight: 600;
}
.box .merchant .icon {
width: 96rpx;
height: 96rpx;
border-radius: 100%;
overflow: hidden;
margin-right: 16rpx;
flex-shrink: 0;
}
.box .merchant .name {
animation: show-text 2s forwards;
}
@keyframes show-text {
0% {
width: 0;
}
100% {
width: calc(100% - 112rpx);
}
}
.box .qr-box {
height: 624rpx;
/* background: #f8f8f8; */
border-radius: 16rpx;
margin: 32rpx 0 48rpx;
flex-direction: column;
justify-content: center;
}
.box .qr-box .text {
font-size: 28rpx;
color: #727272;
width: 450rpx;
text-align: left;
}
.qr-box .icon {
width: 42rpx;
height: 48rpx;
margin: 32rpx 0 26rpx;
}
.qr-box .qr {
width: 310rpx;
height: 310rpx;
background-color: #fff;
position: relative;
}
.qr-box .qr .btn{
position: absolute;
width: 112rpx;
height: 112rpx;
}
.qr-box .refresh{
color: #5850FF;
font-size: 24rpx;
margin: 8rpx 0 12rpx;
}
.box .title {
font-size: 28rpx;
color: #c2c2c2;
text-align: center;
margin-bottom: 32rpx;
}
.box .list {
display: grid;
grid-template-columns: repeat(2, 1fr);
font-size: 28rpx;
color: #727272;
gap: 20rpx 0;
}
.box .list .item .icon {
width: 24rpx;
height: 24rpx;
margin-right: 8rpx;
}
.layout > .tips {
font-size: 24rpx;
color: #a2a2a2;
margin-top: 64rpx;
text-align: center;
}