🗣 Wd提问: 域名出售网页
🤖 Ai回答: 域名交易平台 设计与实现
我将创建一个专业的域名交易平台,包含域名展示、搜索筛选、详情查看和购买功能。
设计思路
使用深色主题营造专业感
顶部导航栏包含品牌标识和用户操作
搜索和筛选区域便于快速查找域名
响应式卡片布局展示域名信息
交互式购买流程
域名详情弹窗
下面是完整的实现代码:
html
<!DOCTYPE html
<html lang=zh-CN
<head
<meta charset=UTF-8
<meta name=viewport content=width=device-width, initial-scale=1.0
<title域名交易平台 | 优质域名出售</title
<link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css
<style
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
primary: 2a2f4f;
secondary: 4e4376;
accent: f8b739;
light: f5f5f5;
dark: 1a1a2e;
success: 28a745;
danger: dc3545;
}
body {
background: linear-gradient(135deg, var(dark), var(primary));
color: var(light);
min-height: 100vh;
padding-bottom: 50px;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
/* 导航栏样式 */
header {
background-color: rgba(26, 26, 46, 0.9);
backdrop-filter: blur(10px);
padding: 15px 0;
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
font-size: 1.5rem;
font-weight: 700;
color: var(accent);
}
.logo i {
font-size: 1.8rem;
}
.nav-links {
display: flex;
gap: 25px;
}
.nav-links a {
color: var(light);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: var(accent);
}
.user-actions {
display: flex;
gap: 15px;
}
.btn {
padding: 8px 20px;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
border: none;
font-size: 0.9rem;
}
.btn-outline {
background: transparent;
border: 2px solid var(accent);
color: var(accent);
}
.btn-primary {
background-color: var(accent);
color: var(dark);
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* 头部区域 */
.hero {
padding: 60px 0;
text-align: center;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 15px;
background: linear-gradient(to right, var(accent), ffde7d);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 30px;
color: rgba(255, 255, 255, 0.8);
line-height: 1.6;
}
/* 搜索和筛选区域 */
.search-section {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 25px;
margin-bottom: 40px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.search-box {
display: flex;
margin-bottom: 20px;
}
.search-box input {
flex: 1;
padding: 15px;
border-radius: 5px 0 0 5px;
border: none;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 1rem;
}
.search-box button {
padding: 0 25px;
border-radius: 0 5px 5px 0;
border: none;
background: var(accent);
color: var(dark);
font-weight: 600;
cursor: pointer;
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.filter-group {
flex: 1;
min-width: 200px;
}
.filter-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.filter-group select {
width: 100%;
padding: 12px;
border-radius: 5px;
border: none;
background: rgba(255, 255, 255, 0.1);
color: white;
}
/* 域名列表 */
.domains-section h2 {
margin-bottom: 25px;
font-size: 2rem;
display: flex;
align-items: center;
gap: 10px;
}
.domains-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 25px;
}
.domain-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
overflow: hidden;
transition: all 0.3s;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.domain-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
border-color: rgba(248, 183, 57, 0.3);
}
.domain-header {
padding: 20px;
background: rgba(78, 67, 118, 0.3);
text-align: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.domain-name {
font-size: 1.5rem;
font-weight: 700;
color: var(accent);
margin-bottom: 5px;
}
.domain-extension {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}
.domain-body {
padding: 20px;
}
.domain-price {
font-size: 1.8rem;
font-weight: 700;
text-align: center;
margin-bottom: 15px;
color: var(accent);
}
.domain-meta {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}
.domain-description {
margin-bottom: 20px;
font-size: 0.95rem;
line-height: 1.5;
height: 70px;
overflow: hidden;
}
.domain-actions {
display: flex;
gap: 10px;
}
.domain-actions .btn {
flex: 1;
text-align: center;
padding: 10px;
font-size: 0.9rem;
}
/* 弹窗样式 */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
📣 商家广告:





0
IP地址: 177.4.1.248
搜索次数: 8
提问时间: 2025-10-26 10:49:45
🛒 域名购买:
8.sx.cn
yrnz.cn
26.gold
v.jl.cn
tc.gs
32.cx
kou.red
zhanwai.cn
cisou.com.cn
58.gold
❓️ 热门提问:
便宜的学生云服务器
香港vps一年
服务器外包托管
香港性价比高vps
5p机房专用空调
动态ip服务器秒换ip
香港哪个服务器好
PHP二次开发云存储
项目管理工具Jira
电商网页设计网站
豌豆Ai站群搜索引擎系统
🌐 域名评估:
6-6.com.cn
xiht.cn
w81.net
su7.yn.cn
spgq.cn
oo.he.cn
deepseek.ac.cn
aifair.biz
46.gs
tesla.ln.cn
⛏ 最新挖掘:
凯里酸汤鱼
贵阳烤脑花
都匀毛尖茶
花溪牛肉粉
贵阳烤生蚝
贵阳烤豆腐
贵阳纸包鱼
贵阳特色菜
🖌 热门作画:
🤝 关于我们:
豌豆Ai
域名
建站
站群
留痕
推广
评估
源码
开发Ai
工具
日记
价格
加盟
广告
流量
留言
联系
🗨 加入群聊:
🔗 友情链接:
站搜
贵阳洁净车间
ai提问
🧰 站长工具:
Ai工具 whois查询 搜索
📢 温馨提示:本站所有问答由Ai自动创作,内容仅供参考,若有误差请用“联系”里面信息通知我们人工修改或删除。
👉 技术支持:本站由豌豆Ai提供技术支持,使用的最新版:《豌豆Ai站群搜索引擎系统 V.25.10.25》搭建本站。