|
|
|
|
/* pages/user/user.wxss */
|
|
|
|
|
page {
|
|
|
|
|
background: #F7F7F7;
|
|
|
|
|
padding-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg {
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 顶部背景区域 */
|
|
|
|
|
.top-background {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 480rpx; /* 对应 H5 的 6.5rem 左右 */
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 顶部遮罩 */
|
|
|
|
|
.top-background::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: rgba(0,0,0,0.25);
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 用户信息 */
|
|
|
|
|
.user-top-new {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 150rpx; /* 根据导航栏高度调整 */
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
z-index: 3;
|
|
|
|
|
padding: 0 40rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.avatar-box {
|
|
|
|
|
width: 135rpx;
|
|
|
|
|
height: 135rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
border: 4rpx solid rgba(255,255,255,0.9);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-right: 30rpx;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headimg {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info-text {
|
|
|
|
|
flex: 1;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.name-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nickname {
|
|
|
|
|
font-size: 37rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
margin-right: 15rpx;
|
|
|
|
|
max-width: 350rpx;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.gender-icon {
|
|
|
|
|
width: 34rpx;
|
|
|
|
|
height: 34rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.id-row {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.arrow-right {
|
|
|
|
|
padding: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 主容器 */
|
|
|
|
|
.main-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-top: -80rpx;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
padding: 20rpx 30rpx;
|
|
|
|
|
background: #f7f7f7;
|
|
|
|
|
border-radius: 33rpx 33rpx 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 卡片通用样式 */
|
|
|
|
|
.card-box {
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
padding: 30rpx 20rpx;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
box-shadow: 0 2rpx 10rpx rgba(0,0,0,0.02);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 标题 */
|
|
|
|
|
.title {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.main-title {
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sub-title {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 订单部分 */
|
|
|
|
|
.order-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.order-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 20%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.order-item image {
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.order-item text {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.total {
|
|
|
|
|
position: absolute;
|
|
|
|
|
min-width: 36rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
background: linear-gradient(0deg, #FF8826, #FF2726);
|
|
|
|
|
border-radius: 18rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
right: 10rpx;
|
|
|
|
|
top: -10rpx;
|
|
|
|
|
padding: 0 6rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 待付款轮播 */
|
|
|
|
|
.pay-swiper-box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 200rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.swiper {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dfkBox {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
background: #F9F9F9;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.prod-img {
|
|
|
|
|
width: 220rpx;
|
|
|
|
|
height: 160rpx;
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.contentBox {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-text {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time-text {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.orderBtn {
|
|
|
|
|
width: 150rpx;
|
|
|
|
|
height: 52rpx;
|
|
|
|
|
background: #FB6E4D;
|
|
|
|
|
border-radius: 26rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 52rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
align-self: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 团购订单行 */
|
|
|
|
|
.group-order-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 30rpx 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-order-row .left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-icon {
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
margin-left: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 常用功能 */
|
|
|
|
|
.section-box {
|
|
|
|
|
padding: 20rpx 20rpx 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #333;
|
|
|
|
|
margin: 10rpx 0 20rpx 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.common-func-grid {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
padding-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.func-item {
|
|
|
|
|
width: 315rpx;
|
|
|
|
|
height: 110rpx;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 更多服务 */
|
|
|
|
|
.more-service-grid {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
padding-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.service-item {
|
|
|
|
|
width: 25%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.service-icon {
|
|
|
|
|
width: 50rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
margin-bottom: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.service-name {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
text-align: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 底部文字 */
|
|
|
|
|
.bottom-intro {
|
|
|
|
|
padding: 40rpx 0;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
}
|