配队模拟器:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
 
(未显示同一用户的31个中间版本)
第1行: 第1行:
{{ResourceLoader|TeamBuilder.js}}
{{面包屑}}
<div id="team-builder" style="display: flex; gap: 20px; padding: 20px; background: #2a2a2a; border-radius: 8px;">
{{施工中}}
 
{{提示|消息|宽度=100%|更新日志:
  <!-- 左侧区域 -->
*2025-10-19 BETA发布
  <div style="display: flex; flex-direction: column; gap: 15px;">
更新计划:
    <!-- 战斗员选择区 -->
*重新添加卡牌、调整卡牌顺序、添加中立卡牌
     <div id="character-slot" class="character-slot" style="width: 260px; height: 460px; background: #3a3a3a; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden;">
*UI美化
      <span style="color: #888; font-size: 48px;">+</span>
*Tootip信息}}
{{#Widget:配队模拟器}}
<div id="team-simulator">
<!-- 添加保存按钮 -->
<div style="padding: 20px; text-align: center;">
     <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>
     </div>
      
</div>
     <!-- 伙伴选择区 -->
 
    <div id="partner-slot" class="partner-slot" style="width: 150px; height: 77px; background: #3a3a3a; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden;">
<div id="team-content" style="background: white; padding: 20px; max-width: 1400px; margin: 0 auto;">
      <span style="color: #888; font-size: 24px;">+</span>
     <!-- 角色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 class="character-unit" data-unit-index="1" style="margin-bottom: 30px; padding: 20px; border: 2px solid #e0e0e0; border-radius: 10px;">
  <div style="flex: 1; display: flex; flex-direction: column; gap: 15px;">
        <div style="display: flex; gap: 20px;">
    <div id="deck-area" style="min-height: 400px; background: #3a3a3a; border-radius: 4px; padding: 20px;">
            <div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;">
      <div id="deck-cards" style="display: flex; flex-wrap: wrap; gap: 10px;">
                <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>
                <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; flex-direction: column; gap: 15px;">
        <div style="display: flex; gap: 20px;">
    <div id="weapon-slot" class="equip-slot" data-type="武器" style="width: 124px; height: 124px; background: #3a3a3a; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden;">
            <div style="display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;">
      <span style="color: #888; font-size: 32px;">+</span>
                <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 id="armor-slot" class="equip-slot" data-type="装甲" style="width: 124px; height: 124px; background: #3a3a3a; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden;">
</div>
      <span style="color: #888; font-size: 32px;">+</span>
 
    </div>
<!-- 卡牌选择弹窗 -->
    <div id="ring-slot" class="equip-slot" data-type="戒指" style="width: 124px; height: 124px; background: #3a3a3a; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; overflow: hidden;">
<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;">
      <span style="color: #888; font-size: 32px;">+</span>
    <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;">&times;</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>
 
</div>
</div>


<!-- 选择战斗员模态框 -->
<!-- 角色选择弹窗 -->
<div id="character-modal" class="tb-modal" style="display: none;">
<div id="character-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 class="tb-modal-content" style="max-width: 90vw; max-height: 90vh; overflow: auto; background: #2a2a2a; padding: 20px; border-radius: 8px;">
    <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 class="tb-modal-close" style="position: sticky; top: 0; right: 0; text-align: right; cursor: pointer; font-size: 24px; color: white;">×</div>
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
    <h3 style="color: white; margin-bottom: 20px;">选择战斗员</h3>
            <h3 style="margin: 0;">选择战斗员</h3>
    <div id="character-list">
            <span id="close-character-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">&times;</span>
      {{#ask:[[分类:战斗员]]
        </div>
      |?名称
        <div id="character-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;">
      |?稀有度
            {{#ask:[[分类:战斗员]]
      |?职业
            |?名称
      |?属性
            |?稀有度
      |sort=实装日期,稀有度,id
            |?职业
      |order=desc,desc,desc
            |?属性
      |mainlabel=-
            |sort=实装日期,稀有度,id
      |link=none
            |order=desc,desc,desc
      |template=配队/战斗员
            |mainlabel=-
      |headers=hide
            |link=none
      |format=template
            |template=配队/战斗员
      |limit=1000
            |headers=hide
      }}
            |format=template
            |limit=1000
            }}
        </div>
     </div>
     </div>
  </div>
</div>
</div>


<!-- 选择伙伴模态框 -->
<!-- 伙伴选择弹窗 -->
<div id="partner-modal" class="tb-modal" style="display: none;">
<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 class="tb-modal-content" style="max-width: 90vw; max-height: 90vh; overflow: auto; background: #2a2a2a; padding: 20px; border-radius: 8px;">
    <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 class="tb-modal-close" style="position: sticky; top: 0; right: 0; text-align: right; cursor: pointer; font-size: 24px; color: white;">×</div>
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
    <h3 style="color: white; margin-bottom: 20px;">选择伙伴</h3>
            <h3 style="margin: 0;">选择伙伴</h3>
    <div id="partner-list">
            <span id="close-partner-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">&times;</span>
      {{#ask:[[分类:伙伴]]
        </div>
      |?名称
        <div id="partner-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;">
      |?稀有度
            {{#ask:[[分类:伙伴]]
      |?职业
            |?名称
      |?属性
            |?稀有度
      |?id
            |?职业
      |sort=实装日期,稀有度,id
            |?id
      |order=desc,desc,desc
            |sort=实装日期,稀有度,id
      |mainlabel=-
            |order=desc,desc,desc
      |link=none
            |mainlabel=-
      |template=配队/伙伴
            |link=none
      |headers=hide
            |template=配队/伙伴
      |format=template
            |headers=hide
      |limit=1000
            |format=template
      }}
            |limit=1000
            }}
        </div>
     </div>
     </div>
  </div>
</div>
</div>


<!-- 选择装备模态框 -->
<!-- 装备选择弹窗 -->
<div id="equipment-modal" class="tb-modal" style="display: none;">
<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 class="tb-modal-content" style="max-width: 90vw; max-height: 90vh; overflow: auto; background: #2a2a2a; padding: 20px; border-radius: 8px;">
    <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 class="tb-modal-close" style="position: sticky; top: 0; right: 0; text-align: right; cursor: pointer; font-size: 24px; color: white;">×</div>
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
    <h3 id="equipment-modal-title" style="color: white; margin-bottom: 20px;">选择装备</h3>
            <h3 id="equipment-modal-title" style="margin: 0;">选择装备</h3>
    <div id="equipment-list"></div>
            <span id="close-equipment-modal" style="font-size: 24px; cursor: pointer; padding: 5px;">&times;</span>
  </div>
        </div>
        <div id="equipment-list" style="display: flex; flex-wrap: wrap; gap: 0px; justify-content: center;">
            <!-- 装备列表将动态加载 -->
        </div>
    </div>
</div>
</div>
<!-- 卡牌显示区域 -->
<div id="card-display-area" style="margin-top: 20px;">
  <h3 style="color: white;">当前卡组</h3>
  <div id="selected-cards" style="display: flex; flex-wrap: wrap; gap: 10px; padding: 20px; background: #3a3a3a; border-radius: 4px; min-height: 200px;"></div>
</div>
</div>

2025年11月1日 (六) 16:54的最新版本

如果您发现WIKI上的错误,请加入:1033192730联系站点工作人员处理
本页面内容正在施工!
在页面内容完成前,请勿随意修改!对本页面内容产生疑问或有意见提出时,请联系站点管理人员!
更新日志:
  • 2025-10-19 BETA发布

更新计划:

  • 重新添加卡牌、调整卡牌顺序、添加中立卡牌
  • UI美化
  • Tootip信息

       保存为图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+