js调用 iTunes 搜索api 实现海报封面搜索及SVG 图标编辑器代码
代码语言:html
所属分类:其他
代码描述:js调用 iTunes 搜索api 实现海报封面搜索及SVG 图标编辑器代码
代码标签: js 调用 iTunes 搜索 api 实现 海报 封面 搜索 SVG 图标 编辑器 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iTunes 搜索 & SVG 图标编辑器</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #FC3C44;
--secondary: #FA57F1;
--dark: #1a1a2e;
--light: #f8f9fa;
--gray: #6c757d;
--success: #28a745;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
overflow: hidden;
}
/* Header */
.header {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
padding: 30px 40px;
color: white;
}
.header h1 {
font-size: 32px;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 12px;
}
.header p {
opacity: 0.9;
font-size: 14px;
}
/* Search Section */
.search-section {
padding: 30px 40px;
background: #f8f9fa;
border-bottom: 1px solid #dee2e6;
}
.search-box {
display: flex;
gap: 12px;
margin-bottom: 20px;
}
.search-input-wrapper {
flex: 1;
position: relative;
}
.search-input {
width: 100%;
padding: 14px 20px 14px 48px;
border: 2px solid #dee2e6;
border-radius: 12px;
font-size: 15px;
transition: all 0.3s;
}
.search-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(252, 60, 68, 0.1);
}
.search-icon {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: var(--gray);
}
.search-btn {
padding: 14px 32px;
background: var(--primary);
color: white;
border: none;
border-radius: 12px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.search-btn:hover {
background: #e63339;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(252, 60, 68, 0.3);
}
.filters {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.filter-btn {
padding: 8px 16px;
background: white;
border: 2px solid #dee2e6;
border-radius: 20px;
font-size: 13px;
cursor: pointer;
transition: all 0.3s;
}
.filter-btn:hover {
border-color: var(--primary);
color: var(--primary);
}
.filter-btn.active {
background: var(--primary);
color: white;
border-color: var(--primary);
}
/* Main Content */
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0