InventoryInfo.scss
1.42 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
/* components/InventoryInfo/InventoryInfo.wxss */
.inventory-info-container {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999999;
}
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.popup {
padding: 48rpx 0 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 622rpx;
background-color: white;
border-radius: 16rpx;
overflow: hidden;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
}
.popup-header {
font-size: 32rpx;
font-style: normal;
font-weight: 500;
text-align: center;
margin-bottom: 48rpx;
}
.popup-title {
font-size: 32rpx;
font-weight: 500;
color: #333;
}
.popup-content {
padding: 0 48rpx;
}
.info-item {
padding: 24rpx 0;
color: #292d33;
font-size: 28rpx;
position: relative;
.item {
display: flex;
align-items: flex-start;
width: calc(100% - 48rpx);
.key {
max-width: 130rpx;
white-space: nowrap;
}
.value {
white-space: wrap;
word-break: break-word;
word-wrap: break-word;
}
}
}
.copy-btn {
margin-left: 16rpx;
padding: 8rpx;
width: 32rpx;
height: 32rpx;
cursor: pointer;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
image {
width: 100%;
}
}
.popup-footer {
padding: 30rpx;
text-align: center;
border-top: 1rpx solid #EBEDF0;
}
.close-btn {
width: 100%;
font-size: 32rpx;
color: #333;
}