riku
2024-08-13 1a0e4972f80278bfa9e53283374b745b6c968341
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
/* component/mygallery/mygallery.wxss */
.fyui-gallery {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  z-index: 1000;
  /* display: -webkit-box;
  display: -webkit-flex; */
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap
}
 
.fyui-gallery_show {
  display: flex
}
 
.fyui-gallery__info {
  position: absolute;
  width: 100%;
  color: #fff;
  font-size: 17px;
  line-height: 5vh;
  /* min-height: 60px; */
  text-align: center;
  padding-top: 8px;
  /* background-color: rgba(128, 128, 128, 0.233); */
  z-index: 2;
}
 
.fyui-gallery__close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 8px 16px 16px;
  /* background-color: blue; */
  z-index: 3;
}
 
.fyui-gallery__img,
.fyui-gallery__opr {
  /* position: absolute; */
  left: 0;
  left: constant(safe-area-inset-left);
  left: env(safe-area-inset-left);
  right: 0;
  right: constant(safe-area-inset-right);
  right: env(safe-area-inset-right)
}
 
.fyui-gallery__img {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  top: constant(safe-area-inset-top);
  top: env(safe-area-inset-top);
  bottom: 60px;
  bottom: calc(60px + constant(safe-area-inset-bottom));
  bottom: calc(60px + env(safe-area-inset-bottom));
  background: 50% no-repeat;
  background-size: contain;
  /* background-color: red; */
}
 
.fyui-gallery__opr {
  position: absolute;
  bottom: calc(12vh + env(safe-area-inset-bottom));
  bottom: calc(12vh + constant(safe-area-inset-bottom));
  /* background-color: #0d0d0d; */
  background-color: rgba(0, 0, 0, 0.219);
  color: white;
  padding: 8px;
}
 
.fyui-gallery__title {
  font-size: 16px;
  font-weight: 550;
}
.fyui-gallery__des {
  font-size: 14px;
}
 
.fyui-gallery__img__wrp {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  position: relative;
  font-size: 0
}
 
.swiper-tab{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  /* text-align: center; */
  height: 12vh;
  white-space: nowrap;
  z-index: 2;
  /* background-color: rgba(36, 36, 36, 0.473); */
  background-color: rgba(0, 0, 0, 0.219);
  /* background-color: rgba(148, 147, 147, 0.473); */
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}
 
.swiper-tab-list{
  position: relative;
  height: 8vh;
  width: 8vh;
  border: 1px solid rgb(99, 99, 99);
  margin-right: 8px;
  border-radius: 4px;
}
 
.on{ 
  height: 10vh;
  width: 10vh;
  color: white;
  border: 1px solid white;
}
 
.fyui-gallery__tool {
  position: absolute;
  display: block;
  right: 0;
  top: 45%;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.fyui-gallery__tool__rotate {
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.384);
  /* transform: rotate(90deg); */
  border-radius: 8px;
}
 
.left {
  transform: rotateY(180deg);
  /* background-color: red; */
  margin-top: 8px;
}