305 lines
6.3 KiB
Plaintext
305 lines
6.3 KiB
Plaintext
.try-container{
|
|
height:100vh;
|
|
padding:0 40rpx 0 40rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
.try-container .header{
|
|
font-size: 52rpx;
|
|
line-height: 88rpx;
|
|
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;
|
|
background-color: #eee;
|
|
}
|
|
.try-container .main .top-btn{
|
|
position: absolute;
|
|
right:20rpx;top:20rpx;
|
|
background-color: rgba(255, 255, 255, .6);
|
|
z-index: 100;
|
|
font-size: 28rpx;
|
|
box-shadow: 0px 6px 6px 1px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.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 .right-bottom-area{
|
|
position: absolute;
|
|
right:20rpx;bottom:20rpx;
|
|
}
|
|
.try-container .main .right-bottom-area .delete-area{
|
|
border-radius: 50%;
|
|
background-color: rgba(255, 255, 255, .7);
|
|
width:70rpx;height:70rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #666;
|
|
}
|
|
.try-container .bottom{
|
|
margin:40rpx 0 22rpx 0;
|
|
}
|
|
|
|
.history{
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 20rpx;
|
|
}
|
|
.history .list{
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
.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 .icon.more{
|
|
font-size: 60rpx;
|
|
}
|
|
.history .item.item-more{
|
|
font-size: 30rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.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;
|
|
}
|
|
|
|
/* .comment-modal-view .modal-view-main{
|
|
padding:0;
|
|
overflow: hidden;
|
|
}
|
|
.comment-modal-view .modal-view-main .close-btn-area{
|
|
right:0;top:0;
|
|
}
|
|
.comment-modal-view .modal-view-main .close-btn-area .close-btn{
|
|
content: '';
|
|
top:0;left:0;
|
|
border-radius: 50%;
|
|
background-color: rgba(0, 0, 0, .2);
|
|
}
|
|
.comment-modal-view .modal-view-main .close-btn-area .close-btn::after{
|
|
width:1em;height:1em;
|
|
-webkit-mask-position:0 0;
|
|
mask-position:0 0;
|
|
-webkit-mask-repeat:no-repeat;
|
|
mask-repeat:no-repeat;
|
|
-webkit-mask-size:100%;
|
|
mask-size:100%;
|
|
background-color:currentColor;
|
|
color: #ddd;
|
|
mask-image: var(--icon-plus);
|
|
-webkit-mask-image: var(--icon-plus);
|
|
font-size: 36rpx;
|
|
transform: rotate(45deg);
|
|
left:10rpx;
|
|
top:8rpx;
|
|
}
|
|
.comment-modal-view .modal-view-main .close-btn-area .close-btn::before{
|
|
display: none;
|
|
}
|
|
.comment-modal-view .modal-view-main .image-area{
|
|
width:100%;
|
|
54是弹出框左右的宽度
|
|
height:calc((100vw - 54px)*4/3);
|
|
position: relative;
|
|
}
|
|
.comment-modal-view .modal-view-main .image-area .image{
|
|
width:100%;height:100%;
|
|
vertical-align: middle;
|
|
}
|
|
.comment-modal-view .modal-view-main .image-area .top-bottom{
|
|
position: absolute;
|
|
bottom:20rpx;
|
|
left:20rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
.comment-modal-view .modal-view-main .image-area .top,
|
|
.comment-modal-view .modal-view-main .image-area .bottom{
|
|
width:140rpx;
|
|
height:140rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
.comment-modal-view .modal-view-main .comment{
|
|
padding:40rpx;
|
|
position: relative;
|
|
}
|
|
.comment-modal-view .modal-view-main .point{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: baseline;
|
|
|
|
color:var(--main-color);
|
|
font-size: 70rpx;
|
|
line-height: 70rpx;
|
|
font-weight: bold;
|
|
}
|
|
.comment-modal-view .modal-view-main .point::after{
|
|
content:'分';
|
|
line-height: 30rpx;
|
|
font-size: 30rpx;
|
|
font-weight: normal;
|
|
margin-left:10rpx;
|
|
color: var(--main-font-color);
|
|
}
|
|
.comment-modal-view .cmt-title{
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
margin:20rpx 0;
|
|
}
|
|
.comment-modal-view .cmt-content{
|
|
line-height: 40rpx;
|
|
text-indent: 2em;
|
|
}
|
|
.comment-modal-view .button{
|
|
margin-top:40rpx;
|
|
}
|
|
|
|
@media (min-aspect-ratio:5/9){
|
|
.comment-modal-view .modal-view-main .comment{
|
|
padding:20rpx;
|
|
}
|
|
.comment-modal-view .modal-view-main .point{
|
|
position:absolute;
|
|
left:160rpx;
|
|
top:22rpx;
|
|
font-size: 40rpx;
|
|
}
|
|
}
|
|
@media (min-aspect-ratio:3/5){
|
|
.comment-modal-view .modal-view-main .image-area{
|
|
height:calc(100vw - 54px);
|
|
}
|
|
} */
|
|
|