fuzai commited on
Commit
83a41a3
·
verified ·
1 Parent(s): 5261d43

Add 1 files

Browse files
Files changed (1) hide show
  1. index.html +93 -4
index.html CHANGED
@@ -32,6 +32,39 @@
32
  border-radius: 0.5rem;
33
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
34
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  </style>
36
  </head>
37
  <body class="font-sans text-gray-700">
@@ -70,7 +103,14 @@
70
  <p class="mt-3 text-base text-gray-600 sm:text-lg md:mt-5 md:text-xl">
71
  形婚吧是专为LGBT群体打造的专业形婚交友平台,帮助您找到志同道合的伴侣,建立形式婚姻或无性婚姻关系。
72
  </p>
73
- <div class="mt-8 flex flex-col sm:flex-row sm:space-x-4 space-y-3 sm:space-y-0">
 
 
 
 
 
 
 
74
  <div>
75
  <a href="#download" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-pink-500 hover:bg-pink-600 md:py-4 md:text-lg md:px-10 transition-colors">
76
  <i class="fab fa-apple mr-2"></i> App Store
@@ -83,10 +123,24 @@
83
  </div>
84
  </div>
85
  </div>
 
 
86
  <div class="mt-10 lg:mt-0 lg:w-1/2 lg:flex lg:justify-center">
87
- <div class="qr-code text-center">
88
- <img src="https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://xinghunba.com/download" alt="形婚吧APP下载二维码" class="mx-auto h-48 w-48">
89
- <p class="mt-2 text-sm font-medium text-gray-700">扫描二维码下载APP</p>
 
 
 
 
 
 
 
 
 
 
 
 
90
  </div>
91
  </div>
92
  </div>
@@ -579,6 +633,41 @@
579
  }
580
  });
581
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
582
  </script>
583
  <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=fuzai/dcfuture" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
584
  </html>
 
32
  border-radius: 0.5rem;
33
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
34
  }
35
+ .carousel-container {
36
+ position: relative;
37
+ width: 100%;
38
+ max-width: 300px;
39
+ margin: 0 auto;
40
+ }
41
+ .carousel-slide {
42
+ display: none;
43
+ animation: fade 1s ease-in-out;
44
+ }
45
+ .carousel-slide.active {
46
+ display: block;
47
+ }
48
+ @keyframes fade {
49
+ from {opacity: 0.4}
50
+ to {opacity: 1}
51
+ }
52
+ .carousel-dots {
53
+ text-align: center;
54
+ margin-top: 1rem;
55
+ }
56
+ .dot {
57
+ display: inline-block;
58
+ width: 10px;
59
+ height: 10px;
60
+ margin: 0 5px;
61
+ background-color: #bbb;
62
+ border-radius: 50%;
63
+ cursor: pointer;
64
+ }
65
+ .dot.active {
66
+ background-color: #7c9ed6;
67
+ }
68
  </style>
69
  </head>
70
  <body class="font-sans text-gray-700">
 
103
  <p class="mt-3 text-base text-gray-600 sm:text-lg md:mt-5 md:text-xl">
104
  形婚吧是专为LGBT群体打造的专业形婚交友平台,帮助您找到志同道合的伴侣,建立形式婚姻或无性婚姻关系。
105
  </p>
106
+
107
+ <!-- 二维码放在下载按钮上方 -->
108
+ <div class="mt-6 qr-code inline-block">
109
+ <img src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://xinghunba.com/download" alt="形婚吧APP下载二维码" class="h-32 w-32">
110
+ <p class="mt-2 text-sm font-medium text-gray-700">扫描二维码下载APP</p>
111
+ </div>
112
+
113
+ <div class="mt-6 flex flex-col sm:flex-row sm:space-x-4 space-y-3 sm:space-y-0">
114
  <div>
115
  <a href="#download" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-pink-500 hover:bg-pink-600 md:py-4 md:text-lg md:px-10 transition-colors">
116
  <i class="fab fa-apple mr-2"></i> App Store
 
123
  </div>
124
  </div>
125
  </div>
126
+
127
+ <!-- APP页面滚动图 -->
128
  <div class="mt-10 lg:mt-0 lg:w-1/2 lg:flex lg:justify-center">
129
+ <div class="carousel-container">
130
+ <div class="carousel-slide active">
131
+ <img src="https://via.placeholder.com/300x600/7c9ed6/ffffff?text=APP界面1" alt="APP界面1" class="rounded-lg shadow-xl w-full">
132
+ </div>
133
+ <div class="carousel-slide">
134
+ <img src="https://via.placeholder.com/300x600/a3b8e0/ffffff?text=APP界面2" alt="APP界面2" class="rounded-lg shadow-xl w-full">
135
+ </div>
136
+ <div class="carousel-slide">
137
+ <img src="https://via.placeholder.com/300x600/c9d5f0/ffffff?text=APP界面3" alt="APP界面3" class="rounded-lg shadow-xl w-full">
138
+ </div>
139
+ <div class="carousel-dots">
140
+ <span class="dot active" onclick="currentSlide(1)"></span>
141
+ <span class="dot" onclick="currentSlide(2)"></span>
142
+ <span class="dot" onclick="currentSlide(3)"></span>
143
+ </div>
144
  </div>
145
  </div>
146
  </div>
 
633
  }
634
  });
635
  });
636
+
637
+ // 轮播图功能
638
+ let slideIndex = 1;
639
+ showSlides(slideIndex);
640
+
641
+ function currentSlide(n) {
642
+ showSlides(slideIndex = n);
643
+ }
644
+
645
+ function showSlides(n) {
646
+ let i;
647
+ let slides = document.getElementsByClassName("carousel-slide");
648
+ let dots = document.getElementsByClassName("dot");
649
+
650
+ if (n > slides.length) {slideIndex = 1}
651
+ if (n < 1) {slideIndex = slides.length}
652
+
653
+ for (i = 0; i < slides.length; i++) {
654
+ slides[i].classList.remove("active");
655
+ }
656
+
657
+ for (i = 0; i < dots.length; i++) {
658
+ dots[i].classList.remove("active");
659
+ }
660
+
661
+ slides[slideIndex-1].classList.add("active");
662
+ dots[slideIndex-1].classList.add("active");
663
+ }
664
+
665
+ // 自动轮播
666
+ setInterval(() => {
667
+ slideIndex++;
668
+ if (slideIndex > 3) slideIndex = 1;
669
+ showSlides(slideIndex);
670
+ }, 3000);
671
  </script>
672
  <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=fuzai/dcfuture" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
673
  </html>