Browse Source

增加cost显示

tags/v8.0
枫谷剑仙 6 years ago
parent
commit
385673769a
10 changed files with 45 additions and 4 deletions
  1. +3
    -0
      languages/en.css
  2. +3
    -0
      languages/ja.css
  3. +3
    -0
      languages/ko.css
  4. +6
    -0
      languages/zh-CN.css
  5. +6
    -0
      languages/zh-TW.css
  6. +6
    -0
      languages/zh.css
  7. +1
    -0
      multi.html
  8. +2
    -0
      script.js
  9. +1
    -0
      solo.html
  10. +14
    -4
      style.css

+ 3
- 0
languages/en.css View File

@@ -51,6 +51,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "COST:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼Monster Level";
}


+ 3
- 0
languages/ja.css View File

@@ -41,6 +41,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "コスト:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼モンスターレベル";
}


+ 3
- 0
languages/ko.css View File

@@ -41,6 +41,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "코스트:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼몬스터 레벨";
}


+ 6
- 0
languages/zh-CN.css View File

@@ -5,6 +5,9 @@
.status.loading-skill-info .text::before{
content: "正在加载技能数据,请稍候。";
}
.help-link::before{
content: "帮助和提示";
}
.delay .monster::before{
content: "应 对\A威 吓";
}
@@ -50,6 +53,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "消耗:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼怪物等级";
}


+ 6
- 0
languages/zh-TW.css View File

@@ -5,6 +5,9 @@
.status.loading-skill-info .text::before{
content: "正在載入技能数据,请稍候。";
}
.help-link::before{
content: "幫助和提示";
}
.delay .monster::before{
content: "應 對\A威 嚇";
}
@@ -50,6 +53,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "消耗:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼怪物等級";
}


+ 6
- 0
languages/zh.css View File

@@ -5,6 +5,9 @@
.status.loading-skill-info .text::before{
content: "正在加载技能数据,请稍候。";
}
.help-link::before{
content: "帮助和提示";
}
.delay .monster::before{
content: "应 对\A威 吓";
}
@@ -50,6 +53,9 @@
.monsterinfo-box .monster-id::before{
content: "No.";
}
.monsterinfo-box .monster-cost::before{
content: "消耗:";
}
.edit-box .setting-box .row-mon-level::before{
content: "▼怪物等级";
}


+ 1
- 0
multi.html View File

@@ -430,6 +430,7 @@ var formation = new Formation(2,5);
</div>
<div class="monster-id"></div>
<div class="monster-rare"></div>
<div class="monster-cost"></div>
<div class="monster-name"></div>
<ul class="monster-type">
<li class="type-name"><div class="type-icon"></div></li>


+ 2
- 0
script.js View File

@@ -1465,6 +1465,8 @@ function editBoxChangeMonId(id)
mId.innerHTML = id;
const mRare = monInfoBox.querySelector(".monster-rare");
mRare.className = "monster-rare rare-" + card.rarity;
const mCost = monInfoBox.querySelector(".monster-cost");
mCost.innerHTML = card.cost;
const mName = monInfoBox.querySelector(".monster-name");
mName.innerHTML = returnMonsterNameArr(card, currentLanguage.searchlist, currentDataSource.code)[0];



+ 1
- 0
solo.html View File

@@ -386,6 +386,7 @@ var formation = new Formation(1,6);
</div>
<div class="monster-id"></div>
<div class="monster-rare"></div>
<div class="monster-cost"></div>
<div class="monster-name"></div>
<ul class="monster-type">
<li class="type-name"><div class="type-icon"></div></li>


+ 14
- 4
style.css View File

@@ -30,7 +30,7 @@ body{
opacity: 0.5;
}
.help-link::before{
content: "帮助和提示";
content: "Help & Tips";
}
.title{
font-size: 2em;
@@ -698,15 +698,21 @@ ul{
float: left;
margin-right:5px;
}
.monsterinfo-box .monster-id{
.monsterinfo-box .monster-id,
.monsterinfo-box .monster-rare,
.monsterinfo-box .monster-cost
{
display:inline-block;
}
.monsterinfo-box .monster-id{
width:150px;
}
/*.monsterinfo-box .monster-id::before{
content: "No.";
}*/

.monsterinfo-box .monster-rare{
display:inline-block;
width: 230px;
}
.monsterinfo-box .monster-rare::before{
color:gold;
@@ -722,7 +728,11 @@ ul{
.rare-8::before{content: "★★★★★★★★";}
.rare-9::before{content: "★★★★★★★★★";}
.rare-10::before{content: "★★★★★★★★★★";}
.monsterinfo-box .monster-id,.monsterinfo-box .monster-rare,.monsterinfo-box .monster-name{
.monsterinfo-box .monster-id,
.monsterinfo-box .monster-rare,
.monsterinfo-box .monster-cost,
.monsterinfo-box .monster-name
{
vertical-align: top;
margin:0;
height: 34px;


Loading…
Cancel
Save