172 lines
3.3 KiB
Plaintext
172 lines
3.3 KiB
Plaintext
.try-container{
|
|
height:100vh;
|
|
padding:0 40rpx 0 40rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
.try-container .header{
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content:space-between;
|
|
}
|
|
.try-container .header .button{
|
|
font-size: 28rpx;
|
|
font-weight: normal;
|
|
line-height: 2;
|
|
}
|
|
.try-container .main{
|
|
border-radius: 20rpx;
|
|
margin-top:20rpx;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.try-container .main .top-btn{
|
|
position: absolute;
|
|
right:40rpx;top:40rpx;
|
|
z-index: 100;
|
|
}
|
|
.try-container .main .upload-btn{
|
|
width:100%;height:100%;
|
|
position: absolute;
|
|
top:0;left:0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
gap: 30rpx;
|
|
}
|
|
.try-container .main .person-image{
|
|
width:100%;height:100%;
|
|
}
|
|
.try-container .main .upload-btn .icon{
|
|
margin:0 auto;
|
|
width:calc(100vw - 80rpx);
|
|
height:calc(100vw - 80rpx);
|
|
color:#ccc;
|
|
}
|
|
.try-container .main .clothing{
|
|
position: absolute;
|
|
left:20rpx;bottom:20rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
.try-container .main .clothing .loading-area{
|
|
width:100%;height:100%;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
position: absolute;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.try-container .main .clothing .loading{
|
|
font-size: 40rpx;
|
|
color:red
|
|
}
|
|
.try-container .main .item{
|
|
position: relative;
|
|
background-color:rgba(255, 255, 255, .7);
|
|
width:100rpx;height:100rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 80rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
.try-container .main .item .image{
|
|
width:100%;height:100%;
|
|
}
|
|
.try-container .main .share-area{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 50rpx;
|
|
color: #fff;
|
|
margin-left:auto;
|
|
background-color: rgba(0, 0, 0, .1);
|
|
border-radius: 50%;
|
|
width: 80rpx;height: 80rpx;
|
|
}
|
|
.try-container .bottom{
|
|
margin:40rpx 0 22rpx 0;
|
|
}
|
|
|
|
.history{
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
}
|
|
.history .item{
|
|
border-radius: 20rpx;
|
|
background-color: #ddd;
|
|
border:2px solid #ddd;
|
|
width:120rpx;
|
|
height: 120rpx;
|
|
display:flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 60rpx;
|
|
color: #666;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
margin-left:16rpx;
|
|
margin-top:18rpx;
|
|
}
|
|
.history .item:first-child{
|
|
margin-left:0;
|
|
}
|
|
.history .item.current{
|
|
border-color: var(--main-color);
|
|
}
|
|
.history .image{
|
|
width:100%;height:100%;
|
|
}
|
|
.history .loading-area{
|
|
position: relative;
|
|
width:100%;height:100%;
|
|
background-color: rgba(0, 0, 0, .1);
|
|
}
|
|
.history .error-area{
|
|
position: absolute;
|
|
left:0;top:0;
|
|
width:100%;height:100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: rgba(0, 0, 0, .2);
|
|
font-size: 40rpx;
|
|
}
|
|
.history .error-area .tips{
|
|
font-size: 26rpx;
|
|
margin-top:8rpx;
|
|
color: red;
|
|
}
|
|
.history .delete-area{
|
|
position:absolute;
|
|
top:-22rpx;right:-22rpx;
|
|
font-size: 36rpx;
|
|
color:red;
|
|
overflow: visible;
|
|
padding:8rpx;
|
|
}
|
|
.history .top-img{
|
|
width:60%;height:60%;
|
|
position: absolute;
|
|
top:0;left:0;
|
|
}
|
|
.history .bottom-img{
|
|
width:60%;height:60%;
|
|
position: absolute;
|
|
right:0;bottom:0;
|
|
}
|
|
.history .item .loading{
|
|
position: absolute;
|
|
left:50%;top:50%;
|
|
font-size: 40rpx;
|
|
margin-left:-20rpx;
|
|
margin-top:-20rpx;
|
|
} |