224 lines
3.5 KiB
Plaintext
224 lines
3.5 KiB
Plaintext
/* 基础样式 */
|
|
page {
|
|
background-color: #f8f8f8;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
.help-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* 导航栏样式 */
|
|
.nav-bar {
|
|
height: 120rpx;
|
|
background-color: #51bdb6;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 36rpx;
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 搜索框样式 */
|
|
.search-box {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #fff;
|
|
border-radius: 60rpx;
|
|
padding: 0 30rpx;
|
|
margin: 20rpx 30rpx;
|
|
height: 80rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.search-icon {
|
|
margin-right: 15rpx;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
height: 100%;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: #ccc;
|
|
}
|
|
|
|
/* 分类导航样式 */
|
|
.categories {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background-color: #fff;
|
|
padding: 25rpx 0;
|
|
margin-bottom: 20rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.category-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 120rpx;
|
|
}
|
|
|
|
.category-icon {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
border-radius: 50%;
|
|
background-color: #f0f7f7;
|
|
margin-bottom: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.category-item.active .category-icon {
|
|
background-color: #51bdb6;
|
|
}
|
|
|
|
.category-name {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.category-item.active .category-name {
|
|
color: #51bdb6;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 常见问题列表样式 */
|
|
.faq-list {
|
|
flex: 1;
|
|
padding: 0 30rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
margin-bottom: 20rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.faq-item {
|
|
background-color: #fff;
|
|
border-radius: 16rpx;
|
|
margin-bottom: 15rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
|
|
}
|
|
|
|
.faq-question {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 30rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.question-text {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
line-height: 1.5;
|
|
flex: 1;
|
|
padding-right: 20rpx;
|
|
}
|
|
|
|
.faq-arrow {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.faq-arrow.expanded {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.faq-answer {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
padding: 0 30rpx 30rpx;
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease, padding 0.3s ease;
|
|
border-top: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.faq-answer.expanded {
|
|
max-height: 500rpx;
|
|
padding: 0 30rpx 30rpx;
|
|
padding-top: 20rpx;
|
|
}
|
|
|
|
/* 空结果样式 */
|
|
.empty-result {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 100rpx 0;
|
|
}
|
|
|
|
.empty-icon {
|
|
margin-bottom: 20rpx;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.empty-hint {
|
|
font-size: 24rpx;
|
|
color: #ccc;
|
|
}
|
|
|
|
/* 联系客服样式 */
|
|
.contact-section {
|
|
padding: 30rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.contact-title {
|
|
font-size: 26rpx;
|
|
color: #666;
|
|
text-align: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.contact-btn {
|
|
width: 100%;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
background-color: #51bdb6;
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
border-radius: 45rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: none;
|
|
}
|
|
|
|
.contact-btn::after {
|
|
border: none;
|
|
}
|
|
|
|
.contact-icon {
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.contact-btn:active {
|
|
background-color: #45a39f;
|
|
}
|
|
|