mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/user/employee-detail.wxss

427 lines
12 KiB
Plaintext

.artisan-detail-page {
background-color: #f5f5f5;
min-height: 100vh;
/* 底部电话咨询按钮 */
}
.artisan-detail-page .detail-scroll {
width: 95%;
padding: 20rpx;
/* 手艺人信息卡片 */
/* 评价部分 - 采用服务详情页样式 */
/* 作品部分 */
/* 加载状态 */
}
.artisan-detail-page .detail-scroll .artisan-info-card {
background-color: #fff;
border-radius: 20rpx;
padding: 30rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header {
display: flex;
align-items: flex-start;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-avatar-container {
margin-right: 30rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-avatar-container .artisan-avatar {
width: 150rpx;
height: 150rpx;
border-radius: 50%;
background-color: #f0f0f0;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info {
flex: 1;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .name-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .name-row .artisan-name {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 34rpx;
color: #333333;
line-height: 48rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .name-row .distance-section {
display: flex;
align-items: center;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .name-row .distance-section .distance-icon {
width: 20rpx;
height: 23rpx;
margin-right: 6rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .name-row .distance-section .distance-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 33rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .experience-row {
display: flex;
align-items: center;
margin-bottom: 15rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .experience-row .experience-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #000000;
line-height: 37rpx;
margin-right: 10rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .experience-row .experience-icon {
width: 68rpx;
height: 24rpx;
margin-right: 10rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .experience-row .vertical-divider {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #E9E9E9;
line-height: 37rpx;
border-radius: 1rpx;
margin: 0 10rpx;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .experience-row .join-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #999999;
line-height: 33rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .service-time-row {
display: flex;
align-items: center;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .service-time-row .service-time-label {
margin-right: 10rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #666666;
line-height: 37rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .artisan-info-card .artisan-header .artisan-info .service-time-row .service-time-value {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #666666;
line-height: 37rpx;
}
.artisan-detail-page .detail-scroll .comments-section {
background-color: #fff;
border-radius: 20rpx;
padding: 24rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
/* 模拟评论样式 */
}
.artisan-detail-page .detail-scroll .comments-section .section-title {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.artisan-detail-page .detail-scroll .comments-section .section-title .section-num {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .comments-section .section-title .look-all {
display: flex;
flex-flow: row nowrap;
justify-content: flex-end;
align-items: center;
}
.artisan-detail-page .detail-scroll .comments-section .section-title .look-all .look {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 33rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .comments-section .section-title .look-all .enter-icon {
width: 10rpx;
height: 19rpx;
margin-left: 8rpx;
margin-top: 2rpx;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item {
padding: 24rpx 0;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: flex-start;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item:last-child {
padding-bottom: 0rpx;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left {
flex: 1;
margin-right: 20rpx;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header {
display: flex;
align-items: center;
margin-bottom: 14rpx;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .user-avatar {
width: 64rpx;
height: 64rpx;
border-radius: 32rpx;
margin-right: 14rpx;
background-color: #f0f0f0;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .comment-user-info {
flex: 1;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .comment-user-info .user-name {
font-size: 28rpx;
color: #3D3D3D;
margin-bottom: 8rpx;
display: block;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .comment-user-info .user-two {
display: flex;
align-items: center;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .comment-user-info .user-two .comment-tab {
font-size: 20rpx;
color: #666666;
margin-right: 8rpx;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-header .comment-user-info .user-two .comment-type {
font-size: 20rpx;
color: #999999;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-left .comment-content {
font-size: 24rpx;
color: #333333;
line-height: 1.5;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-images {
width: 154rpx;
height: 154rpx;
background-color: #f0f0f0;
border-radius: 8rpx;
overflow: hidden;
}
.artisan-detail-page .detail-scroll .comments-section .comment-list .comment-item .comment-images .comment-image {
width: 100%;
height: 100%;
}
.artisan-detail-page .detail-scroll .comments-section .evaluation-list-container {
padding: 0;
}
.artisan-detail-page .detail-scroll .works-section {
background-color: #fff;
border-radius: 20rpx;
padding: 30rpx;
margin-bottom: 40rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.artisan-detail-page .detail-scroll .works-section .section-header {
margin-bottom: 20rpx;
}
.artisan-detail-page .detail-scroll .works-section .section-header .section-title {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
}
.artisan-detail-page .detail-scroll .works-section .works-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20rpx;
}
.artisan-detail-page .detail-scroll .works-section .works-grid .work-item .work-image {
border-radius: 20rpx;
width: 190rpx;
height: 257rpx;
background-color: #f0f0f0;
}
.artisan-detail-page .detail-scroll .works-section .empty-works {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60rpx 0;
}
.artisan-detail-page .detail-scroll .works-section .empty-works .empty-image {
width: 150rpx;
height: 150rpx;
margin-bottom: 20rpx;
}
.artisan-detail-page .detail-scroll .works-section .empty-works .empty-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #999999;
line-height: 37rpx;
}
.artisan-detail-page .detail-scroll .loading-status {
padding: 40rpx 0;
text-align: center;
}
.artisan-detail-page .detail-scroll .loading-status .loading-text {
font-size: 26rpx;
color: #999;
}
.artisan-detail-page .detail-scroll .loading-status .no-more-text {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 24rpx;
color: #CECECE;
line-height: 33rpx;
}
.artisan-detail-page .bottom-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 100rpx;
background-color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
padding: 30rpx 0rpx;
border-top: 1rpx solid rgba(0, 0, 0, 0.1);
}
.artisan-detail-page .bottom-bar .phone-consult-btn {
width: 448rpx;
height: 86rpx;
margin-left: 240rpx;
background: #E8101E;
border-radius: 43rpx;
display: flex;
align-items: center;
justify-content: center;
}
.artisan-detail-page .bottom-bar .phone-consult-btn .phone-icon {
width: 36rpx;
height: 36rpx;
margin-right: 15rpx;
}
.artisan-detail-page .bottom-bar .phone-consult-btn .phone-text {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 32rpx;
color: #FFFFFF;
line-height: 45rpx;
}
.album {
background: #fff;
border-radius: 20rpx;
}
.album .tab-bar {
display: flex;
justify-content: center;
margin-bottom: 2rpx;
padding: 10rpx 0;
border-bottom: 1rpx solid #f1f1f1;
}
.album .tab-bar .tab-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 15rpx 0;
position: relative;
}
.album .tab-bar .tab-item .tab-text {
font-weight: 400;
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
}
.album .tab-bar .tab-item .tab-underline {
width: 56rpx;
height: 6rpx;
background: #E8101E;
border-radius: 3rpx;
margin-top: 4rpx;
}
.album .tab-bar .tab-item.active .tab-text {
font-weight: 500;
}
.album .album-num {
font-weight: 500;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: left;
font-style: normal;
margin: 30rpx 20rpx 0 20rpx;
}
.album .album-content {
padding: 20rpx 20rpx;
}
.album .album-content .grid-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20rpx;
}
.album .album-content .grid-item {
width: 324rpx;
height: 324rpx;
}
.album .album-content .grid-img {
width: 324rpx;
height: 324rpx;
border-radius: 20rpx;
}
.album .album-content .video-item {
position: relative;
}
.album .album-content .video-item .play-icon {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 80rpx;
height: 80rpx;
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.album .album-content .video-item .play-icon image {
width: 40rpx;
height: 40rpx;
}
.evaluationList {
margin: 0 0 20rpx 0 !important;
}