Add 3 files
Browse files- README.md +7 -5
- index.html +459 -19
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: kkk
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: red
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,459 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="zh-CN">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>缘来是你 - 社交相亲平台</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
/* Custom CSS for elements that can't be done with Tailwind */
|
| 11 |
+
.tab-bar {
|
| 12 |
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
|
| 13 |
+
}
|
| 14 |
+
.active-tab {
|
| 15 |
+
color: #ff4e79;
|
| 16 |
+
}
|
| 17 |
+
.post-card {
|
| 18 |
+
transition: transform 0.2s;
|
| 19 |
+
}
|
| 20 |
+
.post-card:hover {
|
| 21 |
+
transform: translateY(-2px);
|
| 22 |
+
}
|
| 23 |
+
.profile-card {
|
| 24 |
+
background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,1));
|
| 25 |
+
}
|
| 26 |
+
.search-bar {
|
| 27 |
+
background-color: rgba(245, 245, 245, 0.9);
|
| 28 |
+
backdrop-filter: blur(10px);
|
| 29 |
+
}
|
| 30 |
+
.heart-animation {
|
| 31 |
+
animation: heartBeat 0.5s;
|
| 32 |
+
}
|
| 33 |
+
@keyframes heartBeat {
|
| 34 |
+
0% { transform: scale(1); }
|
| 35 |
+
25% { transform: scale(1.2); }
|
| 36 |
+
50% { transform: scale(0.9); }
|
| 37 |
+
75% { transform: scale(1.1); }
|
| 38 |
+
100% { transform: scale(1); }
|
| 39 |
+
}
|
| 40 |
+
</style>
|
| 41 |
+
</head>
|
| 42 |
+
<body class="bg-gray-50 font-sans text-gray-800">
|
| 43 |
+
<!-- Main App Container -->
|
| 44 |
+
<div class="max-w-md mx-auto bg-white min-h-screen flex flex-col">
|
| 45 |
+
<!-- Header -->
|
| 46 |
+
<header class="bg-pink-500 text-white p-4 shadow-md">
|
| 47 |
+
<div class="flex justify-between items-center">
|
| 48 |
+
<h1 class="text-xl font-bold">缘来是你</h1>
|
| 49 |
+
<div class="flex space-x-4">
|
| 50 |
+
<button class="text-white">
|
| 51 |
+
<i class="fas fa-bell"></i>
|
| 52 |
+
</button>
|
| 53 |
+
<button class="text-white">
|
| 54 |
+
<i class="fas fa-cog"></i>
|
| 55 |
+
</button>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
</header>
|
| 59 |
+
|
| 60 |
+
<!-- Content Area (changes based on tab selection) -->
|
| 61 |
+
<main class="flex-1 overflow-y-auto pb-16" id="app-content">
|
| 62 |
+
<!-- Home Page (default) -->
|
| 63 |
+
<div id="home-page" class="tab-content active">
|
| 64 |
+
<!-- Search Bar -->
|
| 65 |
+
<div class="search-bar p-3 sticky top-0 z-10">
|
| 66 |
+
<div class="relative">
|
| 67 |
+
<input type="text" placeholder="搜索帖子、话题或用户..."
|
| 68 |
+
class="w-full py-2 px-4 pl-10 rounded-full bg-white border border-gray-200 focus:outline-none focus:ring-2 focus:ring-pink-300">
|
| 69 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<!-- Categories -->
|
| 74 |
+
<div class="flex overflow-x-auto py-2 px-3 space-x-2">
|
| 75 |
+
<button class="px-4 py-1 bg-pink-100 text-pink-600 rounded-full whitespace-nowrap">推荐</button>
|
| 76 |
+
<button class="px-4 py-1 bg-gray-100 text-gray-600 rounded-full whitespace-nowrap">同城</button>
|
| 77 |
+
<button class="px-4 py-1 bg-gray-100 text-gray-600 rounded-full whitespace-nowrap">话题</button>
|
| 78 |
+
<button class="px-4 py-1 bg-gray-100 text-gray-600 rounded-full whitespace-nowrap">热门</button>
|
| 79 |
+
<button class="px-4 py-1 bg-gray-100 text-gray-600 rounded-full whitespace-nowrap">最新</button>
|
| 80 |
+
</div>
|
| 81 |
+
|
| 82 |
+
<!-- Post List -->
|
| 83 |
+
<div class="space-y-4 p-3">
|
| 84 |
+
<!-- Post 1 -->
|
| 85 |
+
<div class="post-card bg-white rounded-xl shadow p-4">
|
| 86 |
+
<div class="flex items-center mb-3">
|
| 87 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
|
| 88 |
+
<div>
|
| 89 |
+
<h3 class="font-medium">小雨</h3>
|
| 90 |
+
<p class="text-xs text-gray-500">2小时前 · 北京</p>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
<p class="mb-3">周末想去798看展,有一起的小伙伴吗?可以互相拍照交流艺术~</p>
|
| 94 |
+
<div class="grid grid-cols-3 gap-2 mb-3">
|
| 95 |
+
<img src="https://picsum.photos/300/200?random=1" alt="帖子图片" class="w-full h-32 rounded-lg object-cover">
|
| 96 |
+
<img src="https://picsum.photos/300/200?random=2" alt="帖子图片" class="w-full h-32 rounded-lg object-cover">
|
| 97 |
+
<img src="https://picsum.photos/300/200?random=3" alt="帖子图片" class="w-full h-32 rounded-lg object-cover">
|
| 98 |
+
</div>
|
| 99 |
+
<div class="flex justify-between text-gray-500">
|
| 100 |
+
<button class="flex items-center space-x-1 like-btn" data-post="1">
|
| 101 |
+
<i class="far fa-heart"></i>
|
| 102 |
+
<span>42</span>
|
| 103 |
+
</button>
|
| 104 |
+
<button class="flex items-center space-x-1">
|
| 105 |
+
<i class="far fa-comment"></i>
|
| 106 |
+
<span>8</span>
|
| 107 |
+
</button>
|
| 108 |
+
<button class="flex items-center space-x-1">
|
| 109 |
+
<i class="far fa-bookmark"></i>
|
| 110 |
+
<span>收藏</span>
|
| 111 |
+
</button>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<!-- Post 2 -->
|
| 116 |
+
<div class="post-card bg-white rounded-xl shadow p-4">
|
| 117 |
+
<div class="flex items-center mb-3">
|
| 118 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" class="w-10 h-10 rounded-full mr-3">
|
| 119 |
+
<div>
|
| 120 |
+
<h3 class="font-medium">Alex</h3>
|
| 121 |
+
<p class="text-xs text-gray-500">昨天 · 上海</p>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
<p class="mb-3">分享一个周末徒步的好地方 - 佘山国家森林公园,空气清新,风景优美,适合喜欢户外运动的朋友~</p>
|
| 125 |
+
<img src="https://picsum.photos/600/400?random=4" alt="帖子图片" class="w-full h-48 rounded-lg object-cover mb-3">
|
| 126 |
+
<div class="flex justify-between text-gray-500">
|
| 127 |
+
<button class="flex items-center space-x-1 like-btn" data-post="2">
|
| 128 |
+
<i class="far fa-heart"></i>
|
| 129 |
+
<span>28</span>
|
| 130 |
+
</button>
|
| 131 |
+
<button class="flex items-center space-x-1">
|
| 132 |
+
<i class="far fa-comment"></i>
|
| 133 |
+
<span>5</span>
|
| 134 |
+
</button>
|
| 135 |
+
<button class="flex items-center space-x-1">
|
| 136 |
+
<i class="far fa-bookmark"></i>
|
| 137 |
+
<span>收藏</span>
|
| 138 |
+
</button>
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
<!-- Match Page -->
|
| 145 |
+
<div id="match-page" class="tab-content hidden">
|
| 146 |
+
<!-- Filter Bar -->
|
| 147 |
+
<div class="bg-white p-3 sticky top-0 z-10 shadow-sm">
|
| 148 |
+
<div class="flex justify-between items-center">
|
| 149 |
+
<button class="px-3 py-1 bg-pink-100 text-pink-600 rounded-full flex items-center">
|
| 150 |
+
<i class="fas fa-sliders-h mr-1"></i>
|
| 151 |
+
<span>筛选</span>
|
| 152 |
+
</button>
|
| 153 |
+
<div class="text-sm text-gray-500">已匹配 128 位嘉宾</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<!-- Profile List -->
|
| 158 |
+
<div class="grid grid-cols-2 gap-3 p-3">
|
| 159 |
+
<!-- Profile 1 -->
|
| 160 |
+
<div class="profile-card rounded-xl shadow overflow-hidden">
|
| 161 |
+
<div class="relative">
|
| 162 |
+
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="嘉宾照片" class="w-full h-40 object-cover">
|
| 163 |
+
<div class="absolute bottom-2 left-2 bg-white px-2 py-1 rounded-full text-xs">
|
| 164 |
+
<i class="fas fa-map-marker-alt text-pink-500 mr-1"></i>
|
| 165 |
+
<span>北京</span>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
<div class="p-3">
|
| 169 |
+
<h3 class="font-medium">Lily, 28</h3>
|
| 170 |
+
<p class="text-sm text-gray-600 truncate">设计师 | 喜欢旅行和摄影</p>
|
| 171 |
+
<div class="flex justify-between mt-3">
|
| 172 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center">
|
| 173 |
+
<i class="fas fa-info text-gray-500"></i>
|
| 174 |
+
</button>
|
| 175 |
+
<button class="flex-1 ml-2 bg-pink-500 text-white rounded-full text-sm flex items-center justify-center">
|
| 176 |
+
<i class="fas fa-user-plus mr-1"></i>
|
| 177 |
+
<span>加好友</span>
|
| 178 |
+
</button>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
|
| 183 |
+
<!-- Profile 2 -->
|
| 184 |
+
<div class="profile-card rounded-xl shadow overflow-hidden">
|
| 185 |
+
<div class="relative">
|
| 186 |
+
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="嘉宾照片" class="w-full h-40 object-cover">
|
| 187 |
+
<div class="absolute bottom-2 left-2 bg-white px-2 py-1 rounded-full text-xs">
|
| 188 |
+
<i class="fas fa-map-marker-alt text-pink-500 mr-1"></i>
|
| 189 |
+
<span>上海</span>
|
| 190 |
+
</div>
|
| 191 |
+
</div>
|
| 192 |
+
<div class="p-3">
|
| 193 |
+
<h3 class="font-medium">Mike, 32</h3>
|
| 194 |
+
<p class="text-sm text-gray-600 truncate">工程师 | 健身爱好者</p>
|
| 195 |
+
<div class="flex justify-between mt-3">
|
| 196 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center">
|
| 197 |
+
<i class="fas fa-info text-gray-500"></i>
|
| 198 |
+
</button>
|
| 199 |
+
<button class="flex-1 ml-2 bg-pink-500 text-white rounded-full text-sm flex items-center justify-center">
|
| 200 |
+
<i class="fas fa-user-plus mr-1"></i>
|
| 201 |
+
<span>加好友</span>
|
| 202 |
+
</button>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<!-- Profile 3 -->
|
| 208 |
+
<div class="profile-card rounded-xl shadow overflow-hidden">
|
| 209 |
+
<div class="relative">
|
| 210 |
+
<img src="https://randomuser.me/api/portraits/women/33.jpg" alt="嘉宾照片" class="w-full h-40 object-cover">
|
| 211 |
+
<div class="absolute bottom-2 left-2 bg-white px-2 py-1 rounded-full text-xs">
|
| 212 |
+
<i class="fas fa-map-marker-alt text-pink-500 mr-1"></i>
|
| 213 |
+
<span>广州</span>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
<div class="p-3">
|
| 217 |
+
<h3 class="font-medium">Sophia, 26</h3>
|
| 218 |
+
<p class="text-sm text-gray-600 truncate">教师 | 喜欢阅读和烹饪</p>
|
| 219 |
+
<div class="flex justify-between mt-3">
|
| 220 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center">
|
| 221 |
+
<i class="fas fa-info text-gray-500"></i>
|
| 222 |
+
</button>
|
| 223 |
+
<button class="flex-1 ml-2 bg-pink-500 text-white rounded-full text-sm flex items-center justify-center">
|
| 224 |
+
<i class="fas fa-user-plus mr-1"></i>
|
| 225 |
+
<span>加好友</span>
|
| 226 |
+
</button>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
|
| 231 |
+
<!-- Profile 4 -->
|
| 232 |
+
<div class="profile-card rounded-xl shadow overflow-hidden">
|
| 233 |
+
<div class="relative">
|
| 234 |
+
<img src="https://randomuser.me/api/portraits/men/45.jpg" alt="嘉宾照片" class="w-full h-40 object-cover">
|
| 235 |
+
<div class="absolute bottom-2 left-2 bg-white px-2 py-1 rounded-full text-xs">
|
| 236 |
+
<i class="fas fa-map-marker-alt text-pink-500 mr-1"></i>
|
| 237 |
+
<span>深圳</span>
|
| 238 |
+
</div>
|
| 239 |
+
</div>
|
| 240 |
+
<div class="p-3">
|
| 241 |
+
<h3 class="font-medium">David, 30</h3>
|
| 242 |
+
<p class="text-sm text-gray-600 truncate">产品经理 | 音乐发烧友</p>
|
| 243 |
+
<div class="flex justify-between mt-3">
|
| 244 |
+
<button class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center">
|
| 245 |
+
<i class="fas fa-info text-gray-500"></i>
|
| 246 |
+
</button>
|
| 247 |
+
<button class="flex-1 ml-2 bg-pink-500 text-white rounded-full text-sm flex items-center justify-center">
|
| 248 |
+
<i class="fas fa-user-plus mr-1"></i>
|
| 249 |
+
<span>加好友</span>
|
| 250 |
+
</button>
|
| 251 |
+
</div>
|
| 252 |
+
</div>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
+
<!-- Message Page -->
|
| 258 |
+
<div id="message-page" class="tab-content hidden">
|
| 259 |
+
<div class="p-4">
|
| 260 |
+
<h2 class="text-xl font-bold mb-4">消息</h2>
|
| 261 |
+
|
| 262 |
+
<!-- Message List -->
|
| 263 |
+
<div class="space-y-3">
|
| 264 |
+
<!-- Message 1 -->
|
| 265 |
+
<div class="flex items-center p-3 rounded-lg bg-gray-50">
|
| 266 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="用户头像" class="w-12 h-12 rounded-full mr-3">
|
| 267 |
+
<div class="flex-1">
|
| 268 |
+
<div class="flex justify-between">
|
| 269 |
+
<h3 class="font-medium">小雨</h3>
|
| 270 |
+
<span class="text-xs text-gray-500">10:30</span>
|
| 271 |
+
</div>
|
| 272 |
+
<p class="text-sm text-gray-600 truncate">周末去看展吗?我已经买好票了~</p>
|
| 273 |
+
</div>
|
| 274 |
+
</div>
|
| 275 |
+
|
| 276 |
+
<!-- Message 2 -->
|
| 277 |
+
<div class="flex items-center p-3 rounded-lg bg-gray-50">
|
| 278 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="用户头像" class="w-12 h-12 rounded-full mr-3">
|
| 279 |
+
<div class="flex-1">
|
| 280 |
+
<div class="flex justify-between">
|
| 281 |
+
<h3 class="font-medium">Alex</h3>
|
| 282 |
+
<span class="text-xs text-gray-500">昨天</span>
|
| 283 |
+
</div>
|
| 284 |
+
<p class="text-sm text-gray-600 truncate">徒步的照片我整理好了,分享给你~</p>
|
| 285 |
+
</div>
|
| 286 |
+
<div class="w-2 h-2 bg-pink-500 rounded-full ml-2"></div>
|
| 287 |
+
</div>
|
| 288 |
+
|
| 289 |
+
<!-- Message 3 -->
|
| 290 |
+
<div class="flex items-center p-3 rounded-lg bg-gray-50">
|
| 291 |
+
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="用户头像" class="w-12 h-12 rounded-full mr-3">
|
| 292 |
+
<div class="flex-1">
|
| 293 |
+
<div class="flex justify-between">
|
| 294 |
+
<h3 class="font-medium">Lily</h3>
|
| 295 |
+
<span class="text-xs text-gray-500">周一</span>
|
| 296 |
+
</div>
|
| 297 |
+
<p class="text-sm text-gray-600 truncate">谢谢你的喜欢,我们可以多聊聊~</p>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
|
| 304 |
+
<!-- Profile Page -->
|
| 305 |
+
<div id="profile-page" class="tab-content hidden">
|
| 306 |
+
<div class="p-4">
|
| 307 |
+
<!-- User Profile Header -->
|
| 308 |
+
<div class="flex items-center mb-6">
|
| 309 |
+
<img src="https://randomuser.me/api/portraits/women/22.jpg" alt="用户头像" class="w-16 h-16 rounded-full mr-4">
|
| 310 |
+
<div>
|
| 311 |
+
<h2 class="text-xl font-bold">小美</h2>
|
| 312 |
+
<p class="text-gray-600">北京 · 28岁</p>
|
| 313 |
+
</div>
|
| 314 |
+
</div>
|
| 315 |
+
|
| 316 |
+
<!-- Stats -->
|
| 317 |
+
<div class="grid grid-cols-3 gap-4 mb-6 text-center">
|
| 318 |
+
<div class="bg-gray-50 p-3 rounded-lg">
|
| 319 |
+
<div class="text-pink-500 font-bold">128</div>
|
| 320 |
+
<div class="text-xs text-gray-500">关注</div>
|
| 321 |
+
</div>
|
| 322 |
+
<div class="bg-gray-50 p-3 rounded-lg">
|
| 323 |
+
<div class="text-pink-500 font-bold">86</div>
|
| 324 |
+
<div class="text-xs text-gray-500">粉丝</div>
|
| 325 |
+
</div>
|
| 326 |
+
<div class="bg-gray-50 p-3 rounded-lg">
|
| 327 |
+
<div class="text-pink-500 font-bold">42</div>
|
| 328 |
+
<div class="text-xs text-gray-500">喜欢</div>
|
| 329 |
+
</div>
|
| 330 |
+
</div>
|
| 331 |
+
|
| 332 |
+
<!-- Profile Info -->
|
| 333 |
+
<div class="bg-gray-50 p-4 rounded-lg mb-4">
|
| 334 |
+
<h3 class="font-bold mb-2">个人资料</h3>
|
| 335 |
+
<div class="grid grid-cols-2 gap-3 text-sm">
|
| 336 |
+
<div>
|
| 337 |
+
<p class="text-gray-500">职业</p>
|
| 338 |
+
<p>UI设计师</p>
|
| 339 |
+
</div>
|
| 340 |
+
<div>
|
| 341 |
+
<p class="text-gray-500">身高</p>
|
| 342 |
+
<p>165cm</p>
|
| 343 |
+
</div>
|
| 344 |
+
<div>
|
| 345 |
+
<p class="text-gray-500">学历</p>
|
| 346 |
+
<p>本科</p>
|
| 347 |
+
</div>
|
| 348 |
+
<div>
|
| 349 |
+
<p class="text-gray-500">月收入</p>
|
| 350 |
+
<p>15-20k</p>
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
</div>
|
| 354 |
+
|
| 355 |
+
<!-- Interests -->
|
| 356 |
+
<div class="bg-gray-50 p-4 rounded-lg mb-4">
|
| 357 |
+
<h3 class="font-bold mb-2">兴趣爱好</h3>
|
| 358 |
+
<div class="flex flex-wrap gap-2">
|
| 359 |
+
<span class="px-3 py-1 bg-pink-100 text-pink-600 rounded-full text-sm">摄影</span>
|
| 360 |
+
<span class="px-3 py-1 bg-pink-100 text-pink-600 rounded-full text-sm">旅行</span>
|
| 361 |
+
<span class="px-3 py-1 bg-pink-100 text-pink-600 rounded-full text-sm">美食</span>
|
| 362 |
+
<span class="px-3 py-1 bg-pink-100 text-pink-600 rounded-full text-sm">电影</span>
|
| 363 |
+
</div>
|
| 364 |
+
</div>
|
| 365 |
+
|
| 366 |
+
<!-- Settings Button -->
|
| 367 |
+
<button class="w-full py-3 bg-white border border-gray-200 rounded-lg flex items-center justify-between px-4">
|
| 368 |
+
<span>账号设置</span>
|
| 369 |
+
<i class="fas fa-chevron-right text-gray-400"></i>
|
| 370 |
+
</button>
|
| 371 |
+
</div>
|
| 372 |
+
</div>
|
| 373 |
+
</main>
|
| 374 |
+
|
| 375 |
+
<!-- Floating Action Button for Posting -->
|
| 376 |
+
<button class="fixed bottom-20 right-4 w-14 h-14 bg-pink-500 text-white rounded-full shadow-lg flex items-center justify-center z-20">
|
| 377 |
+
<i class="fas fa-plus text-xl"></i>
|
| 378 |
+
</button>
|
| 379 |
+
|
| 380 |
+
<!-- Bottom Tab Bar -->
|
| 381 |
+
<nav class="tab-bar bg-white fixed bottom-0 w-full max-w-md flex justify-around items-center py-2 border-t border-gray-100 z-10">
|
| 382 |
+
<button class="tab-btn flex flex-col items-center active-tab" data-tab="home-page">
|
| 383 |
+
<i class="fas fa-home text-xl"></i>
|
| 384 |
+
<span class="text-xs mt-1">首页</span>
|
| 385 |
+
</button>
|
| 386 |
+
<button class="tab-btn flex flex-col items-center" data-tab="match-page">
|
| 387 |
+
<i class="fas fa-heart text-xl"></i>
|
| 388 |
+
<span class="text-xs mt-1">寻缘</span>
|
| 389 |
+
</button>
|
| 390 |
+
<button class="tab-btn flex flex-col items-center" data-tab="message-page">
|
| 391 |
+
<i class="fas fa-comment-dots text-xl"></i>
|
| 392 |
+
<span class="text-xs mt-1">消息</span>
|
| 393 |
+
</button>
|
| 394 |
+
<button class="tab-btn flex flex-col items-center" data-tab="profile-page">
|
| 395 |
+
<i class="fas fa-user text-xl"></i>
|
| 396 |
+
<span class="text-xs mt-1">我的</span>
|
| 397 |
+
</button>
|
| 398 |
+
</nav>
|
| 399 |
+
</div>
|
| 400 |
+
|
| 401 |
+
<script>
|
| 402 |
+
// Tab Switching
|
| 403 |
+
document.querySelectorAll('.tab-btn').forEach(btn => {
|
| 404 |
+
btn.addEventListener('click', function() {
|
| 405 |
+
// Remove active class from all tabs and buttons
|
| 406 |
+
document.querySelectorAll('.tab-content').forEach(tab => {
|
| 407 |
+
tab.classList.add('hidden');
|
| 408 |
+
tab.classList.remove('active');
|
| 409 |
+
});
|
| 410 |
+
document.querySelectorAll('.tab-btn').forEach(btn => {
|
| 411 |
+
btn.classList.remove('active-tab');
|
| 412 |
+
});
|
| 413 |
+
|
| 414 |
+
// Add active class to clicked tab and button
|
| 415 |
+
const tabId = this.getAttribute('data-tab');
|
| 416 |
+
document.getElementById(tabId).classList.remove('hidden');
|
| 417 |
+
document.getElementById(tabId).classList.add('active');
|
| 418 |
+
this.classList.add('active-tab');
|
| 419 |
+
});
|
| 420 |
+
});
|
| 421 |
+
|
| 422 |
+
// Like Button Animation
|
| 423 |
+
document.querySelectorAll('.like-btn').forEach(btn => {
|
| 424 |
+
btn.addEventListener('click', function() {
|
| 425 |
+
const icon = this.querySelector('i');
|
| 426 |
+
const count = this.querySelector('span');
|
| 427 |
+
|
| 428 |
+
// Toggle between regular and solid heart
|
| 429 |
+
if (icon.classList.contains('far')) {
|
| 430 |
+
icon.classList.remove('far');
|
| 431 |
+
icon.classList.add('fas', 'heart-animation');
|
| 432 |
+
count.textContent = parseInt(count.textContent) + 1;
|
| 433 |
+
} else {
|
| 434 |
+
icon.classList.remove('fas');
|
| 435 |
+
icon.classList.add('far');
|
| 436 |
+
count.textContent = parseInt(count.textContent) - 1;
|
| 437 |
+
}
|
| 438 |
+
|
| 439 |
+
// Remove animation class after animation ends
|
| 440 |
+
setTimeout(() => {
|
| 441 |
+
icon.classList.remove('heart-animation');
|
| 442 |
+
}, 500);
|
| 443 |
+
});
|
| 444 |
+
});
|
| 445 |
+
|
| 446 |
+
// Simulate loading content when switching to Match tab
|
| 447 |
+
document.querySelector('[data-tab="match-page"]').addEventListener('click', function() {
|
| 448 |
+
// In a real app, this would fetch data from an API
|
| 449 |
+
console.log('Loading match data...');
|
| 450 |
+
});
|
| 451 |
+
|
| 452 |
+
// Simulate loading messages when switching to Message tab
|
| 453 |
+
document.querySelector('[data-tab="message-page"]').addEventListener('click', function() {
|
| 454 |
+
// In a real app, this would fetch messages from an API
|
| 455 |
+
console.log('Loading messages...');
|
| 456 |
+
});
|
| 457 |
+
</script>
|
| 458 |
+
<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=1312asdsf/kkk" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 459 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
uniapp适配微信小程序、安卓app、苹果app的社交相亲(中文) 底部选择框有首页、寻缘、消息、我的 首页有帖子列表,有发布帖子、有话题、有推荐、有同城、有搜索栏、可以点赞评论收藏 寻缘有嘉宾资料列表,申请添加好友、查看详情、有筛选
|