模板:ShowAd/Render:修订间差异
来自Blockland Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<div style="border: 1px solid # | <div style="border: 1px solid #e1e4e8; background: #ffffff; border-radius: 16px; margin: 20px auto; max-width: 360px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: transform 0.2s ease;"> | ||
<div style="font-size: | <div style="font-size: 10px; color: #a0a0a0; text-align: right; padding: 8px 16px; background: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;"> | ||
Sponsored Content | |||
</div> | |||
<div style="background: # | <div style="background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); text-align: center; line-height: 0; position: relative;"> | ||
{{#if: {{{Image|}}} | {{#if: {{{Image|}}} | ||
| [[File:{{{Image}}}|350px|link={{{Link|}}}]] | | [[File:{{{Image}}}|350px|link={{{Link|}}}]] | ||
| <div style="padding: | | <div style="padding: 60px 20px; color: #7f8c8d; font-size: 14px;"> | ||
<div style="font-size: 24px; margin-bottom: 8px;">🖼️</div> | |||
<span style="letter-spacing: 1px;">预览图准备中</span> | |||
</div> | |||
}} | }} | ||
</div> | </div> | ||
<div style="padding: | <div style="padding: 20px; text-align: left;"> | ||
<div style="font-weight: | <div style="margin-bottom: 12px;"> | ||
<a href="{{{Link|#}}}" style="text-decoration: none;"> | |||
<div style="font-weight: 800; font-size: 1.4em; color: #1a1a1a; line-height: 1.2; margin-bottom: 8px; transition: color 0.2s;"> | |||
{{{AdName|未命名广告}}} | |||
</div> | |||
</a> | |||
<div style="font-size: 1em; color: #57606a; line-height: 1.5; font-style: normal; border-left: 3px solid #007AFF; padding-left: 12px; margin-top: 10px;"> | |||
{{#if: {{{Slogan|}}} | “{{{Slogan}}}” | 探索更多精彩内容 }} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
<div style=" | <div style="padding: 12px 20px; background: #f9fafb; border-top: 1px solid #f1f1f1; display: flex; align-items: center; justify-content: space-between;"> | ||
<div style="display: flex; align-items: center;"> | |||
<span style="color: # | <div style="width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; margin-right: 8px;"></div> | ||
<span style="color: #6a737d; font-size: 12px;">发布机构</span> | |||
</div> | |||
<span style="color: #007AFF; font-size: 12px; font-weight: 600; background: rgba(0,122,255,0.08); padding: 4px 10px; border-radius: 20px;"> | |||
{{{Company|未知机构}}} | |||
</span> | |||
</div> | </div> | ||
</div> | </div> | ||