|
@@ -63,6 +63,479 @@
|
|
|
.content .trans.active {
|
|
|
transform: translateY(-50%) scale(1);
|
|
|
}
|
|
|
+ .show-tag {
|
|
|
+ pointer-events: auto;
|
|
|
+ background: rgba(27, 27, 28, 0.8);
|
|
|
+ border-radius: 4px;
|
|
|
+ // border: 1px solid #000000;
|
|
|
+ // backdrop-filter: blur(4px);
|
|
|
+ min-width: 400px;
|
|
|
+ // min-height: 100px;
|
|
|
+ padding: 30px 20px;
|
|
|
+ max-height: 50vh;
|
|
|
+ overflow-y: auto;
|
|
|
+ .edit-btn {
|
|
|
+ margin-top: 20px;
|
|
|
+ text-align: right;
|
|
|
+ span {
|
|
|
+ font-size: 14px;
|
|
|
+ color: var(--editor-font-color);
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-metas {
|
|
|
+ width: 100%;
|
|
|
+ height: 224px;
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ cursor: -webkit-zoom-in;
|
|
|
+ margin-top: 20px;
|
|
|
+ &.nocursor {
|
|
|
+ cursor: auto;
|
|
|
+ }
|
|
|
+ &.mask {
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ z-index: 100;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-title {
|
|
|
+ word-break: break-all;
|
|
|
+ h2 {
|
|
|
+ font-size: 20px;
|
|
|
+ // margin-bottom: 10px;
|
|
|
+ line-height: 30px;
|
|
|
+ color: #ffffff;
|
|
|
+ position: relative;
|
|
|
+ .ui-audio {
|
|
|
+ float: right;
|
|
|
+ &.audio {
|
|
|
+ display: inline-block;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .desc {
|
|
|
+ margin-top: 10px;
|
|
|
+ .text {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 20px;
|
|
|
+ text-align: justify;
|
|
|
+ word-break: break-all;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ [is-mobile] {
|
|
|
+ .show-tag {
|
|
|
+ pointer-events: auto;
|
|
|
+ background: rgba(27, 27, 28, 0.8);
|
|
|
+ border-radius: 0.0533rem;
|
|
|
+ // border: 1px solid #000000;
|
|
|
+ // backdrop-filter: blur(0.0533rem);
|
|
|
+ min-width: 7.4667rem;
|
|
|
+ // min-height: 4rem;
|
|
|
+ padding: 0.4rem 0.2667rem;
|
|
|
+
|
|
|
+ .edit-btn {
|
|
|
+ margin-top: 0.2667rem;
|
|
|
+ text-align: right;
|
|
|
+ span {
|
|
|
+ font-size: 0.1867rem;
|
|
|
+ color: var(--editor-font-color);
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-metas {
|
|
|
+ width: 100%;
|
|
|
+ height: 4.2667rem;
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
+ border-radius: 0.0533rem;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ cursor: -webkit-zoom-in;
|
|
|
+ margin-top: 0.4rem;
|
|
|
+ &.mask {
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ z-index: 100;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tag-title {
|
|
|
+ h2 {
|
|
|
+ font-size: 0.5333rem;
|
|
|
+ line-height: 0.8rem;
|
|
|
+ color: #ffffff;
|
|
|
+ position: relative;
|
|
|
+ .ui-audio {
|
|
|
+ float: right;
|
|
|
+ &.audio {
|
|
|
+ display: inline-block;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .desc {
|
|
|
+ margin-bottom: 0.2933rem;
|
|
|
+
|
|
|
+ .text {
|
|
|
+ font-size: 0.3733rem;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 0.2533rem;
|
|
|
+ text-align: justify;
|
|
|
+ line-height: 0.5333rem;
|
|
|
+
|
|
|
+ p {
|
|
|
+ line-height: 0.5333rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // image
|
|
|
+ .showPicBox {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 10000;
|
|
|
+ background: rgb(24, 22, 22);
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ .close {
|
|
|
+ position: absolute;
|
|
|
+ top: 10px;
|
|
|
+ right: 10px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ z-index: 100;
|
|
|
+ color: #fff;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .loading {
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ }
|
|
|
+ .imgbox {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: contain;
|
|
|
+ background-position: center center;
|
|
|
+ #eleImg {
|
|
|
+ // position: absolute;
|
|
|
+
|
|
|
+ // top: 50%;
|
|
|
+ // left: 50%;
|
|
|
+ // transform: translate(-50%, -50%);
|
|
|
+ margin: 0 auto;
|
|
|
+ display: block;
|
|
|
+ &.s {
|
|
|
+ height: 100%;
|
|
|
+ width: auto;
|
|
|
+ }
|
|
|
+ &.h {
|
|
|
+ height: auto;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .del-btn {
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ background: rgba(0, 0, 0, 0.6);
|
|
|
+ border-radius: 50%;
|
|
|
+ position: absolute;
|
|
|
+ cursor: pointer;
|
|
|
+ top: 10px;
|
|
|
+ right: 10px;
|
|
|
+ z-index: 10;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ .loading-icon {
|
|
|
+ color: var(--editor-main-color);
|
|
|
+ animation: rotate 2s infinite linear;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+ @keyframes rotate {
|
|
|
+ 0% {
|
|
|
+ transform: translate(-50%, -50%) rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ transform: translate(-50%, -50%) rotate(360deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .pic-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 10;
|
|
|
+
|
|
|
+ .over-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .continue {
|
|
|
+ width: 100%;
|
|
|
+ height: 32px;
|
|
|
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, #000000 200%);
|
|
|
+ border-radius: 0px 0px 4px 4px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+
|
|
|
+ .ui-input {
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ .continue-tips {
|
|
|
+ font-size: 12px;
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+ .edit-pic-num {
|
|
|
+ // position: absolute;
|
|
|
+ // right: 10px;
|
|
|
+ font-size: 12px;
|
|
|
+ .cur {
|
|
|
+ color: var(--editor-main-color);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .pic-num {
|
|
|
+ position: absolute;
|
|
|
+ right: 10px;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ font-size: 12px;
|
|
|
+ .cur {
|
|
|
+ color: var(--editor-main-color);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .ctrl-btn {
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ background: rgba(0, 0, 0, 0.2);
|
|
|
+ border-radius: 50%;
|
|
|
+ position: absolute;
|
|
|
+ cursor: pointer;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ z-index: 10;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ &.left-btn {
|
|
|
+ left: 5px;
|
|
|
+ }
|
|
|
+ &.right-btn {
|
|
|
+ right: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .image-list {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ position: relative;
|
|
|
+ transition: all 0.3s linear;
|
|
|
+ .image-item {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ // background: red;
|
|
|
+ position: absolute;
|
|
|
+ transform: translateX(0);
|
|
|
+ text-align: center;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: contain;
|
|
|
+ background-position: center;
|
|
|
+ img {
|
|
|
+ height: 100%;
|
|
|
+ width: auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.show {
|
|
|
+ .ctrl-btn {
|
|
|
+ width: 40px;
|
|
|
+ height: 80px;
|
|
|
+ background: rgba(0, 0, 0, 0.6);
|
|
|
+ .iconfont {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ &.left-btn {
|
|
|
+ left: 0px;
|
|
|
+ border-radius: 0 40px 40px 0;
|
|
|
+ .icon {
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.right-btn {
|
|
|
+ right: 0px;
|
|
|
+ border-radius: 40px 0 0 40px;
|
|
|
+ .icon {
|
|
|
+ margin-left: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .continue {
|
|
|
+ width: 76px;
|
|
|
+ height: 36px;
|
|
|
+ background: rgba(0, 0, 0, 0.6);
|
|
|
+ border-radius: 20px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: -5%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+
|
|
|
+ .pic-num {
|
|
|
+ width: 76px;
|
|
|
+ height: 36px;
|
|
|
+ display: inline-block;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 20px;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ span {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [is-mobile] {
|
|
|
+ .pic-box {
|
|
|
+ &.show {
|
|
|
+ .ctrl-btn {
|
|
|
+ width: 40px;
|
|
|
+ height: 80px;
|
|
|
+ background: rgba(0, 0, 0, 0.6);
|
|
|
+ .iconfont {
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ &.left-btn {
|
|
|
+ left: 0px;
|
|
|
+ border-radius: 0 40px 40px 0;
|
|
|
+ .icon {
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &.right-btn {
|
|
|
+ right: 0px;
|
|
|
+ border-radius: 40px 0 0 40px;
|
|
|
+ .icon {
|
|
|
+ margin-left: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .continue {
|
|
|
+ width: 76px;
|
|
|
+ height: 36px;
|
|
|
+ background: rgba(0, 0, 0, 0.6);
|
|
|
+ border-radius: 20px;
|
|
|
+ position: absolute;
|
|
|
+ bottom: -6%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+
|
|
|
+ .pic-num {
|
|
|
+ width: 76px;
|
|
|
+ height: 36px;
|
|
|
+ display: inline-block;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 20px;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ span {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .video-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ position: absolute;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.2);
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 10;
|
|
|
+ .loading-icon {
|
|
|
+ color: var(--editor-main-color);
|
|
|
+ animation: rotate 2s infinite linear;
|
|
|
+ position: absolute;
|
|
|
+ top: 50%;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ font-size: 30px;
|
|
|
+ }
|
|
|
+ @keyframes rotate {
|
|
|
+ 0% {
|
|
|
+ transform: translate(-50%, -50%) rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ transform: translate(-50%, -50%) rotate(360deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .video-item {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ object-fit: contain;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
@keyframes tag-animate-zoom {
|
|
|
0% {
|