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

492 lines
14 KiB
Plaintext

.detail-page {
padding-bottom: 200rpx;
/* 主图区域 */
/* 手艺人展示板块(只有有手艺人时才显示) */
}
.detail-page .main-image-section {
position: relative;
width: 750rpx;
height: 602rpx;
background-color: #999;
}
.detail-page .main-image-section .banner-swiper {
width: 750rpx;
height: 602rpx;
position: relative;
}
.detail-page .main-image-section .banner-swiper .banner-image {
width: 750rpx;
height: 602rpx;
}
.detail-page .main-image-section .banner-swiper .album {
position: absolute;
bottom: 25rpx;
left: 20rpx;
height: 44rpx;
width: 184rpx;
background: rgba(0, 0, 0, 0.4);
border-radius: 23rpx;
}
.detail-page .main-image-section .banner-swiper .album .album-left {
width: 73rpx;
height: 44rpx;
background: #FFFFFF;
border-radius: 23rpx;
display: flex;
align-items: center;
justify-content: center;
line-height: 40rpx;
font-weight: 400;
font-size: 22rpx;
text-align: center;
color: #333333;
}
.detail-page .main-image-section .banner-swiper .album .album-line {
width: 2rpx;
height: 20rpx;
background: #A09C9E;
border-radius: 1rpx;
margin: 0 18rpx;
}
.detail-page .main-image-section .banner-swiper .album .album-right {
height: 44rpx;
}
.detail-page .main-image-section .banner-swiper .album .album-right .album-right-text {
-webkit-transform: translateY(-4rpx);
transform: translateY(-4rpx);
font-weight: 400;
font-size: 22rpx;
text-align: center;
color: #FFFFFF;
}
.detail-page .main-image-section .banner-swiper .album .album-right .album-right-img {
width: 8rpx;
height: 16rpx;
padding-left: 8rpx;
}
.detail-page .detail-info {
margin-top: 20rpx;
padding: 0 20rpx;
position: relative;
/* 卡片外的切换标签样式(无背景) */
}
.detail-page .detail-info .detail-info-user {
padding: 20rpx 26rpx 20rpx 30rpx;
background: #ffffff;
border-radius: 20rpx;
/* 营业执照选项 */
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard {
display: flex;
flex-wrap: nowrap;
align-items: center;
position: relative;
/* 联系客服按钮 */
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__photo {
width: 122rpx;
height: 122rpx;
margin-right: 17rpx;
border-radius: 10rpx;
flex-shrink: 0;
/* 防止头像被压缩 */
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__name {
margin-bottom: 15rpx;
display: flex;
flex-direction: column;
align-items: flex-start;
flex: 1;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__name__text {
margin-bottom: 10rpx;
font-weight: 500;
font-size: 42rpx;
color: #333333;
text-align: left;
font-style: normal;
width: 100%;
overflow: hidden;
white-space: wrap;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__name__sales {
display: flex;
align-items: center;
justify-content: flex-start;
flex-wrap: nowrap;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__name__sales__text1 {
font-weight: 400;
font-size: 22rpx;
color: #aaaaaa;
line-height: 30rpx;
text-align: left;
font-style: normal;
display: inline-flex;
align-items: center;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard__name__sales__text2 {
margin-left: 11rpx;
margin-right: 2rpx;
margin-bottom: 2rpx;
font-family: DINPro, DINPro;
font-weight: bold;
font-size: 25rpx;
color: #666666;
line-height: 30rpx;
text-align: left;
font-style: normal;
display: inline-flex;
align-items: center;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard .contact-customer-btn {
width: 114rpx;
height: 89rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 20rpx;
border: #D9DBDB 1rpx solid;
background: linear-gradient(180deg, #FAF9F9 0%, #FFFFFF 100%);
margin-left: 20rpx;
flex-shrink: 0;
padding: 5rpx;
transition: all 0.2s ease;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard .contact-customer-btn .contact-customer-icon {
width: 36rpx;
height: 34rpx;
margin-bottom: 8rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard .contact-customer-btn text {
font-size: 20rpx;
color: #666666;
font-weight: 400;
}
.detail-page .detail-info .detail-info-user .detail-info-user__heard .contact-customer-btn:active {
-webkit-transform: scale(0.99);
transform: scale(0.99);
box-shadow: inset 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
/* 内阴影,凹陷效果 */
}
.detail-page .detail-info .detail-info-user .detail-info-user__time {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 31rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__time__left {
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: left;
font-style: normal;
}
.detail-page .detail-info .detail-info-user .detail-info-user__time__left__text1 {
font-weight: 600;
}
.detail-page .detail-info .detail-info-user .detail-info-user__time__left__text2 {
margin-left: 8rpx;
font-weight: 500;
font-family: DINPro, DINPro;
}
.detail-page .detail-info .detail-info-user .detail-info-user__time__right {
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 33rpx;
text-align: left;
font-style: normal;
}
.detail-page .detail-info .detail-info-user .detail-info-user__time__right__img {
width: 11rpx;
height: 20rpx;
margin-left: 12rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__tabs {
margin-top: 16rpx;
padding-bottom: 23rpx;
border-bottom: 2rpx solid #f5f3f3;
display: flex;
gap: 20rpx;
flex-wrap: wrap;
/* 允许标签按行换行排列 */
}
.detail-page .detail-info .detail-info-user .detail-info-user__tabs__tab {
flex-shrink: 0;
/* 禁止子项被压缩换行 */
background: #f5f5f5;
border-radius: 8rpx;
padding: 0 8rpx;
font-weight: 400;
font-size: 20rpx;
color: #666666;
line-height: 28rpx;
text-align: left;
font-style: normal;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect {
margin-top: 20rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row:last-child {
margin-bottom: 0;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row.address-row {
align-items: flex-start;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .address-section {
flex: 1;
margin-right: 20rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .address-section .address-content {
display: flex;
align-items: center;
font-weight: 500;
font-size: 24rpx;
color: #333333;
line-height: 33rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .address-section .address-content .address-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .address-section .address-content .address-arrow {
width: 11rpx;
height: 20rpx;
margin-left: 10rpx;
flex-shrink: 0;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .distance-section {
flex-shrink: 0;
font-weight: bold;
font-size: 24rpx;
color: #999999;
line-height: 28rpx;
text-align: right;
display: flex;
align-items: center;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .distance-section .address-icon {
width: 20rpx;
height: 23rpx;
margin-top: 2rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .distance-section .distance-value {
font-family: "DINPro";
margin-left: 6rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .phone-section {
flex: 1;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .phone-section .phone-content {
display: flex;
align-items: center;
font-weight: 400;
font-size: 24rpx;
color: #333333;
line-height: 33rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .phone-section .phone-content .phone-label {
margin-right: 6rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .phone-section .phone-content .phone-number {
margin-right: 10rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .phone-section .phone-content .phone-arrow {
width: 11rpx;
height: 20rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .icon-section {
display: flex;
align-items: center;
flex-shrink: 0;
}
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .icon-section .nav-icon,
.detail-page .detail-info .detail-info-user .detail-info-user__connect .connect-row .icon-section .phone-icon {
width: 43rpx;
height: 43rpx;
margin-left: 40rpx;
}
.detail-page .detail-info .detail-info-user .detail-info-user__banner {
width: 100%;
margin-top: 30rpx;
}
.detail-page .detail-info .detail-info-user .business-license-section {
display: flex;
align-items: center;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-icon {
width: 32rpx;
height: 26rpx;
margin-right: 15rpx;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-info {
flex: 1;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-info .license-title {
font-size: 28rpx;
color: #333333;
font-weight: 500;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-view {
display: flex;
align-items: center;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-view text {
font-size: 24rpx;
color: #666666;
}
.detail-page .detail-info .detail-info-user .business-license-section .license-view .license-arrow {
width: 11rpx;
height: 20rpx;
margin-left: 10rpx;
}
.detail-page .detail-info .shop-tabs-outside {
display: flex;
margin: 20rpx 0rpx 0 0;
}
.detail-page .detail-info .shop-tabs-outside .shop-tab-outside {
font-size: 30rpx;
line-height: 42rpx;
color: #333;
margin-right: 50rpx;
padding: 20rpx 10rpx;
position: relative;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.detail-page .detail-info .shop-tabs-outside .shop-tab-outside.active {
color: #E8101E;
}
.detail-page .detail-info .detail-info-shop {
padding: 20rpx;
background: #ffffff;
border-radius: 20rpx;
margin-top: 10rpx;
/* 卡片内的标签样式(有背景) */
}
.detail-page .detail-info .detail-info-shop .shop-tabs-inside {
margin-bottom: 20rpx;
}
.detail-page .detail-info .detail-info-shop .shop-tabs-inside .shop-tab-inside {
font-size: 34rpx;
font-weight: 500;
padding: 10rpx 0;
}
.detail-page .detail-info .detail-info-shop .detail-info-shop-title {
width: 136rpx;
height: 48rpx;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 34rpx;
color: #333333;
line-height: 48rpx;
text-align: left;
font-style: normal;
}
.detail-page .artisan-showcase-section {
background: #ffffff;
border-radius: 20rpx;
margin: 20rpx 20rpx 0rpx;
padding: 20rpx;
}
.detail-page .artisan-showcase-section .showcase-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30rpx;
}
.detail-page .artisan-showcase-section .showcase-header .showcase-title {
font-size: 28rpx;
color: #333333;
font-weight: 500;
}
.detail-page .artisan-showcase-section .showcase-header .view-all-btn {
display: flex;
align-items: center;
}
.detail-page .artisan-showcase-section .showcase-header .view-all-btn text {
font-size: 24rpx;
color: #666666;
}
.detail-page .artisan-showcase-section .showcase-header .view-all-btn .view-all-arrow {
width: 11rpx;
height: 20rpx;
margin-left: 10rpx;
}
.detail-page .artisan-showcase-section .showcase-scroll {
white-space: nowrap;
width: 100%;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list {
display: inline-flex;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item {
display: inline-flex;
flex-direction: column;
align-items: center;
margin-right: 35rpx;
white-space: normal;
width: 198rpx;
flex-shrink: 0;
position: relative;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item:last-child {
margin-right: 0;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item .showcase-avatar {
width: 198rpx;
height: 200rpx;
background: #D8D8D8;
border-radius: 20rpx;
margin-bottom: 20rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item .showcase-name {
font-size: 28rpx;
color: #333333;
font-weight: 500;
text-align: center;
line-height: 33rpx;
margin-bottom: 8rpx;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item .showcase-experience {
font-size: 22rpx;
color: #666666;
text-align: center;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-bottom: 5rpx;
}
.detail-page .artisan-showcase-section .showcase-scroll .showcase-list .showcase-item .showcase-tag {
font-size: 20rpx;
color: #E8101E;
background: rgba(232, 16, 30, 0.1);
border-radius: 15rpx;
padding: 4rpx 12rpx;
text-align: center;
width: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.list-container {
padding: 0;
}