Files
gaoYuJournal/miniprogram/pages/main/moment/index.less
2025-12-05 12:40:19 +08:00

168 lines
2.5 KiB
Plaintext

/* pages/main/moment/index.wxss */
.moment {
.tips {
padding: 4px 12px;
font-size: .8rem;
text-align: justify;
text-indent: 2em;
}
.action {
padding: 8px 12px;
.line {
display: flex;
margin-bottom: .5rem;
justify-content: space-between;
.btn {
width: 50%;
margin-right: 1rem;
&:last-child {
margin-right: 0;
}
}
}
}
.uploading {
padding: 4px 12px;
margin-bottom: 12rpx;
.progress {
margin-bottom: 8rpx;
}
.text {
color: var(--theme-text-secondary);
display: flex;
font-size: .8rem;
justify-content: space-between;
}
}
.items {
column-gap: .25rem;
column-count: 4;
padding-bottom: 2rem;
.item {
position: relative;
.thumbnail {
width: 100%;
display: block;
overflow: hidden;
background: var(--theme-bg-card);
break-inside: avoid;
margin-bottom: .25rem;
&.video {
height: auto;
position: relative;
&::after {
content: "";
top: 50%;
left: 53%;
width: 0;
height: 0;
position: absolute;
transform: translate(-50%, -50%);
border-top: 16px solid transparent;
border-left: 24px solid var(--theme-video-play);
border-bottom: 16px solid transparent;
pointer-events: none;
}
}
}
.checkbox {
top: 0;
right: 0;
padding: 16rpx 0 16rpx 16rpx;
z-index: 2;
position: absolute;
background: transparent;
}
.checkbox-fill {
top: 24rpx;
right: 26rpx;
width: 16px;
height: 16px;
z-index: 1;
position: absolute;
background: var(--theme-bg-card);
border-radius: 50%;
}
}
}
}
.archive-popup {
.container {
width: 100vw;
background: var(--td-bg-color-container);
border-top-left-radius: 16rpx;
border-top-right-radius: 16rpx;
.header {
display: flex;
align-items: center;
height: 116rpx;
.title {
flex: 1;
color: var(--td-text-color-primary);
font-size: 36rpx;
text-align: center;
font-weight: 600;
}
.btn {
margin: 0 .5rem;
&.cancel {
color: var(--td-text-color-secondary);
}
&.confirm {
color: var(--theme-success);
}
}
}
.content {
padding: 16rpx 32rpx;
.section {
width: 100%;
margin-top: 1.5rem;
.label {
color: var(--theme-text-secondary);
}
&.type {
display: flex;
.radio {
margin-right: 1em;
}
}
&.time {
display: flex;
.picker {
margin-right: .25rem;
}
}
}
}
}
}