Update icons
@ -4,6 +4,7 @@
|
||||
|
||||
import lodash from 'lodash'
|
||||
import moment from 'moment'
|
||||
|
||||
import Base from '../models/Base.js'
|
||||
import Character from '../models/Character.js'
|
||||
import { Data } from '#miao'
|
||||
@ -15,7 +16,6 @@ export default class Role extends Base {
|
||||
super()
|
||||
this.rounds = {}
|
||||
lodash.forEach(data.detail.rounds_data, (round) => {
|
||||
// TODO: Analyze Choice cards & buffs
|
||||
let tmp = {
|
||||
'is_get_medal': round.is_get_medal,
|
||||
'choice_cards': round.choice_cards,
|
||||
|
BIN
resources/stat/imgs/role/buffs/1.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
resources/stat/imgs/role/buffs/10.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
resources/stat/imgs/role/buffs/11.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
resources/stat/imgs/role/buffs/12.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
resources/stat/imgs/role/buffs/13.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
resources/stat/imgs/role/buffs/14.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
resources/stat/imgs/role/buffs/15.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
resources/stat/imgs/role/buffs/2.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
resources/stat/imgs/role/buffs/23.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/stat/imgs/role/buffs/24.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
resources/stat/imgs/role/buffs/25.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
resources/stat/imgs/role/buffs/26.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
resources/stat/imgs/role/buffs/3.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
resources/stat/imgs/role/buffs/4.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
resources/stat/imgs/role/buffs/6.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
resources/stat/imgs/role/buffs/8.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
resources/stat/imgs/role/buffs/9.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
resources/stat/imgs/role/choice_cards/1.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
resources/stat/imgs/role/choice_cards/1001.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
resources/stat/imgs/role/choice_cards/1002.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
resources/stat/imgs/role/choice_cards/1003.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
resources/stat/imgs/role/choice_cards/1004.png
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
resources/stat/imgs/role/choice_cards/2001.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
resources/stat/imgs/role/choice_cards/2002.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
resources/stat/imgs/role/choice_cards/2003.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
resources/stat/imgs/role/choice_cards/2004.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
resources/stat/imgs/role/choice_cards/3.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
resources/stat/imgs/role/choice_cards/3002.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
resources/stat/imgs/role/choice_cards/4.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
resources/stat/imgs/role/choice_cards/5.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
resources/stat/imgs/role/choice_cards/6.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
resources/stat/imgs/role/choice_cards/7.png
Normal file
After Width: | Height: | Size: 48 KiB |
@ -186,6 +186,34 @@ body,
|
||||
.role-buff .role-choice-cards-container .role-choice-cards-content {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
}
|
||||
.role-buff .role-choice-cards-container .role-choice-cards-content .role-content-container {
|
||||
width: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.role-buff .role-choice-cards-container .role-choice-cards-content .role-content-container-2 {
|
||||
width: 65px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.role-buff .role-choice-cards-container .role-choice-cards-content .role-content-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-size: cover;
|
||||
background-color: black;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.role-buff .role-choice-cards-container .role-choice-cards-content .role-content-name {
|
||||
width: 100%;
|
||||
color: rgba(100, 100, 100, 0.5);
|
||||
text-align: center;
|
||||
font-size: 9px;
|
||||
}
|
||||
.role-buff .role-choice-cards-container + .role-choice-cards-container {
|
||||
margin-top: 4%;
|
||||
|
@ -90,15 +90,29 @@
|
||||
</div>
|
||||
<div class="line"></div>
|
||||
<div class="role-buff">
|
||||
{{set buffs=round?.buff }}
|
||||
{{set buffs=round?.buffs }}
|
||||
<div class="role-choice-cards-container">
|
||||
<div class="role-choice-cards-header">奇妙助益</div>
|
||||
<div class="role-choice-cards-content">等待实现</div>
|
||||
<div class="role-choice-cards-content">
|
||||
{{each buffs buff}}
|
||||
<div class="role-content-container">
|
||||
<div class="role-content-icon" style="background-image:url({{_res_path}}/stat/imgs/role/buffs/{{buff.id}}.png)"></div>
|
||||
<div class="role-content-name">{{buff.name}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{set choice_cards=round?.choice_cards }}
|
||||
<div class="role-choice-cards-container">
|
||||
<div class="role-choice-cards-header">神秘收获</div>
|
||||
<div class="role-choice-cards-content">等待实现</div>
|
||||
<div class="role-choice-cards-content">
|
||||
{{each choice_cards choice_card}}
|
||||
<div class="role-content-container-2">
|
||||
<div class="role-content-icon" style="background-image:url({{_res_path}}/stat/imgs/role/choice_cards/{{choice_card.id}}.png)"></div>
|
||||
<div class="role-content-name">{{choice_card.name}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -215,6 +215,38 @@ body, .container {
|
||||
.role-choice-cards-content {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
display: flex;
|
||||
|
||||
.role-content-container {
|
||||
width: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 5px
|
||||
}
|
||||
|
||||
.role-content-container-2 {
|
||||
width: 65px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.role-content-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-size: cover;
|
||||
background-color: black;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.role-content-name {
|
||||
width: 100%;
|
||||
color: rgba(100, 100, 100, 0.5);
|
||||
text-align: center;
|
||||
font-size: 9px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|