upload project
This commit is contained in:
commit
06961cae04
422 changed files with 110626 additions and 0 deletions
287
subpackages/media/visibility-selector/visibility-selector.wxss
Normal file
287
subpackages/media/visibility-selector/visibility-selector.wxss
Normal file
|
|
@ -0,0 +1,287 @@
|
|||
/* 页面根容器 */
|
||||
.page {
|
||||
background-color: #000000;
|
||||
color: #ffffff;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
/* 主容器 */
|
||||
.visibility-selector-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
/* 内容滚动区域 */
|
||||
.content-scroll {
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
padding-bottom: 40rpx;
|
||||
}
|
||||
|
||||
/* 选项列表 */
|
||||
.options-list {
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
|
||||
/* 可见性选项 */
|
||||
.visibility-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 30rpx;
|
||||
background-color: #111111;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.visibility-option.selected {
|
||||
background-color: #111111;
|
||||
}
|
||||
|
||||
/* 部分可见选项的头部(复选框和标题)- 默认保持水平布局 */
|
||||
.partial-visible-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 部分可见选项的特殊样式 - 按列排列 */
|
||||
.visibility-option.partial-visible-expanded {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
padding: 30rpx; /* 保持与默认一致的 padding */
|
||||
}
|
||||
|
||||
/* 部分可见选项头部在选中时的对齐 */
|
||||
.visibility-option.partial-visible-expanded .partial-visible-header {
|
||||
width: 100%;
|
||||
margin-bottom: 0; /* 确保没有额外间距 */
|
||||
}
|
||||
|
||||
/* 不给谁看选项的特殊样式 - 按列排列 */
|
||||
.visibility-option.exclude-friends-expanded {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
padding: 30rpx; /* 保持与默认一致的 padding */
|
||||
}
|
||||
|
||||
/* 不给谁看选项的头部(复选框和标题)- 默认保持水平布局 */
|
||||
.exclude-friends-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* 不给谁看选项头部在选中时的对齐 */
|
||||
.visibility-option.exclude-friends-expanded .exclude-friends-header {
|
||||
width: 100%;
|
||||
margin-bottom: 0; /* 确保没有额外间距 */
|
||||
}
|
||||
|
||||
/* 复选框样式 */
|
||||
.option-checkbox {
|
||||
margin-right: 30rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.checkbox.checked {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* 选中图标样式 */
|
||||
.check-image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.uncheck-image {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* 选项内容 */
|
||||
.option-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.option-main {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.option-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.option-desc {
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* 标签区域 */
|
||||
.tags-section {
|
||||
padding: 30rpx;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.tags-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.tag-item {
|
||||
padding: 16rpx 30rpx;
|
||||
background-color: #333333;
|
||||
border-radius: 40rpx;
|
||||
font-size: 26rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.tags-description {
|
||||
font-size: 24rpx;
|
||||
color: #888888;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* 好友选择区域 */
|
||||
.friends-selection-section {
|
||||
margin: 0 30rpx;
|
||||
background-color: #111111;
|
||||
border-radius: 16rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.friend-option {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 30rpx;
|
||||
border-bottom: 1rpx solid #333333;
|
||||
}
|
||||
|
||||
.friend-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.friend-option-label {
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.friend-option-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
.arrow-icon {
|
||||
margin-left: 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
/* 底部操作按钮 */
|
||||
.bottom-action {
|
||||
position: fixed;
|
||||
bottom: 100rpx;
|
||||
left: 30rpx;
|
||||
right: 30rpx;
|
||||
padding: 10rpx;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.complete-btn {
|
||||
width: 50%;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
background-image: linear-gradient(73deg, #EF6460, #EC42C8, #435CFF, #00D5FF);
|
||||
color: #ffffff;
|
||||
border-radius: 28rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
margin: 0 auto;
|
||||
letter-spacing: 12rpx;
|
||||
}
|
||||
|
||||
/* 部分可见详细设置 */
|
||||
.partial-visible-details {
|
||||
margin-top: 20rpx;
|
||||
padding-left: 90rpx; /* 与复选框对齐 */
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* 不给谁看详细设置 */
|
||||
.exclude-friends-details {
|
||||
margin-top: 20rpx;
|
||||
padding-left: 90rpx; /* 与复选框对齐 */
|
||||
padding-right: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.detail-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
padding: 20rpx 0;
|
||||
background-color: transparent;
|
||||
margin-bottom: 1px;
|
||||
margin-left: 20rpx
|
||||
}
|
||||
|
||||
.detail-title {
|
||||
flex-shrink: 0;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.detail-title-text {
|
||||
font-size: 32rpx;
|
||||
background: linear-gradient(90deg, #e90abb, #fbcb09);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
font-weight: bold;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.detail-value-text {
|
||||
font-size: 26rpx;
|
||||
color: #888888;
|
||||
line-height: 1.6;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
white-space: normal;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue