.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 .close-area{ position:absolute; right:0;top:0; background-color: rgba(0, 0, 0, .2); width:70rpx;height:70rpx; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; } .comment-modal-view .modal-view-main .image-area{ width:100%; /* 54是弹出框左右的宽度 */ height:calc((100vw - 54px)*4/3); /* flex:1; */ 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; } .comment-container{ display: flex; flex-direction: column; } @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); } */ /* } */