281 lines
4.7 KiB
Plaintext
281 lines
4.7 KiB
Plaintext
@import "../../uvue.wxss";
|
|
:host{display:flex;flex-direction:column}
|
|
/**
|
|
* 优艺家沙发翻新 - 全局样式变量
|
|
*/
|
|
/* ========== 项目主题色 ========== */
|
|
/* 辅助色 */
|
|
/* 文字颜色 */
|
|
/* 背景色 */
|
|
/* 边框颜色 */
|
|
/* 间距 */
|
|
/* 圆角 */
|
|
/* 阴影 */
|
|
/* ========== uni-app 内置变量 ========== */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
.page {
|
|
flex: 1;
|
|
background-color: #f5f5f5;
|
|
}
|
|
.page-scroll {
|
|
flex: 1;
|
|
}
|
|
|
|
/* 顶部横幅 */
|
|
.banner {
|
|
height: 280rpx;
|
|
background: linear-gradient(135deg, #D4A574 0%, #B8895A 100%);
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.banner-content {
|
|
align-items: center;
|
|
}
|
|
.banner-title {
|
|
font-size: 40rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.banner-desc {
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/* 通用section */
|
|
.section {
|
|
padding: 0 24rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
/* 服务类型 */
|
|
.service-grid {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
padding: 16rpx;
|
|
}
|
|
.service-item {
|
|
width: 50%;
|
|
padding: 24rpx;
|
|
align-items: center;
|
|
}
|
|
.service-icon-bg {
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
background-color: #FDF6EE;
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
.service-icon {
|
|
font-size: 48rpx;
|
|
}
|
|
.service-name {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333333;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
.service-desc {
|
|
font-size: 24rpx;
|
|
color: #909399;
|
|
}
|
|
|
|
/* 服务流程 */
|
|
.process-list {
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
padding: 32rpx;
|
|
}
|
|
.process-item {
|
|
flex-direction: row;
|
|
position: relative;
|
|
padding-bottom: 32rpx;
|
|
}
|
|
.process-step {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
background-color: #D4A574;
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 24rpx;
|
|
z-index: 1;
|
|
}
|
|
.step-num {
|
|
font-size: 24rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
}
|
|
.process-content {
|
|
flex: 1;
|
|
}
|
|
.process-title {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333333;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
.process-desc {
|
|
font-size: 26rpx;
|
|
color: #909399;
|
|
}
|
|
.process-line {
|
|
position: absolute;
|
|
left: 22rpx;
|
|
top: 56rpx;
|
|
width: 4rpx;
|
|
height: 60rpx;
|
|
background-color: #E8C9A8;
|
|
}
|
|
|
|
/* 材质说明 */
|
|
.material-list {
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
}
|
|
.material-item {
|
|
padding: 32rpx;
|
|
border-bottom-width: 1rpx;
|
|
border-bottom-style: solid;
|
|
border-bottom-color: #EBEEF5;
|
|
}
|
|
.material-item:last-child {
|
|
border-bottom-width: 0;
|
|
}
|
|
.material-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
.material-name {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333333;
|
|
}
|
|
.material-price {
|
|
font-size: 28rpx;
|
|
color: #D4A574;
|
|
font-weight: 600;
|
|
}
|
|
.material-desc {
|
|
font-size: 26rpx;
|
|
color: #606266;
|
|
margin-bottom: 16rpx;
|
|
line-height: 40rpx;
|
|
}
|
|
.material-tags {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
.material-tag {
|
|
font-size: 22rpx;
|
|
color: #D4A574;
|
|
background-color: #FDF6EE;
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 8rpx;
|
|
margin-right: 16rpx;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
/* 常见问题 */
|
|
.faq-list {
|
|
background-color: #ffffff;
|
|
border-radius: 16rpx;
|
|
}
|
|
.faq-item {
|
|
padding: 32rpx;
|
|
border-bottom-width: 1rpx;
|
|
border-bottom-style: solid;
|
|
border-bottom-color: #EBEEF5;
|
|
}
|
|
.faq-item:last-child {
|
|
border-bottom-width: 0;
|
|
}
|
|
.faq-header {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.faq-question {
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
color: #333333;
|
|
flex: 1;
|
|
}
|
|
.faq-arrow {
|
|
font-size: 36rpx;
|
|
color: #909399;
|
|
margin-left: 16rpx;
|
|
}
|
|
.faq-answer {
|
|
margin-top: 16rpx;
|
|
padding-top: 16rpx;
|
|
border-top-width: 1rpx;
|
|
border-top-style: dashed;
|
|
border-top-color: #EBEEF5;
|
|
}
|
|
.faq-answer-text {
|
|
font-size: 26rpx;
|
|
color: #606266;
|
|
line-height: 44rpx;
|
|
}
|
|
|
|
/* 底部间距 */
|
|
.bottom-space {
|
|
height: 160rpx;
|
|
}
|
|
|
|
/* 底部操作栏 */
|
|
.bottom-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 2;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
background-color: #ffffff;
|
|
padding: 20rpx 32rpx;
|
|
padding-bottom: 40rpx;
|
|
box-shadow: 0 -4rpx 16rpx rgba(0, 0, 0, 0.08);
|
|
}
|
|
.bar-info {
|
|
flex: 1;
|
|
}
|
|
.bar-title {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333333;
|
|
}
|
|
.bar-desc {
|
|
font-size: 24rpx;
|
|
color: #909399;
|
|
margin-top: 4rpx;
|
|
}
|
|
.bar-btn {
|
|
background-color: #D4A574;
|
|
padding: 24rpx 56rpx;
|
|
border-radius: 999rpx;
|
|
}
|
|
.bar-btn-text {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
} |