vue3实现短剧类app播放解锁剧集充值ui原型图代码
代码语言:html
所属分类:其他
代码描述:vue3实现短剧类app播放解锁剧集充值ui原型图代码
代码标签: vue 短剧 app 播放 解锁 剧集 充值 ui 原型图 代码
下面为部分代码预览,完整代码请点击下载或在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>Vue3 短剧App</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue3.2.22.js"></script> <style> /* 全局样式 */ :root { --primary-color: #ff4757; --bg-color: #121212; --surface-color: #1e1e1e; --text-color: #e0e0e0; --text-secondary-color: #a0a0a0; --border-color: #333; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; } #app { max-width: 480px; margin: 0 auto; background-color: var(--bg-color); min-height: 100vh; position: relative; padding-bottom: 70px; /* 为底部导航栏留出空间 */ } /* SVG 图标 */ .icon { width: 24px; height: 24px; fill: currentColor; } /* 按钮 */ .btn { padding: 10px 15px; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: background-color 0.3s; } .btn-primary { background-color: var(--primary-color); color: white; font-weight: bold; } .btn-primary:hover { background-color: #e04050; } /* 页面容器 */ .page-container { padding: 15px; } /* 底部导航栏 */ .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; height: 60px; background-color: var(--surface-color); border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; align-items: center; } .nav-item { cursor: pointer; text-align: center; color: var(--text-secondary-color); transition: color 0.3s; } .nav-item.active { color: var(--primary-color); } .nav-item .icon { margin-bottom: 2px; } .nav-item span { font-size: 12px; display: block; } /* 首页样式 */ .drama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } .drama-card { background-color: var(--surface-color); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.3s; } .drama-card:hover { transform: translateY(-5px); } .drama-card img { width: 100%; height: 250px; object-fit: cover; } .drama-card-info { padding: 10px; } .drama-card-title { font-size: 16px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* 详情页样式 */ .detail-header { display: flex; gap: 15px; margin-bottom: 20px; } .detail-header img { width: 120px; height: 160px; object-fit: cover; border-radius: 8px; } .detail-info { flex: 1; } .detail-title { font-size: 22px; font-weight: bold; margin.........完整代码请登录后点击上方下载按钮下载查看
网友评论0