picture.scss
1.69 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
/* packageStoreAssistant/packageEquityClaims/components/picture/picture.wxss */
.picture-wrap{
width: 192rpx;
height: 192rpx;
border-radius: 12rpx;
background-color: #F5F6F7;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
position: relative;
.upload-pic{
width: 40rpx;
height: 40rpx;
}
.pic-title{
font-size: 22rpx;
color: #9B9B9E;
margin-top: 16rpx;
}
.big-upload-pic{
width: 132rpx;
height: 96rpx;
}
.exampleUrl{
z-index: 2;
}
.example-txt{
position: absolute;
right: 12rpx;
top: 12rpx;
z-index: 5;
width: 72rpx;
height: 36rpx;
opacity: 0.35;
background: #000000;
border-radius: 6rpx;
font-size: 24rpx;
color: #FFFFFF;
text-align: center;
}
.camera{
width: 56rpx;
height: 56rpx;
position: absolute;
left: 50%;
top: 50%;
z-index: 5;
transform: translate(-50%, -50%);
}
.pic{
position: absolute;
background-color: #fff;
border-radius: 12rpx;
left: 0;
z-index: 4;
right: 0;
top: 0;
bottom: 0;
}
.del{
position: absolute;
right: 4rpx;
top: 4rpx;
width: 32rpx;
height: 32rpx;
z-index: 5;
}
}
.modal{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0,0,0,0.4);
z-index: 99;
.img{
width: 80%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
}