CYXiaofeng commited on
Commit
b981fcb
·
verified ·
1 Parent(s): 7b148ae

Add 1 files

Browse files
Files changed (1) hide show
  1. index.html +125 -2
index.html CHANGED
@@ -91,6 +91,41 @@
91
  background-clip: text;
92
  color: transparent;
93
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  </style>
95
  </head>
96
  <body class="bg-gray-50">
@@ -319,8 +354,86 @@
319
  </div>
320
  </div>
321
 
322
- <!-- 服务卡片3 -->
323
  <div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 animate-fadeInUp" style="animation-delay: 0.6s;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  <div class="overflow-hidden">
325
  <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="智慧康复护理" class="w-full service-image">
326
  </div>
@@ -523,6 +636,7 @@
523
  <option value="">请选择服务项目</option>
524
  <option value="home-care">智慧居家养老</option>
525
  <option value="institution-care">智慧养老社区</option>
 
526
  <option value="rehabilitation">智慧康复护理</option>
527
  <option value="other">其他服务</option>
528
  </select>
@@ -655,8 +769,8 @@
655
  <ul class="space-y-2">
656
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧居家养老</a></li>
657
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧养老社区</a></li>
 
658
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧康复护理</a></li>
659
- <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智能健康监测</a></li>
660
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">AI护理助手</a></li>
661
  </ul>
662
  </div>
@@ -758,6 +872,15 @@
758
 
759
  // 滚动时执行
760
  window.addEventListener('scroll', animateOnScroll);
 
 
 
 
 
 
 
 
 
761
  </script>
762
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=CYXiaofeng/second-care" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
763
  </html>
 
91
  background-clip: text;
92
  color: transparent;
93
  }
94
+
95
+ /* 新增服务详情样式 */
96
+ .service-detail {
97
+ position: relative;
98
+ padding-left: 1.5rem;
99
+ }
100
+
101
+ .service-detail:before {
102
+ content: '';
103
+ position: absolute;
104
+ left: 0;
105
+ top: 0.7rem;
106
+ width: 0.5rem;
107
+ height: 0.5rem;
108
+ background-color: #10B981;
109
+ border-radius: 50%;
110
+ }
111
+
112
+ .service-collapse {
113
+ max-height: 0;
114
+ overflow: hidden;
115
+ transition: max-height 0.3s ease-out;
116
+ }
117
+
118
+ .service-collapse.show {
119
+ max-height: 1000px;
120
+ }
121
+
122
+ .toggle-icon {
123
+ transition: transform 0.3s ease;
124
+ }
125
+
126
+ .toggle-icon.rotate {
127
+ transform: rotate(180deg);
128
+ }
129
  </style>
130
  </head>
131
  <body class="bg-gray-50">
 
354
  </div>
355
  </div>
356
 
357
+ <!-- 服务卡片3 - 新增日间照料与上门服务 -->
358
  <div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 animate-fadeInUp" style="animation-delay: 0.6s;">
359
+ <div class="overflow-hidden">
360
+ <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="日间照料与上门服务" class="w-full service-image">
361
+ </div>
362
+ <div class="p-6">
363
+ <div class="flex items-center mb-4">
364
+ <div class="bg-purple-100 p-2 rounded-full mr-3">
365
+ <i class="fas fa-hands-helping text-purple-500 text-xl"></i>
366
+ </div>
367
+ <h3 class="text-xl font-bold text-gray-800">日间照料与上门服务</h3>
368
+ </div>
369
+ <p class="text-gray-600 mb-4">专业护理人员提供全方位生活照料与健康管理服务</p>
370
+
371
+ <!-- 1. 生活照料 -->
372
+ <div class="mb-4">
373
+ <button class="flex items-center justify-between w-full text-left font-medium text-gray-800" onclick="toggleServiceDetail('life-care')">
374
+ <span>1. 生活照料</span>
375
+ <i class="fas fa-chevron-down toggle-icon" id="life-care-icon"></i>
376
+ </button>
377
+ <div id="life-care" class="service-collapse pl-4 mt-2">
378
+ <div class="service-detail mb-2">助浴、助餐、助洁等日常生活照料</div>
379
+ <div class="service-detail mb-2">1.1 一对一上门服务</div>
380
+ <div class="service-detail">1.2 集中养老服务(暂无)</div>
381
+ </div>
382
+ </div>
383
+
384
+ <!-- 2. 健康管理 -->
385
+ <div class="mb-4">
386
+ <button class="flex items-center justify-between w-full text-left font-medium text-gray-800" onclick="toggleServiceDetail('health-management')">
387
+ <span>2. 健康管理</span>
388
+ <i class="fas fa-chevron-down toggle-icon" id="health-management-icon"></i>
389
+ </button>
390
+ <div id="health-management" class="service-collapse pl-4 mt-2">
391
+ <div class="service-detail mb-2">2.1 健康监测(血压、血糖等指标检测)</div>
392
+ <div class="service-detail mb-2">2.2 康复训练指导</div>
393
+ <div class="service-detail">2.3 慢性病管理</div>
394
+ </div>
395
+ </div>
396
+
397
+ <!-- 3. 医护与护理 -->
398
+ <div class="mb-4">
399
+ <button class="flex items-center justify-between w-full text-left font-medium text-gray-800" onclick="toggleServiceDetail('medical-care')">
400
+ <span>3. 医护与护理</span>
401
+ <i class="fas fa-chevron-down toggle-icon" id="medical-care-icon"></i>
402
+ </button>
403
+ <div id="medical-care" class="service-collapse pl-4 mt-2">
404
+ <div class="font-medium mb-1">3.1 专业基础护理(专业资质)</div>
405
+ <div class="service-detail mb-1 pl-4">3.1.1 灌肠护理</div>
406
+ <div class="service-detail mb-1 pl-4">3.1.2 ���腔护理</div>
407
+ <div class="service-detail mb-1 pl-4">3.1.3 导尿护理</div>
408
+ <div class="service-detail mb-1 pl-4">3.1.4 创伤面评估</div>
409
+ <div class="service-detail mb-2 pl-4">3.1.5 护药服务</div>
410
+ <div class="service-detail mb-2">3.2 居家护理服务</div>
411
+ <div class="service-detail">3.3 家庭医生签约服务</div>
412
+ </div>
413
+ </div>
414
+
415
+ <!-- 4. 生活与心理关怀 -->
416
+ <div>
417
+ <button class="flex items-center justify-between w-full text-left font-medium text-gray-800" onclick="toggleServiceDetail('psychological-care')">
418
+ <span>4. 生活与心理关怀</span>
419
+ <i class="fas fa-chevron-down toggle-icon" id="psychological-care-icon"></i>
420
+ </button>
421
+ <div id="psychological-care" class="service-collapse pl-4 mt-2">
422
+ <div class="service-detail mb-2">4.1 文娱活动组织</div>
423
+ <div class="service-detail mb-2">4.2 营养膳食指导</div>
424
+ <div class="service-detail mb-2">4.3 居家环境改造建议</div>
425
+ <div class="service-detail">4.4 临终关怀</div>
426
+ </div>
427
+ </div>
428
+
429
+ <a href="#contact" class="mt-4 text-green-600 font-medium inline-flex items-center group">
430
+ 立即预约 <i class="fas fa-arrow-right ml-1 group-hover:translate-x-1 transition-transform duration-300"></i>
431
+ </a>
432
+ </div>
433
+ </div>
434
+
435
+ <!-- 服务卡片4 -->
436
+ <div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 animate-fadeInUp" style="animation-delay: 0.8s;">
437
  <div class="overflow-hidden">
438
  <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="智慧康复护理" class="w-full service-image">
439
  </div>
 
636
  <option value="">请选择服务项目</option>
637
  <option value="home-care">智慧居家养老</option>
638
  <option value="institution-care">智慧养老社区</option>
639
+ <option value="day-care">日间照料与上门服务</option>
640
  <option value="rehabilitation">智慧康复护理</option>
641
  <option value="other">其他服务</option>
642
  </select>
 
769
  <ul class="space-y-2">
770
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧居家养老</a></li>
771
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧养老社区</a></li>
772
+ <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">日间照料与上门服务</a></li>
773
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">智慧康复护理</a></li>
 
774
  <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">AI护理助手</a></li>
775
  </ul>
776
  </div>
 
872
 
873
  // 滚动时执行
874
  window.addEventListener('scroll', animateOnScroll);
875
+
876
+ // 服务详情展开/收起功能
877
+ function toggleServiceDetail(id) {
878
+ const element = document.getElementById(id);
879
+ const icon = document.getElementById(`${id}-icon`);
880
+
881
+ element.classList.toggle('show');
882
+ icon.classList.toggle('rotate');
883
+ }
884
  </script>
885
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=CYXiaofeng/second-care" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
886
  </html>