重构关于我们、商家申请和案例页面,优化布局和内容展示

This commit is contained in:
2025-09-18 19:52:08 +08:00
parent 10aca89915
commit 4352f613fc
45 changed files with 8513 additions and 487 deletions

310
website/css/animal.css Normal file
View File

@@ -0,0 +1,310 @@
/* 动物认领页面样式 */
.page-header.animal-header {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%2327ae60"/><circle cx="30" cy="40" r="15" fill="%232ecc71" opacity="0.8"/><circle cx="70" cy="30" r="10" fill="%232ecc71" opacity="0.6"/><circle cx="50" cy="60" r="20" fill="%232ecc71" opacity="0.7"/></svg>');
background-size: cover;
background-position: center;
}
.feature-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
color: white;
border-radius: 50%;
font-size: 2rem;
margin: 0 auto 20px;
transition: transform 0.3s ease;
}
.feature-box {
text-align: center;
padding: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border-radius: 10px;
background: #fff;
}
.feature-box:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-box:hover .feature-icon {
transform: scale(1.1);
}
.animal-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.animal-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.animal-stats {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #eee;
}
.stat-item {
display: inline-block;
margin-right: 15px;
font-size: 0.875rem;
color: #6c757d;
}
.animal-filter {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.filter-title {
margin-bottom: 15px;
font-weight: 600;
color: #333;
}
.btn-rounded {
border-radius: 50px;
padding: 10px 30px;
}
.section-title {
position: relative;
padding-bottom: 15px;
margin-bottom: 40px;
}
.section-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
border-radius: 3px;
}
/* 筛选器样式 */
.animal-filter {
background: white;
border-radius: 15px;
padding: 1.5rem;
margin-bottom: 2rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.animal-filter .filter-title {
font-weight: 600;
margin-bottom: 1rem;
color: #2c3e50;
}
.animal-filter .form-select {
border-radius: 10px;
border: 2px solid #e9ecef;
padding: 0.75rem 1rem;
}
.animal-filter .form-select:focus {
border-color: #4ecdc4;
box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}
/* 流程步骤样式 */
.process-step {
padding: 2rem 1rem;
}
.process-step .step-number {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
margin: 0 auto 1rem;
}
.process-step .step-icon {
font-size: 2.5rem;
color: #4ecdc4;
margin-bottom: 1rem;
}
.process-step h5 {
color: #2c3e50;
margin-bottom: 0.5rem;
}
.process-step p {
color: #6c757d;
font-size: 0.9rem;
}
/* 常见问题样式 */
.accordion-button {
font-weight: 600;
color: #2c3e50;
}
.accordion-button:not(.collapsed) {
background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
color: white;
}
.accordion-body {
background: #f8f9fa;
color: #495057;
}
/* 模态框样式 */
.animal-modal .modal-content {
border-radius: 15px;
border: none;
}
.animal-modal .modal-header {
background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
color: white;
border-bottom: none;
border-radius: 15px 15px 0 0;
}
.animal-modal .modal-body {
padding: 2rem;
}
.animal-modal .animal-image {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 1rem;
}
.animal-modal .animal-details {
margin-bottom: 1.5rem;
}
.animal-modal .detail-item {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
padding: 0.5rem 0;
border-bottom: 1px solid #e9ecef;
}
.animal-modal .detail-label {
font-weight: 600;
color: #2c3e50;
}
.animal-modal .detail-value {
color: #6c757d;
}
/* 响应式调整 */
@media (max-width: 768px) {
.animal-card {
margin-bottom: 1.5rem;
}
.animal-filter {
margin-bottom: 1.5rem;
}
.process-step {
margin-bottom: 2rem;
}
.action-buttons {
flex-direction: column;
}
.animal-modal .modal-body {
padding: 1rem;
}
}
/* 动画效果 */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animal-card {
animation: fadeInUp 0.6s ease forwards;
}
.animal-card:nth-child(1) { animation-delay: 0.1s; }
.animal-card:nth-child(2) { animation-delay: 0.2s; }
.animal-card:nth-child(3) { animation-delay: 0.3s; }
.animal-card:nth-child(4) { animation-delay: 0.4s; }
.animal-card:nth-child(5) { animation-delay: 0.5s; }
/* 加载状态 */
.animal-loading {
display: flex;
justify-content: center;
align-items: center;
min-height: 300px;
}
.animal-loading .spinner {
width: 3rem;
height: 3rem;
border: 3px solid #f3f3f3;
border-top: 3px solid #4ecdc4;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* 表单样式 */
.claim-form .form-control,
.claim-form .form-select {
border-radius: 10px;
border: 2px solid #e9ecef;
padding: 0.75rem 1rem;
}
.claim-form .form-control:focus,
.claim-form .form-select:focus {
border-color: #4ecdc4;
box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.25);
}
.claim-form .form-label {
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.5rem;
}

367
website/css/flower.css Normal file
View File

@@ -0,0 +1,367 @@
/* 送花服务页面样式 */
/* 页面头部样式 */
.flower-header {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ff6b6b"/><circle cx="20" cy="30" r="8" fill="%23f1c40f" opacity="0.8"/><circle cx="40" cy="20" r="6" fill="%23f1c40f" opacity="0.6"/><circle cx="30" cy="45" r="10" fill="%23f1c40f" opacity="0.7"/><circle cx="60" cy="35" r="7" fill="%23f1c40f" opacity="0.9"/><circle cx="50" cy="60" r="9" fill="%23f1c40f" opacity="0.8"/></svg>');
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
padding: 3rem 0;
}
/* 鲜花卡片样式 */
.flower-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
background: #fff;
}
.flower-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.flower-card .card-img-top {
height: 250px;
object-fit: cover;
transition: transform 0.3s ease;
}
.flower-card:hover .card-img-top {
transform: scale(1.05);
}
.flower-card .card-body {
padding: 1.5rem;
}
.flower-card .flower-price {
font-size: 1.5rem;
font-weight: bold;
color: #ff6b6b;
}
.flower-card .flower-original-price {
text-decoration: line-through;
color: #6c757d;
font-size: 0.9rem;
}
.flower-card .flower-tags {
margin-bottom: 1rem;
}
.flower-card .flower-tag {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 500;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
.flower-card .flower-tag.love {
background-color: rgba(255, 107, 107, 0.1);
color: #ff6b6b;
}
.flower-card .flower-tag.birthday {
background-color: rgba(255, 193, 7, 0.1);
color: #ffc107;
}
.flower-card .flower-tag.celebration {
background-color: rgba(32, 201, 151, 0.1);
color: #20c997;
}
.flower-card .flower-tag.sympathy {
background-color: rgba(108, 117, 125, 0.1);
color: #6c757d;
}
/* 筛选器样式 */
.flower-filter {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
margin-bottom: 2rem;
}
.flower-filter .filter-title {
margin-bottom: 15px;
font-weight: 600;
color: #333;
}
/* 分类卡片样式 */
.category-card {
padding: 30px 20px;
text-align: center;
background: #fff;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border: 1px solid #eee;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.category-card .category-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #ff6b6b 0%, #e55a5a 100%);
color: white;
border-radius: 50%;
font-size: 1.5rem;
margin: 0 auto 20px;
}
.category-card h5 {
font-weight: 600;
color: #495057;
margin-bottom: 0.5rem;
}
.category-card p {
color: #6c757d;
font-size: 0.9rem;
}
/* 流程步骤样式 */
.process-step {
padding: 30px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border-radius: 10px;
background: #fff;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.process-step:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.process-step .step-number {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(135deg, #ff6b6b, #e55a5a);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
margin: 0 auto 20px;
}
.process-step .step-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #ff6b6b 0%, #e55a5a 100%);
color: white;
border-radius: 50%;
font-size: 2rem;
margin: 0 auto 20px;
transition: transform 0.3s ease;
}
.process-step:hover .step-icon {
transform: scale(1.1);
}
.process-step h5 {
font-weight: 600;
color: #495057;
margin-bottom: 0.5rem;
}
.process-step p {
color: #6c757d;
font-size: 0.9rem;
}
/* 按钮样式 */
.btn-flower {
background: linear-gradient(135deg, #ff6b6b, #e55a5a);
border: none;
border-radius: 50px;
padding: 10px 30px;
font-weight: 600;
color: white;
transition: all 0.3s ease;
}
.btn-flower:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
color: white;
}
.btn-flower-outline {
border: 2px solid #ff6b6b;
border-radius: 50px;
padding: 10px 30px;
font-weight: 600;
color: #ff6b6b;
background: transparent;
transition: all 0.3s ease;
}
.btn-flower-outline:hover {
background: #ff6b6b;
color: white;
transform: translateY(-2px);
}
/* 响应式调整 */
@media (max-width: 768px) {
.flower-card .card-img-top {
height: 200px;
}
.category-card {
padding: 1.5rem 0.5rem;
}
.category-card .category-icon {
width: 60px;
height: 60px;
font-size: 1.5rem;
}
.process-step {
padding: 1.5rem 0.5rem;
}
}
/* 章节标题样式 */
.section-title {
position: relative;
padding-bottom: 15px;
margin-bottom: 40px;
color: #333;
}
.section-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(135deg, #ff6b6b 0%, #e55a5a 100%);
border-radius: 3px;
}
/* 动画效果 */
@keyframes flowerBloom {
0% {
transform: scale(0.8);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.flower-card {
animation: flowerBloom 0.6s ease-out;
}
/* 加载动画 */
.flower-loading {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
.flower-loading .spinner-border {
color: #ff6b6b;
}
/* 空状态样式 */
.flower-empty {
text-align: center;
padding: 3rem 1rem;
color: #6c757d;
}
.flower-empty i {
font-size: 4rem;
color: #dee2e6;
margin-bottom: 1rem;
}
.flower-empty h4 {
color: #495057;
margin-bottom: 1rem;
}
/* 价格标签样式 */
.price-badge {
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 600;
}
/* 折扣标签样式 */
.discount-badge {
background: #20c997;
color: white;
padding: 0.25rem 0.5rem;
border-radius: 10px;
font-size: 0.7rem;
font-weight: 600;
position: absolute;
top: 10px;
right: 10px;
z-index: 1;
}
/* 卡片悬停效果增强 */
.flower-card {
position: relative;
}
.flower-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 142, 0.1));
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.flower-card:hover::before {
opacity: 1;
}

225
website/css/privacy.css Normal file
View File

@@ -0,0 +1,225 @@
/* 隐私政策页面样式 */
/* 页面头部 */
.privacy-header {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
padding-top: 120px;
padding-bottom: 80px;
position: relative;
overflow: hidden;
}
.privacy-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('../images/pattern-bg.png') center/cover;
opacity: 0.1;
}
.min-vh-50 {
min-height: 50vh;
}
/* 隐私政策内容区域 */
.privacy-content {
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
padding: 3rem;
margin-top: -60px;
position: relative;
z-index: 1;
}
/* 隐私政策章节 */
.privacy-section {
margin-bottom: 2.5rem;
padding-bottom: 2rem;
border-bottom: 1px solid #eee;
}
.privacy-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.privacy-section h2 {
color: #333;
font-weight: 600;
border-left: 4px solid #4facfe;
padding-left: 1rem;
margin-bottom: 1.5rem;
}
.privacy-section h3 {
color: #555;
font-weight: 600;
margin-top: 1.5rem;
margin-bottom: 1rem;
padding-left: 0.5rem;
border-left: 3px solid #00f2fe;
}
.privacy-section p {
color: #666;
line-height: 1.8;
margin-bottom: 1rem;
text-align: justify;
}
.privacy-section ul {
color: #666;
line-height: 1.8;
margin-bottom: 1rem;
padding-left: 2rem;
}
.privacy-section li {
margin-bottom: 0.5rem;
position: relative;
}
.privacy-section li::before {
content: '•';
color: #4facfe;
font-weight: bold;
position: absolute;
left: -1rem;
}
/* 强调文本 */
.privacy-section strong {
color: #333;
font-weight: 600;
}
/* 定义列表 */
.privacy-section .list-unstyled li {
margin-bottom: 0.8rem;
padding-left: 0;
}
.privacy-section .list-unstyled li::before {
content: none;
}
.privacy-section .list-unstyled strong {
color: #4facfe;
margin-right: 0.5rem;
}
/* 响应式调整 */
@media (max-width: 768px) {
.privacy-header {
padding-top: 100px;
padding-bottom: 60px;
}
.privacy-content {
padding: 2rem 1.5rem;
margin-top: -40px;
}
.privacy-section {
margin-bottom: 2rem;
padding-bottom: 1.5rem;
}
.privacy-section h2 {
font-size: 1.25rem;
}
.privacy-section h3 {
font-size: 1.1rem;
}
}
@media (max-width: 576px) {
.privacy-content {
padding: 1.5rem 1rem;
margin-top: -30px;
}
.privacy-section {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
}
.privacy-section ul {
padding-left: 1.5rem;
}
.privacy-section h2 {
font-size: 1.1rem;
}
.privacy-section h3 {
font-size: 1rem;
}
}
/* 打印样式 */
@media print {
.privacy-header {
background: none !important;
color: #000 !important;
padding-top: 0;
padding-bottom: 2rem;
}
.privacy-header::before {
display: none;
}
.privacy-content {
box-shadow: none;
border: 1px solid #ddd;
margin-top: 0;
}
.privacy-section h2,
.privacy-section h3 {
color: #000 !important;
}
.privacy-section p,
.privacy-section ul {
color: #000 !important;
}
.privacy-section strong {
color: #000 !important;
}
}
/* 特殊样式 */
.privacy-section ul ul {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.privacy-section ul ul li::before {
content: '◦';
color: #00f2fe;
}
/* 强调框 */
.privacy-section > p:first-child {
font-size: 1.1rem;
font-weight: 500;
color: #444;
}
/* 附录特殊样式 */
.privacy-section:last-child h2 {
border-left-color: #ff6b6b;
}
.privacy-section:last-child ul li::before {
color: #ff6b6b;
}

289
website/css/reward.css Normal file
View File

@@ -0,0 +1,289 @@
/* 推广奖励页面样式 */
/* 页面头部样式 */
.page-header.reward-header {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f39c12"/><circle cx="20" cy="30" r="5" fill="%23ffffff" opacity="0.8"/><circle cx="40" cy="20" r="4" fill="%23ffffff" opacity="0.6"/><circle cx="30" cy="45" r="6" fill="%23ffffff" opacity="0.7"/><circle cx="60" cy="35" r="5" fill="%23ffffff" opacity="0.9"/><circle cx="50" cy="60" r="7" fill="%23ffffff" opacity="0.8"/><circle cx="75" cy="50" r="4" fill="%23ffffff" opacity="0.6"/></svg>');
background-size: cover;
background-position: center;
}
.benefit-box {
text-align: center;
padding: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border-radius: 10px;
background: #fff;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.benefit-box:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.benefit-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
color: white;
border-radius: 50%;
font-size: 2rem;
margin: 0 auto 20px;
transition: transform 0.3s ease;
}
.benefit-box:hover .benefit-icon {
transform: scale(1.1);
}
.commission-card {
padding: 30px 20px;
text-align: center;
background: #fff;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border: 1px solid #eee;
}
.commission-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.commission-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
border-radius: 50%;
font-size: 1.5rem;
margin: 0 auto 20px;
}
.commission-rate {
font-size: 2rem;
font-weight: 700;
color: #f39c12;
margin: 15px 0;
}
.promotion-method {
padding: 30px 20px;
text-align: center;
background: #fff;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border: 1px solid #eee;
}
.promotion-method:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.method-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
color: white;
border-radius: 50%;
font-size: 1.5rem;
margin: 0 auto 20px;
}
.card {
border: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.form-control, .form-select {
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 5px;
}
.btn-rounded {
border-radius: 50px;
padding: 10px 30px;
}
.section-title {
position: relative;
padding-bottom: 15px;
margin-bottom: 40px;
}
.section-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
border-radius: 3px;
}
.result-area {
transition: all 0.3s ease;
}
#resultAmount {
color: #f39c12;
font-weight: 700;
}
/* 响应式调整 */
@media (max-width: 768px) {
.benefit-box {
padding: 20px;
}
.benefit-icon {
width: 60px;
height: 60px;
font-size: 1.5rem;
}
.commission-card {
padding: 20px 15px;
}
.commission-icon {
width: 50px;
height: 50px;
font-size: 1.2rem;
}
.commission-rate {
font-size: 1.5rem;
}
.promotion-method {
padding: 20px 15px;
}
.promotion-method .method-icon {
width: 60px;
height: 60px;
font-size: 1.5rem;
}
#promotionForm {
padding: 0 1rem;
}
}
/* 动画效果 */
@keyframes rewardPulse {
0% {
transform: scale(1);
box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}
50% {
transform: scale(1.02);
box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
}
100% {
transform: scale(1);
box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}
}
.benefit-box,
.commission-card,
.promotion-method {
animation: rewardPulse 2s ease-in-out infinite;
}
/* 加载动画 */
.reward-loading {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
}
.reward-loading .spinner-border {
color: #6c5ce7;
}
/* 空状态样式 */
.reward-empty {
text-align: center;
padding: 3rem 1rem;
color: #6c757d;
}
.reward-empty i {
font-size: 4rem;
color: #dee2e6;
margin-bottom: 1rem;
}
.reward-empty h4 {
color: #495057;
margin-bottom: 1rem;
}
/* 进度条样式 */
.progress-bar-reward {
background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}
/* 标签样式 */
.reward-tag {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 15px;
font-size: 0.75rem;
font-weight: 500;
background: rgba(108, 92, 231, 0.1);
color: #6c5ce7;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
/* 统计数字样式 */
.reward-stat {
text-align: center;
padding: 1.5rem;
}
.reward-stat-number {
font-size: 2.5rem;
font-weight: bold;
color: #6c5ce7;
margin-bottom: 0.5rem;
}
.reward-stat-label {
color: #6c757d;
font-size: 0.9rem;
}
/* 渐变背景效果 */
.gradient-bg {
background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #6c5ce7 100%);
color: white;
}
.gradient-bg h1, .gradient-bg h2, .gradient-bg h3, .gradient-bg h4, .gradient-bg h5, .gradient-bg h6 {
color: white;
}

188
website/css/terms.css Normal file
View File

@@ -0,0 +1,188 @@
/* 用户协议页面样式 */
/* 页面头部 */
.terms-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding-top: 120px;
padding-bottom: 80px;
position: relative;
overflow: hidden;
}
.terms-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('../images/pattern-bg.png') center/cover;
opacity: 0.1;
}
.min-vh-50 {
min-height: 50vh;
}
/* 协议内容区域 */
.terms-content {
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
padding: 3rem;
margin-top: -60px;
position: relative;
z-index: 1;
}
/* 协议章节 */
.terms-section {
margin-bottom: 2.5rem;
padding-bottom: 2rem;
border-bottom: 1px solid #eee;
}
.terms-section:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.terms-section h2 {
color: #333;
font-weight: 600;
border-left: 4px solid #667eea;
padding-left: 1rem;
margin-bottom: 1.5rem;
}
.terms-section p {
color: #666;
line-height: 1.8;
margin-bottom: 1rem;
text-align: justify;
}
.terms-section ul {
color: #666;
line-height: 1.8;
margin-bottom: 1rem;
padding-left: 2rem;
}
.terms-section li {
margin-bottom: 0.5rem;
position: relative;
}
.terms-section li::before {
content: '•';
color: #667eea;
font-weight: bold;
position: absolute;
left: -1rem;
}
/* 联系信息 */
.terms-contact {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 15px;
padding: 2rem;
border-left: 4px solid #28a745;
}
.terms-contact h3 {
color: #333;
font-weight: 600;
margin-bottom: 1.5rem;
}
.terms-contact ul li {
margin-bottom: 1rem;
color: #666;
}
.terms-contact strong {
color: #333;
font-weight: 600;
}
/* 响应式调整 */
@media (max-width: 768px) {
.terms-header {
padding-top: 100px;
padding-bottom: 60px;
}
.terms-content {
padding: 2rem 1.5rem;
margin-top: -40px;
}
.terms-section {
margin-bottom: 2rem;
padding-bottom: 1.5rem;
}
.terms-section h2 {
font-size: 1.25rem;
}
.terms-contact {
padding: 1.5rem;
}
}
@media (max-width: 576px) {
.terms-content {
padding: 1.5rem 1rem;
margin-top: -30px;
}
.terms-section {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
}
.terms-section ul {
padding-left: 1.5rem;
}
.terms-contact {
padding: 1rem;
}
}
/* 打印样式 */
@media print {
.terms-header {
background: none !important;
color: #000 !important;
padding-top: 0;
padding-bottom: 2rem;
}
.terms-header::before {
display: none;
}
.terms-content {
box-shadow: none;
border: 1px solid #ddd;
margin-top: 0;
}
.terms-section h2 {
color: #000 !important;
}
.terms-section p,
.terms-section ul {
color: #000 !important;
}
.terms-contact {
background: none !important;
border: 1px solid #ddd;
}
}

236
website/css/travel.css Normal file
View File

@@ -0,0 +1,236 @@
/* 旅行结伴页面样式 */
.page-header.travel-header {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232ecc71"/><path d="M20,30 Q40,10 60,30 T100,30 L100,100 L20,100 Z" fill="%2327ae60" opacity="0.7"/></svg>');
background-size: cover;
background-position: center;
}
.travel-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
background-size: cover;
background-position: center;
position: relative;
}
.travel-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4);
}
.travel-plan-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
border-radius: 15px;
overflow: hidden;
}
.travel-plan-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.travel-plan-card .card-img-top {
height: 200px;
object-fit: cover;
}
.travel-plan-card .card-body {
padding: 1.5rem;
}
.travel-plan-card .destination {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
}
.travel-plan-card .travel-date {
color: #6c757d;
font-size: 0.9rem;
}
.travel-plan-card .budget-badge {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.8rem;
}
.travel-plan-card .participants {
display: flex;
align-items: center;
gap: 0.5rem;
color: #6c757d;
}
.travel-plan-card .action-buttons {
display: flex;
gap: 0.5rem;
margin-top: 1rem;
}
/* 筛选器样式 */
.travel-filter {
background: white;
border-radius: 15px;
padding: 1.5rem;
margin-bottom: 2rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.travel-filter .filter-title {
font-weight: 600;
margin-bottom: 1rem;
color: #2c3e50;
}
/* 表单样式 */
#travel-plan-form .form-control,
#travel-plan-form .form-select {
border-radius: 10px;
border: 2px solid #e9ecef;
padding: 0.75rem 1rem;
}
#travel-plan-form .form-control:focus,
#travel-plan-form .form-select:focus {
border-color: #667eea;
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
/* 响应式调整 */
@media (max-width: 768px) {
.travel-plan-card {
margin-bottom: 1.5rem;
}
.travel-filter {
margin-bottom: 1.5rem;
}
.action-buttons {
flex-direction: column;
}
}
/* 特色功能样式 */
.feature-icon {
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
color: white;
border-radius: 50%;
font-size: 2rem;
margin: 0 auto 20px;
transition: transform 0.3s ease;
}
.feature-box {
text-align: center;
padding: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
border-radius: 10px;
background: #fff;
}
.feature-box:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-box:hover .feature-icon {
transform: scale(1.1);
}
/* 增强的卡片样式 */
.card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* 圆角按钮 */
.btn-rounded {
border-radius: 50px;
padding: 10px 30px;
}
/* 章节标题样式 */
.section-title {
position: relative;
padding-bottom: 15px;
margin-bottom: 40px;
}
.section-title::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
border-radius: 3px;
}
/* 动画效果 */
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.travel-plan-card {
animation: slideInUp 0.6s ease forwards;
}
.travel-plan-card:nth-child(1) { animation-delay: 0.1s; }
.travel-plan-card:nth-child(2) { animation-delay: 0.2s; }
.travel-plan-card:nth-child(3) { animation-delay: 0.3s; }
.travel-plan-card:nth-child(4) { animation-delay: 0.4s; }
.travel-plan-card:nth-child(5) { animation-delay: 0.5s; }
/* 加载状态 */
.travel-loading {
display: flex;
justify-content: center;
align-items: center;
min-height: 200px;
}
.travel-loading .spinner {
width: 3rem;
height: 3rem;
border: 3px solid #f3f3f3;
border-top: 3px solid #667eea;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}