Files
JayuCloud/JC-Salon-WeChat/app.wxss
T
xiaowang 60d9bba61a 小程序页面视觉对齐二期:预约图片轮播、订单数据预览、微信用户关联与请假管理
新增预约详情作品图片轮播字段与组装;新增订单预览与未关联微信用户候选接口;补齐请假记录查询接口;订单数据预览改为四列;请假管理接入真实排班例外并支持新增;日程、我的、美甲师详情与改派选择器按设计稿微调;注册结果页与申请提交时间对齐设计稿。
2026-11-06 14:34:02 +08:00

271 lines
4.4 KiB
Plaintext

page {
min-height: 100%;
--theme-primary: #247b63;
--theme-primary-soft: #e5f4ed;
--theme-page-bg: #f3f7f4;
--theme-card-bg: #ffffff;
--theme-border: #e7ece9;
--text-primary: #17211f;
--text-secondary: #71807a;
background: var(--theme-page-bg);
color: var(--text-primary);
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: var(--theme-page-bg);
}
.page.no-tab {
padding-bottom: 196rpx;
}
.card {
border: 1rpx solid var(--theme-border);
border-radius: 12px;
background: var(--theme-card-bg);
box-shadow: 0 10rpx 28rpx rgba(23, 33, 31, 0.06);
}
.section {
margin-top: 20rpx;
}
.section-title {
margin: 4rpx 4rpx 16rpx;
color: var(--text-primary);
font-size: 28rpx;
font-weight: 700;
}
.row {
display: flex;
align-items: center;
}
.between {
justify-content: space-between;
}
.muted {
color: var(--text-secondary);
}
.tag {
display: inline-flex;
align-items: center;
min-height: 40rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: var(--theme-primary-soft);
color: var(--text-secondary);
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: var(--theme-primary);
color: #ffffff;
box-shadow: 0 12rpx 24rpx rgba(36, 123, 99, 0.22);
}
.secondary-btn {
border: 1rpx solid var(--theme-border);
background: var(--theme-card-bg);
color: var(--text-primary);
}
.danger-btn {
background: #d98d8d;
color: #fff;
}
.text-btn {
width: auto;
min-width: 0;
max-width: none;
min-height: 56rpx;
color: var(--theme-primary);
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: var(--theme-primary-soft);
color: var(--theme-primary);
font-size: 24rpx;
font-weight: 800;
}
.small-action {
width: 112rpx;
min-width: 104rpx;
max-width: 112rpx;
height: 52rpx;
background: var(--theme-primary-soft);
color: var(--text-secondary);
}
.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: var(--theme-card-bg);
color: var(--text-primary);
box-shadow: 0 6rpx 14rpx rgba(23, 33, 31, 0.05);
}
.form-card {
padding: 8rpx 24rpx;
}
.field {
display: flex;
align-items: center;
min-height: 112rpx;
border-bottom: 1rpx solid var(--theme-border);
}
.field:last-child {
border-bottom: 0;
}
.field-label {
width: 180rpx;
color: var(--text-secondary);
font-size: 26rpx;
font-weight: 600;
}
.field-label.required::after,
.required-label::after {
content: " *";
color: #e98669;
font-weight: 900;
}
.field input,
.field textarea,
.field-value {
flex: 1;
color: var(--text-primary);
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: var(--theme-page-bg);
}
.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: var(--theme-primary);
color: #fff;
font-size: 46rpx;
font-weight: 300;
line-height: 84rpx;
box-shadow: 0 12rpx 26rpx rgba(36, 123, 99, 0.24);
}
.list {
display: flex;
flex-direction: column;
gap: 18rpx;
}
.list-card {
padding: 24rpx;
}
.empty {
padding: 56rpx 24rpx;
color: #a39b91;
text-align: center;
}