重构项目文件夹目录
This commit is contained in:
@@ -0,0 +1,257 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: #f8f5ef;
|
||||
color: #26231f;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
view,
|
||||
text,
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
picker,
|
||||
scroll-view {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-width: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
button::after {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
padding: 22rpx 24rpx 140rpx;
|
||||
background: #f8f5ef;
|
||||
}
|
||||
|
||||
.page.no-tab {
|
||||
padding-bottom: 196rpx;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 1rpx solid rgba(50, 43, 34, 0.06);
|
||||
border-radius: 12px;
|
||||
background: #fffdf8;
|
||||
box-shadow: 0 10rpx 28rpx rgba(58, 48, 34, 0.06);
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
margin: 4rpx 4rpx 16rpx;
|
||||
color: #4c4740;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: #9d968e;
|
||||
}
|
||||
|
||||
.tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 40rpx;
|
||||
padding: 0 16rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #f0ece5;
|
||||
color: #6d675f;
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.primary-btn,
|
||||
.secondary-btn,
|
||||
.text-btn,
|
||||
.danger-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-height: 76rpx;
|
||||
border-radius: 12px;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.primary-btn,
|
||||
.secondary-btn,
|
||||
.danger-btn {
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.primary-btn {
|
||||
background: #6f8f83;
|
||||
color: #fffdf8;
|
||||
box-shadow: 0 12rpx 24rpx rgba(111, 143, 131, 0.22);
|
||||
}
|
||||
|
||||
.secondary-btn {
|
||||
border: 1rpx solid #d8d1c8;
|
||||
background: #fffdf8;
|
||||
color: #514b44;
|
||||
}
|
||||
|
||||
.danger-btn {
|
||||
background: #d98d8d;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-btn {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
min-height: 56rpx;
|
||||
color: #6f8f83;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
.compact-btn,
|
||||
.small-action {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 112rpx;
|
||||
min-width: 112rpx;
|
||||
max-width: 112rpx;
|
||||
height: 56rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #e5eee9;
|
||||
color: #55786d;
|
||||
font-size: 24rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.small-action {
|
||||
width: 112rpx;
|
||||
min-width: 104rpx;
|
||||
max-width: 112rpx;
|
||||
height: 52rpx;
|
||||
background: #f0ece5;
|
||||
color: #5f5951;
|
||||
}
|
||||
|
||||
.icon-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 64rpx;
|
||||
min-width: 64rpx;
|
||||
max-width: 64rpx;
|
||||
height: 64rpx;
|
||||
min-height: 64rpx;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
background: #fffdf8;
|
||||
color: #4e4942;
|
||||
box-shadow: 0 6rpx 14rpx rgba(58, 48, 34, 0.05);
|
||||
}
|
||||
|
||||
.form-card {
|
||||
padding: 8rpx 24rpx;
|
||||
}
|
||||
|
||||
.field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 108rpx;
|
||||
border-bottom: 1rpx solid #eee8df;
|
||||
}
|
||||
|
||||
.field:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.field-label {
|
||||
width: 180rpx;
|
||||
color: #625c55;
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.field input,
|
||||
.field textarea,
|
||||
.field-value {
|
||||
flex: 1;
|
||||
color: #27231f;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
.field textarea {
|
||||
min-height: 140rpx;
|
||||
padding: 34rpx 0;
|
||||
}
|
||||
|
||||
.fixed-bottom {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
padding: 14rpx 24rpx calc(14rpx + env(safe-area-inset-bottom));
|
||||
background: rgba(248, 245, 239, 0.94);
|
||||
backdrop-filter: blur(18rpx);
|
||||
}
|
||||
|
||||
.fab {
|
||||
position: fixed;
|
||||
right: 28rpx;
|
||||
bottom: calc(100rpx + env(safe-area-inset-bottom));
|
||||
z-index: 18;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 84rpx;
|
||||
min-width: 84rpx;
|
||||
max-width: 84rpx;
|
||||
height: 84rpx;
|
||||
min-height: 84rpx;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
background: #6f8f83;
|
||||
color: #fff;
|
||||
font-size: 46rpx;
|
||||
font-weight: 300;
|
||||
line-height: 84rpx;
|
||||
box-shadow: 0 12rpx 26rpx rgba(111, 143, 131, 0.24);
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18rpx;
|
||||
}
|
||||
|
||||
.list-card {
|
||||
padding: 24rpx;
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 56rpx 24rpx;
|
||||
color: #a39b91;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user