配队模拟器:修订间差异
来自卡厄思梦境WIKI
小无编辑摘要 标签:已被回退 |
小无编辑摘要 |
||
| (未显示同一用户的17个中间版本) | |||
| 第1行: | 第1行: | ||
{{# | {{面包屑}} | ||
{{施工中}} | |||
{{提示|消息|宽度=100%|更新日志: | |||
*2025-10-19 BETA发布 | |||
更新计划: | |||
*重新添加卡牌、调整卡牌顺序、添加中立卡牌 | |||
*UI美化 | |||
*Tootip信息}} | |||
{{#Widget:配队模拟器}} | |||
<div id="team-simulator"> | <div id="team-simulator"> | ||
<!-- 添加保存按钮 --> | |||
<!-- | <div style="padding: 20px; text-align: center;"> | ||
<div style=" | <div id="save-team-btn" style="display: inline-block; padding: 12px 30px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); user-select: none; transition: all 0.3s;"> | ||
保存为图片 | |||
<div id=" | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- | |||
<div style="flex: | <div id="team-content" style="background: white; padding: 20px; max-width: 1400px; margin: 0 auto;"> | ||
<!-- 角色1 --> | |||
<div class="character-unit" data-unit-index="0" style="margin-bottom: 30px; padding: 20px; border: 2px solid #e0e0e0; border-radius: 10px;"> | |||
<div style="display: flex; gap: 20px;"> | |||
<!-- 左侧区域 --> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<!-- 战斗员选择 --> | |||
<div class="character-slot" style="width: 159px; height: 265px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white; position: relative;"> | |||
<div class="placeholder" style="font-size: 48px; color: #ccc;">+</div> | |||
</div> | |||
<!-- 伙伴选择 --> | |||
<div class="partner-slot" style="width: 159px; height: 77px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div class="placeholder" style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
<!-- 中部卡组区域 --> | |||
<div style="flex: 1; min-width: 0;"> | |||
<div class="deck-area" style="display: flex; flex-wrap: wrap; gap: 0px; min-height: 360px; padding: 0px; border: 2px dashed #ccc; border-radius: 4px; cursor: pointer; background: white; align-items: flex-start; align-content: flex-start;"> | |||
<div class="deck-placeholder" style="width: 100%; text-align: center; font-size: 48px; color: #ccc; line-height: 330px;">+</div> | |||
</div> | |||
</div> | |||
<!-- 右侧区域 --> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<!-- 武器 --> | |||
<div class="weapon-slot equipment-slot" data-equipment-type="weapon" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<!-- 装甲 --> | |||
<div class="armor-slot equipment-slot" data-equipment-type="armor" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<!-- 戒指 --> | |||
<div class="ring-slot equipment-slot" data-equipment-type="ring" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | |||
< | <!-- 角色2 --> | ||
<div style="width: | <div class="character-unit" data-unit-index="1" style="margin-bottom: 30px; padding: 20px; border: 2px solid #e0e0e0; border-radius: 10px;"> | ||
<div style="display: flex; gap: 20px;"> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<div class="character-slot" style="width: 159px; height: 265px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white; position: relative;"> | |||
<div class="placeholder" style="font-size: 48px; color: #ccc;">+</div> | |||
</div> | |||
<div class="partner-slot" style="width: 159px; height: 77px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div class="placeholder" style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
<div style="flex: 1; min-width: 0;"> | |||
<div class="deck-area" style="display: flex; flex-wrap: wrap; gap: 0px; min-height: 360px; padding: 0px; border: 2px dashed #ccc; border-radius: 4px; cursor: pointer; background: white; align-items: flex-start; align-content: flex-start;"> | |||
<div class="deck-placeholder" style="width: 100%; text-align: center; font-size: 48px; color: #ccc; line-height: 330px;">+</div> | |||
</div> | |||
</div> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<div class="weapon-slot equipment-slot" data-equipment-type="weapon" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<div class="armor-slot equipment-slot" data-equipment-type="armor" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<div class="ring-slot equipment-slot" data-equipment-type="ring" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
<!-- | |||
<div | <!-- 角色3 --> | ||
<div class="character-unit" data-unit-index="2" style="margin-bottom: 30px; padding: 20px; border: 2px solid #e0e0e0; border-radius: 10px;"> | |||
<div style="display: flex; gap: 20px;"> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<div class="character-slot" style="width: 159px; height: 265px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white; position: relative;"> | |||
<div class="placeholder" style="font-size: 48px; color: #ccc;">+</div> | |||
</div> | |||
<div class="partner-slot" style="width: 159px; height: 77px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div class="placeholder" style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
<div style="flex: 1; min-width: 0;"> | |||
<div class="deck-area" style="display: flex; flex-wrap: wrap; gap: 0px; min-height: 360px; padding: 0px; border: 2px dashed #ccc; border-radius: 4px; cursor: pointer; background: white; align-items: flex-start; align-content: flex-start;"> | |||
<div class="deck-placeholder" style="width: 100%; text-align: center; font-size: 48px; color: #ccc; line-height: 330px;">+</div> | |||
</div> | |||
</div> | |||
<div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;"> | |||
<div class="weapon-slot equipment-slot" data-equipment-type="weapon" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<div class="armor-slot equipment-slot" data-equipment-type="armor" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
<div class="ring-slot equipment-slot" data-equipment-type="ring" style="width: 100px; height: 100px; border: 2px dashed #ccc; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: white;"> | |||
<div style="font-size: 24px; color: #ccc;">+</div> | |||
</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
<!-- 卡牌选择弹窗 --> | |||
<div id="card-modal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; overflow-y: auto;"> | |||
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; border-radius: 10px; max-width: 90%; max-height: 80%; overflow: auto; min-width: 600px;"> | |||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;"> | |||
<h3 id="card-modal-title" style="margin: 0;">添加卡牌</h3> | |||
<span id="close-card-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">×</span> | |||
</div> | |||
<!-- 卡牌类型选择标签 --> | |||
<div style="display: flex; gap: 0px; margin-bottom: 20px; border-bottom: 2px solid #e0e0e0;"> | |||
<div class="card-type-tab active" data-type="character" style="padding: 10px 20px; cursor: pointer; border-bottom: 3px solid #667eea; font-weight: bold;">战斗员卡牌</div> | |||
<div class="card-type-tab" data-type="neutral" style="padding: 10px 20px; cursor: pointer; border-bottom: 3px solid transparent;">中立卡牌</div> | |||
<div class="card-type-tab" data-type="monster" style="padding: 10px 20px; cursor: pointer; border-bottom: 3px solid transparent;">怪物卡牌</div> | |||
</div> | |||
<!-- 卡牌列表容器 --> | |||
<div id="card-selection-list" style="display: flex; flex-wrap: wrap; gap: | |||
0px; justify-content: center; min-height: 200px;"> | |||
<div style="color:#999;font-size:18px;">加载中...</div> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
| 第45行: | 第146行: | ||
<span id="close-character-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">×</span> | <span id="close-character-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">×</span> | ||
</div> | </div> | ||
<div id="character-list" style="display: flex; flex-wrap: wrap; gap: | <div id="character-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;"> | ||
{{#ask:[[分类:战斗员]] | {{#ask:[[分类:战斗员]] | ||
|?名称 | |?名称 | ||
| 第60行: | 第161行: | ||
|limit=1000 | |limit=1000 | ||
}} | }} | ||
</div> | |||
</div> | |||
</div> | |||
<!-- 伙伴选择弹窗 --> | |||
<div id="partner-modal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000;"> | |||
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; border-radius: 10px; max-width: 90%; max-height: 80%; overflow: auto;"> | |||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;"> | |||
<h3 style="margin: 0;">选择伙伴</h3> | |||
<span id="close-partner-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">×</span> | |||
</div> | |||
<div id="partner-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;"> | |||
{{#ask:[[分类:伙伴]] | |||
|?名称 | |||
|?稀有度 | |||
|?职业 | |||
|?id | |||
|sort=实装日期,稀有度,id | |||
|order=desc,desc,desc | |||
|mainlabel=- | |||
|link=none | |||
|template=配队/伙伴 | |||
|headers=hide | |||
|format=template | |||
|limit=1000 | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<!-- 装备选择弹窗 --> | |||
<div id="equipment-modal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000;"> | |||
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; padding: 20px; border-radius: 10px; max-width: 90%; max-height: 80%; overflow: auto;"> | |||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;"> | |||
<h3 id="equipment-modal-title" style="margin: 0;">选择装备</h3> | |||
<span id="close-equipment-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">×</span> | |||
</div> | |||
<div id="equipment-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;"> | |||
<!-- 装备列表将动态加载 --> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
