first commit

This commit is contained in:
lingxiao865
2025-09-18 12:39:54 +08:00
parent b2e8461792
commit 6c6fe3d0d6
1898 changed files with 30918 additions and 0 deletions

229
pages/usercenter/index.wxss Normal file
View File

@@ -0,0 +1,229 @@
/* pages/usercenter/index.wxss */
.usercenter-container {
/* height: calc(100vh - 300rpx); */
background-color: #f8f8f8;
box-sizing: border-box !important;
}
/* 用户信息样式 */
.user-info {
display: flex;
align-items: center;
padding: 30rpx;
background-color: #fff;
margin-bottom: 20rpx;
position: relative;
}
.user-avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
margin-right: 20rpx;
}
.user-detail {
flex: 1;
}
.user-name {
font-size: 34rpx;
font-weight: bold;
color: #333;
margin-bottom: 6rpx;
}
.user-level {
font-size: 24rpx;
color: #FF9500;
background-color: #FFF5E5;
padding: 4rpx 12rpx;
border-radius: 20rpx;
display: inline-block;
margin-bottom: 6rpx;
}
.user-phone {
font-size: 26rpx;
color: #666;
}
.user-points {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #FF5F15;
color: #fff;
padding: 20rpx 30rpx;
border-radius: 12rpx;
position: absolute;
right: 30rpx;
}
.points-value {
font-size: 36rpx;
font-weight: bold;
}
.points-label {
font-size: 24rpx;
}
/* 通用区块样式 */
.section {
margin-bottom: 20rpx;
background-color: #fff;
padding: 30rpx;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.section-title {
font-size: 34rpx;
font-weight: bold;
color: #333;
position: relative;
padding-left: 20rpx;
}
.section-title::before {
content: '';
position: absolute;
left: 0;
top: 6rpx;
width: 8rpx;
height: 34rpx;
background-color: #FF5F15;
border-radius: 4rpx;
}
.section-more {
display: flex;
align-items: center;
font-size: 26rpx;
color: #999;
}
/* 预约列表样式 */
.appointment-list {
display: flex;
flex-direction: column;
}
.appointment-card {
padding: 30rpx 0;
border-bottom: 1rpx solid #f0f0f0;
}
.appointment-card:last-child {
border-bottom: none;
}
.appointment-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.appointment-service {
font-size: 30rpx;
font-weight: 500;
color: #333;
}
.appointment-status {
font-size: 24rpx;
color: #FF9500;
background-color: #FFF5E5;
padding: 6rpx 16rpx;
border-radius: 20rpx;
}
.appointment-status.confirmed {
color: #07C160;
background-color: #E8F8F0;
}
.appointment-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
font-size: 28rpx;
color: #666;
}
.appointment-time {
display: flex;
align-items: center;
}
.appointment-time text {
margin-left: 10rpx;
}
.appointment-price {
font-size: 32rpx;
color: #FF5F15;
font-weight: 500;
}
.appointment-actions {
display: flex;
justify-content: flex-end;
}
.appointment-actions t-button {
margin-left: 20rpx;
}
/* 功能网格样式 */
.function-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20rpx;
}
.function-item {
display: flex;
flex-direction: column;
align-items: center;
padding: 30rpx 0;
}
.function-name {
font-size: 26rpx;
color: #333;
margin-top: 16rpx;
}
/* 服务列表样式 */
.service-items {
display: flex;
flex-direction: column;
}
.service-item {
display: flex;
align-items: center;
padding: 30rpx 0;
border-bottom: 1rpx solid #f0f0f0;
}
.service-item:last-child {
border-bottom: none;
}
.service-name {
flex: 1;
font-size: 30rpx;
color: #333;
margin-left: 20rpx;
}