Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +505 -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: oppo-store
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: gray
|
| 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,505 @@
|
|
| 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>OPPO商城 - 官方正品商城</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 |
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Noto Sans SC', sans-serif;
|
| 14 |
+
background-color: #f7f7f7;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.gradient-bg {
|
| 18 |
+
background: linear-gradient(135deg, #0c4da1 0%, #1e7be5 100%);
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.product-card:hover {
|
| 22 |
+
transform: translateY(-5px);
|
| 23 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
.banner-slide {
|
| 27 |
+
transition: opacity 0.5s ease-in-out;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.active-slide {
|
| 31 |
+
opacity: 1;
|
| 32 |
+
z-index: 10;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.inactive-slide {
|
| 36 |
+
opacity: 0;
|
| 37 |
+
z-index: 0;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.nav-item:hover::after {
|
| 41 |
+
width: 100%;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.nav-item::after {
|
| 45 |
+
content: '';
|
| 46 |
+
display: block;
|
| 47 |
+
width: 0;
|
| 48 |
+
height: 2px;
|
| 49 |
+
background: #fff;
|
| 50 |
+
transition: width .3s;
|
| 51 |
+
margin-top: 5px;
|
| 52 |
+
}
|
| 53 |
+
</style>
|
| 54 |
+
</head>
|
| 55 |
+
<body>
|
| 56 |
+
<!-- 顶部导航栏 -->
|
| 57 |
+
<div class="gradient-bg text-white py-2 px-4 hidden md:block">
|
| 58 |
+
<div class="container mx-auto flex justify-between items-center text-sm">
|
| 59 |
+
<div class="flex space-x-4">
|
| 60 |
+
<a href="#" class="hover:text-gray-200">OPPO官网</a>
|
| 61 |
+
<a href="#" class="hover:text-gray-200">OPPO社区</a>
|
| 62 |
+
<a href="#" class="hover:text-gray-200">线下门店</a>
|
| 63 |
+
<a href="#" class="hover:text-gray-200">服务支持</a>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="flex space-x-4">
|
| 66 |
+
<a href="#" class="hover:text-gray-200"><i class="fas fa-user mr-1"></i>登录</a>
|
| 67 |
+
<a href="#" class="hover:text-gray-200"><i class="fas fa-shopping-cart mr-1"></i>购物车</a>
|
| 68 |
+
<a href="#" class="hover:text-gray-200"><i class="fas fa-heart mr-1"></i>收藏</a>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<!-- 主导航栏 -->
|
| 74 |
+
<div class="bg-white shadow-md sticky top-0 z-50">
|
| 75 |
+
<div class="container mx-auto px-4 py-3 flex items-center justify-between">
|
| 76 |
+
<div class="flex items-center space-x-10">
|
| 77 |
+
<a href="#" class="text-2xl font-bold text-blue-600">OPPO商城</a>
|
| 78 |
+
<div class="hidden lg:flex space-x-8">
|
| 79 |
+
<a href="#" class="nav-item text-gray-800 hover:text-blue-600">手机</a>
|
| 80 |
+
<a href="#" class="nav-item text-gray-800 hover:text-blue-600">耳机</a>
|
| 81 |
+
<a href="#" class="nav-item text-gray-800 hover:text-blue-600">手表</a>
|
| 82 |
+
<a href="#" class="nav-item text-gray-800 hover:text-blue-600">配件</a>
|
| 83 |
+
<a href="#" class="nav-item text-gray-800 hover:text-blue-600">服务</a>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
|
| 87 |
+
<div class="flex items-center space-x-4">
|
| 88 |
+
<div class="relative hidden md:block">
|
| 89 |
+
<input type="text" placeholder="搜索商品..." class="w-64 px-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 90 |
+
<button class="absolute right-3 top-2 text-gray-500 hover:text-blue-600">
|
| 91 |
+
<i class="fas fa-search"></i>
|
| 92 |
+
</button>
|
| 93 |
+
</div>
|
| 94 |
+
<button class="lg:hidden text-gray-600">
|
| 95 |
+
<i class="fas fa-bars text-xl"></i>
|
| 96 |
+
</button>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
|
| 101 |
+
<!-- 轮播图 -->
|
| 102 |
+
<div class="relative overflow-hidden h-80 md:h-96 bg-gray-100">
|
| 103 |
+
<div class="banner-slide active-slide absolute inset-0 w-full h-full flex items-center">
|
| 104 |
+
<img src="https://via.placeholder.com/1920x600/1e7be5/ffffff?text=OPPO+Find+X6+Pro" alt="OPPO Find X6 Pro" class="w-full h-full object-cover">
|
| 105 |
+
<div class="absolute left-10 md:left-20 text-white max-w-md">
|
| 106 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-2">OPPO Find X6 Pro</h2>
|
| 107 |
+
<p class="text-lg mb-4">哈苏影像,一英寸大底</p>
|
| 108 |
+
<button class="bg-white text-blue-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition">立即购买</button>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
<div class="banner-slide inactive-slide absolute inset-0 w-full h-full flex items-center">
|
| 112 |
+
<img src="https://via.placeholder.com/1920x600/0c4da1/ffffff?text=OPPO+Reno10+系列" alt="OPPO Reno10" class="w-full h-full object-cover">
|
| 113 |
+
<div class="absolute left-10 md:left-20 text-white max-w-md">
|
| 114 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-2">OPPO Reno10 系列</h2>
|
| 115 |
+
<p class="text-lg mb-4">超光影长焦,人像更出色</p>
|
| 116 |
+
<button class="bg-white text-blue-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition">立即购买</button>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="banner-slide inactive-slide absolute inset-0 w-full h-full flex items-center">
|
| 120 |
+
<img src="https://via.placeholder.com/1920x600/1e7be5/ffffff?text=OPPO+Pad+2" alt="OPPO Pad 2" class="w-full h-full object-cover">
|
| 121 |
+
<div class="absolute left-10 md:left-20 text-white max-w-md">
|
| 122 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-2">OPPO Pad 2</h2>
|
| 123 |
+
<p class="text-lg mb-4">2.8K 144Hz 超清高刷屏</p>
|
| 124 |
+
<button class="bg-white text-blue-600 px-6 py-2 rounded-full font-medium hover:bg-gray-100 transition">立即购买</button>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
|
| 128 |
+
<div class="absolute bottom-4 left-0 right-0 flex justify-center space-x-2">
|
| 129 |
+
<button class="banner-dot w-3 h-3 rounded-full bg-white opacity-50 focus:outline-none active-dot"></button>
|
| 130 |
+
<button class="banner-dot w-3 h-3 rounded-full bg-white opacity-50 focus:outline-none"></button>
|
| 131 |
+
<button class="banner-dot w-3 h-3 rounded-full bg-white opacity-50 focus:outline-none"></button>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<button class="absolute left-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-30 text-white p-2 rounded-full hover:bg-opacity-50 focus:outline-none">
|
| 135 |
+
<i class="fas fa-chevron-left"></i>
|
| 136 |
+
</button>
|
| 137 |
+
<button class="absolute right-4 top-1/2 transform -translate-y-1/2 bg-white bg-opacity-30 text-white p-2 rounded-full hover:bg-opacity-50 focus:outline-none">
|
| 138 |
+
<i class="fas fa-chevron-right"></i>
|
| 139 |
+
</button>
|
| 140 |
+
</div>
|
| 141 |
+
|
| 142 |
+
<!-- 快捷入口 -->
|
| 143 |
+
<div class="container mx-auto px-4 py-6">
|
| 144 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
|
| 145 |
+
<a href="#" class="bg-white rounded-lg p-4 flex flex-col items-center hover:shadow-md transition">
|
| 146 |
+
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
|
| 147 |
+
<i class="fas fa-mobile-alt text-blue-600 text-xl"></i>
|
| 148 |
+
</div>
|
| 149 |
+
<span class="text-gray-800">手机</span>
|
| 150 |
+
</a>
|
| 151 |
+
<a href="#" class="bg-white rounded-lg p-4 flex flex-col items-center hover:shadow-md transition">
|
| 152 |
+
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
|
| 153 |
+
<i class="fas fa-headphones text-blue-600 text-xl"></i>
|
| 154 |
+
</div>
|
| 155 |
+
<span class="text-gray-800">耳机</span>
|
| 156 |
+
</a>
|
| 157 |
+
<a href="#" class="bg-white rounded-lg p-4 flex flex-col items-center hover:shadow-md transition">
|
| 158 |
+
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
|
| 159 |
+
<i class="fas fa-clock text-blue-600 text-xl"></i>
|
| 160 |
+
</div>
|
| 161 |
+
<span class="text-gray-800">手表</span>
|
| 162 |
+
</a>
|
| 163 |
+
<a href="#" class="bg-white rounded-lg p-4 flex flex-col items-center hover:shadow-md transition">
|
| 164 |
+
<div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
|
| 165 |
+
<i class="fas fa-plug text-blue-600 text-xl"></i>
|
| 166 |
+
</div>
|
| 167 |
+
<span class="text-gray-800">配件</span>
|
| 168 |
+
</a>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<!-- 促销活动 -->
|
| 173 |
+
<div class="container mx-auto px-4 py-6">
|
| 174 |
+
<div class="flex justify-between items-center mb-4">
|
| 175 |
+
<h2 class="text-xl font-bold text-gray-800">限时优惠</h2>
|
| 176 |
+
<a href="#" class="text-blue-600 hover:underline">查看更多 ></a>
|
| 177 |
+
</div>
|
| 178 |
+
|
| 179 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
|
| 180 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 181 |
+
<div class="relative">
|
| 182 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Reno10" alt="OPPO Reno10" class="w-full h-48 object-contain">
|
| 183 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white text-xs px-2 py-1 rounded">��时优惠</div>
|
| 184 |
+
</div>
|
| 185 |
+
<div class="p-4">
|
| 186 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Reno10</h3>
|
| 187 |
+
<p class="text-sm text-gray-500 mb-2">超光影长焦,人像更出色</p>
|
| 188 |
+
<div class="flex items-center">
|
| 189 |
+
<span class="text-red-500 font-bold text-lg">¥2499</span>
|
| 190 |
+
<span class="text-gray-400 text-sm line-through ml-2">¥2799</span>
|
| 191 |
+
<span class="ml-auto bg-red-100 text-red-500 text-xs px-2 py-1 rounded">立省300</span>
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
|
| 196 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 197 |
+
<div class="relative">
|
| 198 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Enco+X2" alt="OPPO Enco X2" class="w-full h-48 object-contain">
|
| 199 |
+
<div class="absolute top-2 left-2 bg-red-500 text-white text-xs px-2 py-1 rounded">新品</div>
|
| 200 |
+
</div>
|
| 201 |
+
<div class="p-4">
|
| 202 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Enco X2</h3>
|
| 203 |
+
<p class="text-sm text-gray-500 mb-2">殿堂级音质,超清晰通话</p>
|
| 204 |
+
<div class="flex items-center">
|
| 205 |
+
<span class="text-red-500 font-bold text-lg">¥899</span>
|
| 206 |
+
<span class="text-gray-400 text-sm line-through ml-2">¥999</span>
|
| 207 |
+
<span class="ml-auto bg-red-100 text-red-500 text-xs px-2 py-1 rounded">立省100</span>
|
| 208 |
+
</div>
|
| 209 |
+
</div>
|
| 210 |
+
</div>
|
| 211 |
+
|
| 212 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 213 |
+
<div class="relative">
|
| 214 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Watch+3" alt="OPPO Watch 3" class="w-full h-48 object-contain">
|
| 215 |
+
<div class="absolute top-2 left-2 bg-orange-500 text-white text-xs px-2 py-1 rounded">热销</div>
|
| 216 |
+
</div>
|
| 217 |
+
<div class="p-4">
|
| 218 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Watch 3</h3>
|
| 219 |
+
<p class="text-sm text-gray-500 mb-2">全智能旗舰,健康更专业</p>
|
| 220 |
+
<div class="flex items-center">
|
| 221 |
+
<span class="text-red-500 font-bold text-lg">¥1499</span>
|
| 222 |
+
<span class="text-gray-400 text-sm line-through ml-2">¥1699</span>
|
| 223 |
+
<span class="ml-auto bg-red-100 text-red-500 text-xs px-2 py-1 rounded">立省200</span>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
|
| 228 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 229 |
+
<div class="relative">
|
| 230 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+50W+闪充" alt="OPPO 50W闪充" class="w-full h-48 object-contain">
|
| 231 |
+
<div class="absolute top-2 left-2 bg-blue-500 text-white text-xs px-2 py-1 rounded">套装</div>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="p-4">
|
| 234 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO 50W超级闪充套装</h3>
|
| 235 |
+
<p class="text-sm text-gray-500 mb-2">极速充电,安全可靠</p>
|
| 236 |
+
<div class="flex items-center">
|
| 237 |
+
<span class="text-red-500 font-bold text-lg">¥199</span>
|
| 238 |
+
<span class="text-gray-400 text-sm line-through ml-2">¥249</span>
|
| 239 |
+
<span class="ml-auto bg-red-100 text-red-500 text-xs px-2 py-1 rounded">立省50</span>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
|
| 246 |
+
<!-- 热门产品 -->
|
| 247 |
+
<div class="container mx-auto px-4 py-6">
|
| 248 |
+
<div class="flex justify-between items-center mb-4">
|
| 249 |
+
<h2 class="text-xl font-bold text-gray-800">热门产品</h2>
|
| 250 |
+
<a href="#" class="text-blue-600 hover:underline">查看更多 ></a>
|
| 251 |
+
</div>
|
| 252 |
+
|
| 253 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
|
| 254 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 255 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Find+X6+Pro" alt="OPPO Find X6 Pro" class="w-full h-48 object-contain">
|
| 256 |
+
<div class="p-4">
|
| 257 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Find X6 Pro</h3>
|
| 258 |
+
<p class="text-sm text-gray-500 mb-2">哈苏影像,一英寸大底</p>
|
| 259 |
+
<div class="flex items-center">
|
| 260 |
+
<span class="text-red-500 font-bold text-lg">¥5999</span>
|
| 261 |
+
<span class="ml-auto bg-blue-100 text-blue-500 text-xs px-2 py-1 rounded">旗舰机型</span>
|
| 262 |
+
</div>
|
| 263 |
+
</div>
|
| 264 |
+
</div>
|
| 265 |
+
|
| 266 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 267 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Reno10+Pro+" alt="OPPO Reno10 Pro+" class="w-full h-48 object-contain">
|
| 268 |
+
<div class="p-4">
|
| 269 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Reno10 Pro+</h3>
|
| 270 |
+
<p class="text-sm text-gray-500 mb-2">超光影长焦,人像更出色</p>
|
| 271 |
+
<div class="flex items-center">
|
| 272 |
+
<span class="text-red-500 font-bold text-lg">¥3899</span>
|
| 273 |
+
<span class="ml-auto bg-blue-100 text-blue-500 text-xs px-2 py-1 rounded">新品上市</span>
|
| 274 |
+
</div>
|
| 275 |
+
</div>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 279 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+K11" alt="OPPO K11" class="w-full h-48 object-contain">
|
| 280 |
+
<div class="p-4">
|
| 281 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO K11</h3>
|
| 282 |
+
<p class="text-sm text-gray-500 mb-2">5000mAh大电池,67W闪充</p>
|
| 283 |
+
<div class="flex items-center">
|
| 284 |
+
<span class="text-red-500 font-bold text-lg">¥1799</span>
|
| 285 |
+
<span class="ml-auto bg-blue-100 text-blue-500 text-xs px-2 py-1 rounded">性价比之选</span>
|
| 286 |
+
</div>
|
| 287 |
+
</div>
|
| 288 |
+
</div>
|
| 289 |
+
|
| 290 |
+
<div class="bg-white rounded-lg overflow-hidden product-card transition duration-300">
|
| 291 |
+
<img src="https://via.placeholder.com/300x300/f7f7f7/999999?text=OPPO+Pad+2" alt="OPPO Pad 2" class="w-full h-48 object-contain">
|
| 292 |
+
<div class="p-4">
|
| 293 |
+
<h3 class="font-medium text-gray-800 mb-1">OPPO Pad 2</h3>
|
| 294 |
+
<p class="text-sm text-gray-500 mb-2">2.8K 144Hz 超清高刷屏</p>
|
| 295 |
+
<div class="flex items-center">
|
| 296 |
+
<span class="text-red-500 font-bold text-lg">¥2999</span>
|
| 297 |
+
<span class="ml-auto bg-blue-100 text-blue-500 text-xs px-2 py-1 rounded">生产力工具</span>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
</div>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
|
| 304 |
+
<!-- 服务保障 -->
|
| 305 |
+
<div class="bg-gray-100 py-8">
|
| 306 |
+
<div class="container mx-auto px-4">
|
| 307 |
+
<h2 class="text-xl font-bold text-gray-800 mb-6 text-center">OPPO服务保障</h2>
|
| 308 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-6">
|
| 309 |
+
<div class="bg-white rounded-lg p-6 text-center">
|
| 310 |
+
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 311 |
+
<i class="fas fa-shield-alt text-blue-600 text-2xl"></i>
|
| 312 |
+
</div>
|
| 313 |
+
<h3 class="font-medium text-gray-800 mb-2">官方正品</h3>
|
| 314 |
+
<p class="text-gray-500 text-sm">官方授权,正品保障</p>
|
| 315 |
+
</div>
|
| 316 |
+
<div class="bg-white rounded-lg p-6 text-center">
|
| 317 |
+
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 318 |
+
<i class="fas fa-truck text-blue-600 text-2xl"></i>
|
| 319 |
+
</div>
|
| 320 |
+
<h3 class="font-medium text-gray-800 mb-2">极速配送</h3>
|
| 321 |
+
<p class="text-gray-500 text-sm">全国多仓发货,极速送达</p>
|
| 322 |
+
</div>
|
| 323 |
+
<div class="bg-white rounded-lg p-6 text-center">
|
| 324 |
+
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 325 |
+
<i class="fas fa-undo text-blue-600 text-2xl"></i>
|
| 326 |
+
</div>
|
| 327 |
+
<h3 class="font-medium text-gray-800 mb-2">7天无理由退换</h3>
|
| 328 |
+
<p class="text-gray-500 text-sm">7天无理由退换货</p>
|
| 329 |
+
</div>
|
| 330 |
+
<div class="bg-white rounded-lg p-6 text-center">
|
| 331 |
+
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 332 |
+
<i class="fas fa-headset text-blue-600 text-2xl"></i>
|
| 333 |
+
</div>
|
| 334 |
+
<h3 class="font-medium text-gray-800 mb-2">专业客服</h3>
|
| 335 |
+
<p class="text-gray-500 text-sm">7×24小时专业服务</p>
|
| 336 |
+
</div>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
</div>
|
| 340 |
+
|
| 341 |
+
<!-- 底部导航 -->
|
| 342 |
+
<footer class="bg-gray-800 text-white py-10">
|
| 343 |
+
<div class="container mx-auto px-4">
|
| 344 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 345 |
+
<div>
|
| 346 |
+
<h3 class="text-lg font-medium mb-4">购物指南</h3>
|
| 347 |
+
<ul class="space-y-2 text-gray-300">
|
| 348 |
+
<li><a href="#" class="hover:text-white">购物流程</a></li>
|
| 349 |
+
<li><a href="#" class="hover:text-white">会员介绍</a></li>
|
| 350 |
+
<li><a href="#" class="hover:text-white">常见问题</a></li>
|
| 351 |
+
<li><a href="#" class="hover:text-white">联系客服</a></li>
|
| 352 |
+
</ul>
|
| 353 |
+
</div>
|
| 354 |
+
<div>
|
| 355 |
+
<h3 class="text-lg font-medium mb-4">配送方式</h3>
|
| 356 |
+
<ul class="space-y-2 text-gray-300">
|
| 357 |
+
<li><a href="#" class="hover:text-white">上门自提</a></li>
|
| 358 |
+
<li><a href="#" class="hover:text-white">211限时达</a></li>
|
| 359 |
+
<li><a href="#" class="hover:text-white">配送服务查询</a></li>
|
| 360 |
+
<li><a href="#" class="hover:text-white">配送费收取标准</a></li>
|
| 361 |
+
</ul>
|
| 362 |
+
</div>
|
| 363 |
+
<div>
|
| 364 |
+
<h3 class="text-lg font-medium mb-4">支付方式</h3>
|
| 365 |
+
<ul class="space-y-2 text-gray-300">
|
| 366 |
+
<li><a href="#" class="hover:text-white">货到付款</a></li>
|
| 367 |
+
<li><a href="#" class="hover:text-white">在线支付</a></li>
|
| 368 |
+
<li><a href="#" class="hover:text-white">分期付款</a></li>
|
| 369 |
+
<li><a href="#" class="hover:text-white">公司转账</a></li>
|
| 370 |
+
</ul>
|
| 371 |
+
</div>
|
| 372 |
+
<div>
|
| 373 |
+
<h3 class="text-lg font-medium mb-4">售后服务</h3>
|
| 374 |
+
<ul class="space-y-2 text-gray-300">
|
| 375 |
+
<li><a href="#" class="hover:text-white">售后政策</a></li>
|
| 376 |
+
<li><a href="#" class="hover:text-white">价格保护</a></li>
|
| 377 |
+
<li><a href="#" class="hover:text-white">退款说明</a></li>
|
| 378 |
+
<li><a href="#" class="hover:text-white">返修/退换货</a></li>
|
| 379 |
+
</ul>
|
| 380 |
+
</div>
|
| 381 |
+
</div>
|
| 382 |
+
|
| 383 |
+
<div class="border-t border-gray-700 mt-10 pt-6 flex flex-col md:flex-row justify-between items-center">
|
| 384 |
+
<div class="flex space-x-6 mb-4 md:mb-0">
|
| 385 |
+
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-weibo text-xl"></i></a>
|
| 386 |
+
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-weixin text-xl"></i></a>
|
| 387 |
+
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-qq text-xl"></i></a>
|
| 388 |
+
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-tiktok text-xl"></i></a>
|
| 389 |
+
</div>
|
| 390 |
+
<div class="text-gray-400 text-sm">
|
| 391 |
+
© 2023 OPPO 版权所有 ICP备案号:粤ICP备14056724号-2
|
| 392 |
+
</div>
|
| 393 |
+
</div>
|
| 394 |
+
</div>
|
| 395 |
+
</footer>
|
| 396 |
+
|
| 397 |
+
<!-- 返回顶部 -->
|
| 398 |
+
<button id="back-to-top" class="fixed bottom-8 right-8 bg-blue-600 text-white w-12 h-12 rounded-full flex items-center justify-center shadow-lg opacity-0 invisible transition-all duration-300">
|
| 399 |
+
<i class="fas fa-arrow-up"></i>
|
| 400 |
+
</button>
|
| 401 |
+
|
| 402 |
+
<!-- 购物车悬浮按钮 -->
|
| 403 |
+
<div class="fixed bottom-8 left-8 bg-blue-600 text-white w-16 h-16 rounded-full flex items-center justify-center shadow-lg hover:bg-blue-700 cursor-pointer">
|
| 404 |
+
<div class="relative">
|
| 405 |
+
<i class="fas fa-shopping-cart text-2xl"></i>
|
| 406 |
+
<span class="absolute -top-2 -right-2 bg-red-500 text-white text-xs w-5 h-5 flex items-center justify-center rounded-full">3</span>
|
| 407 |
+
</div>
|
| 408 |
+
</div>
|
| 409 |
+
|
| 410 |
+
<script>
|
| 411 |
+
// 轮播图功能
|
| 412 |
+
let currentSlide = 0;
|
| 413 |
+
const slides = document.querySelectorAll('.banner-slide');
|
| 414 |
+
const dots = document.querySelectorAll('.banner-dot');
|
| 415 |
+
const totalSlides = slides.length;
|
| 416 |
+
|
| 417 |
+
function showSlide(index) {
|
| 418 |
+
slides.forEach((slide, i) => {
|
| 419 |
+
if (i === index) {
|
| 420 |
+
slide.classList.remove('inactive-slide');
|
| 421 |
+
slide.classList.add('active-slide');
|
| 422 |
+
} else {
|
| 423 |
+
slide.classList.remove('active-slide');
|
| 424 |
+
slide.classList.add('inactive-slide');
|
| 425 |
+
}
|
| 426 |
+
});
|
| 427 |
+
|
| 428 |
+
dots.forEach((dot, i) => {
|
| 429 |
+
if (i === index) {
|
| 430 |
+
dot.classList.add('active-dot');
|
| 431 |
+
dot.classList.remove('opacity-50');
|
| 432 |
+
} else {
|
| 433 |
+
dot.classList.remove('active-dot');
|
| 434 |
+
dot.classList.add('opacity-50');
|
| 435 |
+
}
|
| 436 |
+
});
|
| 437 |
+
|
| 438 |
+
currentSlide = index;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
function nextSlide() {
|
| 442 |
+
currentSlide = (currentSlide + 1) % totalSlides;
|
| 443 |
+
showSlide(currentSlide);
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
function prevSlide() {
|
| 447 |
+
currentSlide = (currentSlide - 1 + totalSlides) % totalSlides;
|
| 448 |
+
showSlide(currentSlide);
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
// 自动轮播
|
| 452 |
+
let slideInterval = setInterval(nextSlide, 5000);
|
| 453 |
+
|
| 454 |
+
// 点击指示器切换
|
| 455 |
+
dots.forEach((dot, i) => {
|
| 456 |
+
dot.addEventListener('click', () => {
|
| 457 |
+
clearInterval(slideInterval);
|
| 458 |
+
showSlide(i);
|
| 459 |
+
slideInterval = setInterval(nextSlide, 5000);
|
| 460 |
+
});
|
| 461 |
+
});
|
| 462 |
+
|
| 463 |
+
// 左右箭头按钮
|
| 464 |
+
document.querySelector('.fa-chevron-left').parentElement.addEventListener('click', () => {
|
| 465 |
+
clearInterval(slideInterval);
|
| 466 |
+
prevSlide();
|
| 467 |
+
slideInterval = setInterval(nextSlide, 5000);
|
| 468 |
+
});
|
| 469 |
+
|
| 470 |
+
document.querySelector('.fa-chevron-right').parentElement.addEventListener('click', () => {
|
| 471 |
+
clearInterval(slideInterval);
|
| 472 |
+
nextSlide();
|
| 473 |
+
slideInterval = setInterval(nextSlide, 5000);
|
| 474 |
+
});
|
| 475 |
+
|
| 476 |
+
// 返回顶部按钮
|
| 477 |
+
const backToTopButton = document.getElementById('back-to-top');
|
| 478 |
+
|
| 479 |
+
window.addEventListener('scroll', () => {
|
| 480 |
+
if (window.pageYOffset > 300) {
|
| 481 |
+
backToTopButton.classList.remove('opacity-0', 'invisible');
|
| 482 |
+
backToTopButton.classList.add('opacity-100', 'visible');
|
| 483 |
+
} else {
|
| 484 |
+
backToTopButton.classList.remove('opacity-100', 'visible');
|
| 485 |
+
backToTopButton.classList.add('opacity-0', 'invisible');
|
| 486 |
+
}
|
| 487 |
+
});
|
| 488 |
+
|
| 489 |
+
backToTopButton.addEventListener('click', () => {
|
| 490 |
+
window.scrollTo({
|
| 491 |
+
top: 0,
|
| 492 |
+
behavior: 'smooth'
|
| 493 |
+
});
|
| 494 |
+
});
|
| 495 |
+
|
| 496 |
+
// 产品卡片悬停效果
|
| 497 |
+
const productCards = document.querySelectorAll('.product-card');
|
| 498 |
+
productCards.forEach(card => {
|
| 499 |
+
card.addEventListener('mouseenter', () => {
|
| 500 |
+
card.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease';
|
| 501 |
+
});
|
| 502 |
+
});
|
| 503 |
+
</script>
|
| 504 |
+
<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=Spinerce/oppo-store" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 505 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
帮我生成一个oppo商城的界面
|