打开/关闭搜索
搜索
打开/关闭菜单
1001
1617
117
1.5万
植物大战僵尸杂交版Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
上传文件
打开/关闭外观设置菜单
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
如您想编辑,请先
注册
查看“︁微件:DownloadCard”︁的源代码
来自植物大战僵尸杂交版Wiki
查看
阅读
查看源代码
查看历史
associated-pages
微件
讨论
更多操作
←
微件:DownloadCard
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您没有权限编辑
微件
命名空间内的页面。
您可以查看和复制此页面的源代码。
<includeonly> <style> .download-card { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 16px; transition: all 0.2s; text-decoration: none; color: inherit; max-width: 500px; } .download-card:hover { border-color: #4CAF50; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .download-card .dc-icon { width: 32px; height: 32px; flex-shrink: 0; margin-top: 2px; } .download-card .dc-body { flex: 1; min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } .download-card .dc-left { min-width: 0; } .download-card .dc-header { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .download-card .dc-version { font-size: 14px; font-weight: bold; color: #111; } .download-card .dc-badge-new { background: #22c55e; color: #fff; padding: 1px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; line-height: 1.4; border: 1px solid #22c55e; } .download-card .dc-badge-type { border: 1px solid #86efac; color: #15803d; padding: 1px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.4; } .download-card .dc-date { font-size: 12px; color: #9ca3af; margin-top: 2px; } .download-card .dc-download { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: #16a34a; white-space: nowrap; flex-shrink: 0; padding-top: 2px; transition: transform 0.2s; } .download-card:hover .dc-download { transform: translateX(2px); } .download-card .dc-download svg { width: 14px; height: 14px; } </style> <div class="download-card-wrap"></div> <script> (function() { var url = '<!--{$url|escape:'html'}-->'; var icon = '<!--{$icon|escape:'html'}-->'; var version = '<!--{$version|escape:'html'}-->'; var date = '<!--{$date|escape:'html'}-->'; var showNew = '<!--{$new|escape:'html'}-->'; var typeText = '<!--{$type|escape:'html'}-->'; var tagsHtml = ''; if (showNew === '1') tagsHtml += '<span class="dc-badge-new">最新</span>'; if (typeText) tagsHtml += '<span class="dc-badge-type">' + typeText + '</span>'; var card = document.createElement('a'); card.className = 'download-card'; card.href = url; card.target = '_blank'; card.rel = 'noreferrer'; card.innerHTML = '<img src="' + icon + '" class="dc-icon" alt="">' + '<div class="dc-body">' + '<div class="dc-left">' + '<div class="dc-header">' + '<span class="dc-version">' + version + '</span>' + tagsHtml + '</div>' + '<div class="dc-date">' + date + '</div>' + '</div>' + '<span class="dc-download">下载' + '<svg fill="none" viewBox="0 0 24 24" stroke="currentColor">' + '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"></path>' + '</svg>' + '</span>' + '</div>'; document.querySelector('.download-card-wrap').appendChild(card); })(); </script> </includeonly>
返回
微件:DownloadCard
。
查看“︁微件:DownloadCard”︁的源代码
来自植物大战僵尸杂交版Wiki