未登录
中文(中国大陆)
创建账号
登录
SOKA CAFE
搜索
查看“测试”的源代码
来自SOKA CAFE
命名空间
页面
讨论
更多
更多
页面操作
阅读
查看源代码
历史
←
测试
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>B站视频卡片</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #f5f7fa; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; display: flex; justify-content: center; } /* 响应式容器:手机100%,平板/电脑60% */ .video-card-container { width: 100%; max-width: 60vw; /* 默认电脑/平板宽度 */ margin: 0 auto; } @media (max-width: 768px) { .video-card-container { max-width: 100% !important; /* 手机强制100% */ padding: 0 8px; /* 避免贴边 */ } } /* 卡片主体 */ .video-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); font-family: "Microsoft YaHei", sans-serif; } /* B站视频容器(16:9比例) */ .bilibili-container { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */ background: #000; border-radius: 16px 16px 0 0; overflow: hidden; } .bilibili-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; } /* 底部信息区 */ .info-section { padding: 18px; } .user-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } .user-left { display: flex; align-items: center; gap: 10px; } .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ff4d85, #ff8a50); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 14px; } .username { font-size: 15px; font-weight: 600; color: #18191c; } /* 详情页按钮改为链接 */ .detail-link { background: linear-gradient(120deg, #ff4d85, #ff6b6b); color: white; text-decoration: none; border-radius: 20px; padding: 5px 16px; font-size: 13px; font-weight: 500; display: inline-block; transition: all 0.2s; box-shadow: 0 2px 6px rgba(255, 77, 133, 0.3); } .detail-link:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(255, 77, 133, 0.4); } .title { font-size: 17px; font-weight: 700; color: #18191c; line-height: 1.5; margin-bottom: 10px; word-break: break-word; } .metadata { font-size: 12.5px; color: #8e8e93; margin-bottom: 14px; line-height: 1.6; } .tags { display: flex; flex-wrap: wrap; gap: 8px; } .tag { background: #f0f2f5; color: #51545d; border-radius: 14px; padding: 3px 10px; font-size: 12px; white-space: nowrap; } </style> </head> <body> <div class="video-card-container"> <div class="video-card"> <!-- B站视频嵌入(修正BV号格式) --> <div class="bilibili-container"> <iframe src="https://player.bilibili.com/player.html?bvid=BV1eXSMYVEcc&page=1&autoplay=0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen> </iframe> </div> <div class="info-section"> <div class="user-info"> <div class="user-left"> <div class="avatar">H</div> <span class="username">H娘</span> </div> <!-- 详情页跳转链接(修正BV号) --> <a href="https://www.bilibili.com/video/BV1eXSMYVEcc" target="_blank" rel="noopener noreferrer" class="detail-link"> + 详情页 </a> </div> <div class="title">【创价】久本五月病 【久本信仰祭16】</div> <div class="metadata"> sm16495736 • 2016年5月3日 00:06 (UTC+9) </div> <div class="tags"> <span class="tag">宗教都市祭</span> <span class="tag">久本投稿祭'25</span> <span class="tag">エア本</span> </div> </div> </div> </div> </body> </html>
返回
测试
。
导航
导航
首页
最近更改
随机页面
知识集锦
活动公告
讨论版块
档案区
人物图鉴
团体势力
地点区域
登场作品
历史事件
创作区
词典概念
作品推荐
世界设定
创作作者
创作团体
编辑帮助
查找页面
入站须知
测试页面
任务计划
官方教程
wiki工具
wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志