/* 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;
|
}
|