/* pages/faq/faq.wxss */ .container { padding: 20rpx; background-color: #f7f7f7; min-height: 100vh; } .header { display: flex; flex-direction: column; align-items: center; margin-bottom: 30rpx; } .header-image { width: 100%; border-radius: 16rpx; margin-bottom: 20rpx; } .title { font-size: 36rpx; font-weight: bold; color: #333; } .search-bar { display: flex; margin: 20rpx 0 30rpx; } .search-input { flex: 1; background-color: #fff; padding: 20rpx; border-radius: 8rpx 0 0 8rpx; font-size: 28rpx; } .search-btn { width: 160rpx; background-color: #1a73e8; color: white; border-radius: 0 8rpx 8rpx 0; font-size: 28rpx; display: flex; align-items: center; justify-content: center; } .faq-category { margin-bottom: 30rpx; background-color: #fff; border-radius: 16rpx; overflow: hidden; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05); } .category-title { padding: 20rpx 30rpx; font-size: 32rpx; font-weight: bold; color: #1a73e8; background-color: #f0f7ff; } .faq-item { padding: 0 30rpx; border-bottom: 1rpx solid #eee; } .faq-item:last-child { border-bottom: none; } .question { display: flex; justify-content: space-between; align-items: center; padding: 25rpx 0; font-size: 28rpx; color: #333; } .arrow { width: 30rpx; height: 30rpx; } .answer { padding: 0 0 25rpx; font-size: 26rpx; color: #666; line-height: 1.6; } .contact-us { text-align: center; margin: 40rpx 0; font-size: 28rpx; color: #666; } .contact-btn { width: 200rpx; margin-top: 20rpx; background-color: #1a73e8; color: white; font-size: 28rpx; } /* pages/faq/faq.wxss */ .modal { z-index: 9999; } .modal-content { padding: 30rpx; font-size: 30rpx; line-height: 1.6; color: #333; } /* 保持原有样式 */ .container { padding: 20rpx; } .faq-item { margin-bottom: 20rpx; padding: 25rpx; background: #fff; border-radius: 12rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1); } .question { font-size: 30rpx; color: #333; } .category-title { font-size: 32rpx; font-weight: bold; margin: 40rpx 0 20rpx; color: #1a73e8; } /* pages/faq/faq.wxss */ /* 新增模态框样式 */ .modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; } .modal-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; background: #fff; border-radius: 16rpx; z-index: 1000; box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.2); } .modal-header { padding: 30rpx; border-bottom: 1rpx solid #eee; display: flex; justify-content: space-between; align-items: center; } .modal-title { font-size: 32rpx; font-weight: bold; color: #333; } .modal-close { font-size: 40rpx; color: #999; } .modal-content { padding: 30rpx; max-height: 60vh; overflow-y: auto; font-size: 28rpx; line-height: 1.6; color: #666; } .modal-footer { padding: 20rpx; display: flex; justify-content: center; border-top: 1rpx solid #eee; } .modal-btn { width: 80%; background: #1a73e8; color: #fff; border-radius: 8rpx; } /* 保持原有样式 */ .container { padding: 20rpx; } .faq-item { margin-bottom: 20rpx; padding: 25rpx; background: #fff; border-radius: 12rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1); } .question { font-size: 30rpx; color: #333; } .category-title { font-size: 32rpx; font-weight: bold; margin: 40rpx 0 20rpx; color: #1a73e8; }