356 lines
6.1 KiB
Plaintext
356 lines
6.1 KiB
Plaintext
|
|
page {
|
|
background-color: #fff;
|
|
padding-bottom: 40rpx;
|
|
}
|
|
.artisan-page {
|
|
/* min-height: 100vh; */
|
|
position: relative;
|
|
}
|
|
.artisan-page::before {
|
|
content: '';
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1200rpx !important;
|
|
background-image: url(/static/images/bg.png);
|
|
background-size: cover;
|
|
background-position: center top;
|
|
background-repeat: no-repeat;
|
|
z-index: 1;
|
|
}
|
|
.bg {
|
|
position: relative;
|
|
}
|
|
.bg::before {
|
|
content: '';
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 272rpx !important;
|
|
|
|
height: calc(272rpx + 25px) !important;
|
|
|
|
background-image: url(/static/images/bg.png);
|
|
background-size: cover;
|
|
background-position: center top;
|
|
background-repeat: no-repeat;
|
|
z-index: 999;
|
|
}
|
|
.profile-section,
|
|
.switch-section,
|
|
.order-types,
|
|
.order-list,
|
|
.nothings-box{
|
|
position: relative;
|
|
z-index: 99;
|
|
}
|
|
.profile-section {
|
|
position: fixed;
|
|
top: 88rpx;
|
|
left: 0;
|
|
right: 0;
|
|
height: 184rpx;
|
|
/* background-color: transparent; */
|
|
z-index: 999;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 24rpx;
|
|
}
|
|
.profile-info {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.avatar {
|
|
width: 96rpx;
|
|
height: 96rpx;
|
|
border-radius: 50rpx;
|
|
margin-right: 24rpx;
|
|
background-color: #333333;
|
|
border: 4rpx solid #FFFFFF;
|
|
}
|
|
.name {
|
|
font-size: 36rpx;
|
|
font-weight: 700;
|
|
color: #000000;
|
|
}
|
|
.welcome {
|
|
font-size: 24rpx;
|
|
color: #000000;
|
|
}
|
|
.center-text {
|
|
color: #000000;
|
|
font-size: 28rpx;
|
|
}
|
|
.switch-section {
|
|
margin: 184rpx 24rpx 32rpx;
|
|
height: 80rpx;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
background-color: #F7EFF2;
|
|
border-radius: 40rpx;
|
|
padding: 0 32rpx;
|
|
box-shadow: 0 4rpx 16rpx 0 rgba(210, 213, 224, 0.50);
|
|
}
|
|
.switch-box {
|
|
/* width: 126rpx; */
|
|
height: 52rpx;
|
|
line-height: 52rpx;
|
|
border-radius: 26rpx;
|
|
background-color: #31BD54;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 6rpx;
|
|
}
|
|
.switch-text {
|
|
font-size: 28rpx;
|
|
color: #FFFFFF;
|
|
}
|
|
.switch-yuan {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
border-radius: 20rpx;
|
|
background-color: #fff;
|
|
margin-left: 4rpx;
|
|
}
|
|
.switch-box.disswitch {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
.switch-box.disswitch .switch-yuan {
|
|
margin-left: 0;
|
|
margin-right: 4rpx;
|
|
}
|
|
.switch-tip {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.competition-section {
|
|
margin: 24rpx;
|
|
background-color: #FFFFFF;
|
|
border-radius: 12rpx;
|
|
padding: 24rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.comp-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.trophy-icon {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
margin-right: 16rpx;
|
|
}
|
|
.comp-right {
|
|
display: flex;
|
|
align-items: center;
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
}
|
|
.arrow-icon {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
margin-left: 8rpx;
|
|
}
|
|
.statistics-section {
|
|
margin: 24rpx;
|
|
background-color: #FFFFFF;
|
|
border-radius: 12rpx;
|
|
padding: 24rpx;
|
|
}
|
|
.stat-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
.stat-title {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
}
|
|
.time-filter {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
}
|
|
.time-filter text {
|
|
margin-left: 24rpx;
|
|
}
|
|
.time-filter .active {
|
|
color: #E8101E;
|
|
}
|
|
.chart-container {
|
|
height: 400rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
.order-types {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
gap: 22rpx;
|
|
margin: 32rpx 24rpx 24rpx;
|
|
}
|
|
.order-type-item {
|
|
width: 214rpx;
|
|
height: 56rpx;
|
|
background-color: #FFFFFF;
|
|
border: 1rpx solid #E8101E;
|
|
border-radius: 8rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
.type-name {
|
|
font-size: 24rpx;
|
|
color: #E8101E;
|
|
}
|
|
.type-count {
|
|
display: block;
|
|
position: absolute;
|
|
top: -12rpx;
|
|
right: -12rpx;
|
|
font-size: 24rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
text-align: center;
|
|
line-height: 28rpx;
|
|
border-radius: 16rpx;
|
|
border: 2rpx solid #fff;
|
|
box-sizing: border-box;
|
|
background-color: #F53F3F;
|
|
}
|
|
.order-type-item.active {
|
|
background-color: #E8101E;
|
|
}
|
|
.order-type-item.active .type-name {
|
|
color: #FFFFFF;
|
|
font-weight: 500;
|
|
}
|
|
.order-list {
|
|
margin: 24rpx;
|
|
}
|
|
.order-item {
|
|
background-color: #FFFFFF;
|
|
border-radius: 16rpx;
|
|
padding: 32rpx;
|
|
margin-bottom: 24rpx;
|
|
box-shadow: 0 8rpx 16rpx 0 rgba(210, 213, 224, 0.50);
|
|
}
|
|
.order-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
.service-name {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
flex: 1;
|
|
}
|
|
.order-info {
|
|
margin-bottom: 32rpx;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
.address,
|
|
.service-time,
|
|
.order-number {
|
|
flex: 1;
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.order-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.order-actions {
|
|
padding-top: 32rpx;
|
|
border-top: 1rpx solid rgba(0, 0, 0, 0.05);
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 24rpx;
|
|
}
|
|
.action-btn {
|
|
/* width: 96rpx;
|
|
height: 40rpx; */
|
|
padding: 8rpx 12rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 6rpx;
|
|
}
|
|
.action-btn.cancel,
|
|
.action-btn.confirm{
|
|
border: 1rpx solid rgba(51, 51, 51, 0.12);
|
|
box-sizing: border-box;
|
|
}
|
|
.action-btn.cancel .action-text,
|
|
.action-btn.confirm .action-text{
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
font-weight: 400;
|
|
}
|
|
.action-btn.verify {
|
|
border: 1rpx solid rgba(252, 67, 124, 0.12);
|
|
box-sizing: border-box;
|
|
}
|
|
.action-btn.verify .action-text {
|
|
font-size: 28rpx;
|
|
color: #E8101E;
|
|
}
|
|
.nothings-box {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 280rpx 0 0;
|
|
}
|
|
.nothings-text {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #999999;
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|
|
/* APP适配 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 小程序适配 */
|
|
.nav-bar {
|
|
padding-top: constant(safe-area-inset-top);
|
|
padding-top: env(safe-area-inset-top);
|
|
}
|
|
.profile-section {
|
|
top: calc(25px + 88rpx);
|
|
}
|
|
|
|
|