519 lines
7.9 KiB
Plaintext
519 lines
7.9 KiB
Plaintext
|
|
view,
|
|
label,
|
|
swiper-item,
|
|
scroll-view {
|
|
display:flex;
|
|
flex-direction:column;
|
|
flex-shrink: 0;
|
|
flex-grow: 0;
|
|
flex-basis: auto;
|
|
align-items: stretch;
|
|
align-content: flex-start;
|
|
}
|
|
view,
|
|
image,
|
|
input,
|
|
scroll-view,
|
|
swiper,
|
|
swiper-item,
|
|
text,
|
|
textarea,
|
|
video {
|
|
position: relative;
|
|
border: 0px solid #000000;
|
|
box-sizing: border-box;
|
|
}
|
|
swiper-item {
|
|
position: absolute;
|
|
}
|
|
button {
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
.detail-page {
|
|
padding-bottom: 120rpx;
|
|
}
|
|
|
|
/* 主图区域 */
|
|
.main-image-section {
|
|
position: relative;
|
|
width: 750rpx;
|
|
height: 750rpx;
|
|
background-color: #999;
|
|
}
|
|
.banner-swiper {
|
|
width: 750rpx;
|
|
height: 750rpx;
|
|
}
|
|
.banner-image {
|
|
width: 750rpx;
|
|
height: 750rpx;
|
|
}
|
|
.banner-tag {
|
|
font-size: 20rpx;
|
|
font-weight: 500;
|
|
color: #FFFFFF;
|
|
padding: 6rpx 12rpx;
|
|
background-color: rgba(0, 0, 0, 0.40);
|
|
position: absolute;
|
|
border-radius: 20rpx;
|
|
right: 26rpx;
|
|
bottom: 28rpx;
|
|
}
|
|
|
|
/* 服务信息 */
|
|
.user-choice,
|
|
.comments-section,
|
|
.notice-section {
|
|
background-color: #fff;
|
|
padding: 24rpx;
|
|
box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.05);
|
|
margin: 0 24rpx 24rpx;
|
|
border-radius: 16rpx;
|
|
}
|
|
.service-info {
|
|
margin: 20rpx 24rpx;
|
|
background-color: #fff;
|
|
box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.05);
|
|
padding-top: 24rpx;
|
|
border-radius: 16rpx;
|
|
}
|
|
.service-price {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin-bottom: 18rpx;
|
|
padding: 0 24rpx;
|
|
}
|
|
.price-symbol {
|
|
font-size: 24rpx;
|
|
color: #E8101E;
|
|
font-weight: 500;
|
|
margin-right: 2rpx;
|
|
}
|
|
.price-value {
|
|
font-size: 32rpx;
|
|
color: #E8101E;
|
|
font-weight: 500;
|
|
}
|
|
.service-title {
|
|
margin-bottom: 16rpx;
|
|
padding: 0 24rpx;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
}
|
|
.service-type {
|
|
font-size: 24rpx;
|
|
color: #FFFFFF;
|
|
background-color: #FF94B4;
|
|
padding: 2rpx 10rpx;
|
|
border-radius: 14rpx;
|
|
margin-right: 12rpx;
|
|
}
|
|
.title-text {
|
|
flex: 1;
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
font-weight: 500;
|
|
}
|
|
.service-tabs {
|
|
display: flex;
|
|
}
|
|
.tab-item {
|
|
height: 24rpx;
|
|
line-height: 24rpx;
|
|
font-size: 16rpx;
|
|
color: #999999;
|
|
background-color: #FFF2F2;
|
|
padding: 0 8rpx;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
/* 到家地址以及可预约时间 */
|
|
.choice-item {
|
|
height: 90rpx;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.choice-tit {
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
margin-right: 16rpx;
|
|
}
|
|
.choice-cont {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.address-left {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
}
|
|
.choice-text {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.address-icon {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
margin-right: 8rpx;
|
|
}
|
|
.enter-icon {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
margin-left: 8rpx;
|
|
}
|
|
|
|
/* 手艺人区域 */
|
|
.service-syr {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 0 24rpx 24rpx;
|
|
background-color: #fff;
|
|
box-shadow: rgba(0, 0, 0, 0.05);
|
|
padding: 24rpx;
|
|
}
|
|
.syr-head {
|
|
width: 104rpx;
|
|
height: 104rpx;
|
|
border-radius: 54rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
.syr-info {
|
|
flex: 1;
|
|
}
|
|
.syr-name {
|
|
font-size: 28rpx;
|
|
color: #3D3D3D;
|
|
}
|
|
.look-btn {
|
|
width: 130rpx;
|
|
height: 56rpx;
|
|
border: 1rpx solid #E8101E;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-radius: 28rpx;
|
|
}
|
|
.look-text {
|
|
font-size: 28rpx;
|
|
color: #E8101E;
|
|
}
|
|
|
|
/* 评论区域 */
|
|
.section-title {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.section-num {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #3D3D3D;
|
|
}
|
|
.look-all {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
.look {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.comment-item {
|
|
padding: 24rpx 0;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.comment-item:last-child {
|
|
padding-bottom: 0rpx;
|
|
}
|
|
.comment-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 14rpx;
|
|
}
|
|
.user-avatar {
|
|
width: 64rpx;
|
|
height: 64rpx;
|
|
border-radius: 32rpx;
|
|
margin-right: 14rpx;
|
|
background-color: #000;
|
|
}
|
|
.comment-user-info {
|
|
flex: 1;
|
|
}
|
|
.user-name {
|
|
font-size: 28rpx;
|
|
color: #3D3D3D;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.comment-tab {
|
|
font-size: 16rpx;
|
|
padding: 0 8rpx;
|
|
border-radius: 12rpx;
|
|
color: #E8101E;
|
|
background-color: rgba(255, 148, 180, 0.50);
|
|
margin-right: 8rpx;
|
|
}
|
|
.comment-type {
|
|
font-size: 20rpx;
|
|
color: #999999;
|
|
}
|
|
.comment-content {
|
|
font-size: 22rpx;
|
|
color: #333333;
|
|
line-height: 1.5;
|
|
}
|
|
.comment-images {
|
|
width: 154rpx;
|
|
height: 154rpx;
|
|
background-color: #000;
|
|
margin-left: 56rpx;
|
|
}
|
|
.comment-image {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
/* 购买须知 */
|
|
.section-tit {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #3D3D3D;
|
|
}
|
|
.section-tit-right {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
.rule-text {
|
|
font-size: 28rpx;
|
|
color: #D10F13;
|
|
}
|
|
.notice-item {
|
|
margin-bottom: 24rpx;
|
|
}
|
|
.notice-title {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
.notice-content {
|
|
margin-top: 32rpx;
|
|
}
|
|
.notice-cont {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.notice-cont:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.notice-text {
|
|
flex: 1;
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
}
|
|
|
|
/* 底部按钮 */
|
|
.bottom-bar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 104rpx;
|
|
background-color: #FFFFFF;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
/* padding-bottom: env(safe-area-inset-bottom); */
|
|
border-top: 1rpx solid rgba(0, 0, 0, 0.10);
|
|
padding: 0 38rpx;
|
|
}
|
|
.lianxi {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.lianxi-text {
|
|
font-size: 16rpx;
|
|
color: #666666;
|
|
}
|
|
.lianxi-icon {
|
|
width: 34rpx;
|
|
height: 34rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.submit-btn {
|
|
width: 410rpx;
|
|
height: 64rpx;
|
|
background: #E8101E;
|
|
border-radius: 32rpx;
|
|
color: #FFFFFF;
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 146rpx;
|
|
}
|
|
.cannot-submit {
|
|
background-color: #999999;
|
|
}
|
|
.service-shop {}
|
|
.shop-info {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding: 0 24rpx 16rpx;
|
|
border-bottom: 1rpx solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
.shop-logo {
|
|
width: 112rpx;
|
|
height: 136rpx;
|
|
background-color: #000;
|
|
margin-right: 20rpx;
|
|
}
|
|
.shop-info-you {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-flow: column wrap;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
.shop-name {
|
|
font-size: 28rpx;
|
|
color: #3D3D3D;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
.shop-class-w {
|
|
width: 480rpx;
|
|
}
|
|
.shop-class {
|
|
margin-bottom: 8rpx;
|
|
}
|
|
.shop-class,
|
|
.shop-time {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.shop-cont {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16rpx 24rpx;
|
|
}
|
|
.shop-cont-left {
|
|
display: flex;
|
|
flex-flow: column wrap;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
.shop-cont-right {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
.shop-address,
|
|
.shop-tell {
|
|
width: 450rpx;
|
|
font-size: 24rpx;
|
|
color: #333333;
|
|
}
|
|
.shop-distance {
|
|
font-size: 24rpx;
|
|
color: #666666;
|
|
}
|
|
.shop-headle {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
margin-left: 60rpx;
|
|
}
|
|
.video-controls {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 100rpx;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
z-index: 3;
|
|
}
|
|
.control-btn {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 30rpx;
|
|
margin: 0 20rpx;
|
|
}
|
|
.control-icon {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
|
|
/* H5适配 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* APP适配 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 小程序适配 */
|
|
.custom-navbar {
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
|
|
}
|
|
|
|
|
|
|