This commit is contained in:
Vick Scarlet
2021-09-06 14:40:05 +08:00
parent 1b7ae5f1ff
commit 84785f3e40
2 changed files with 10 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -164,9 +164,10 @@ class App{
propertyPage.mounted = ()=>{
propertyPage
.find('#talentSelectedView').append(
$(Array.from(this.#talentSelected)
`<li>已选天赋</li>` +
Array.from(this.#talentSelected)
.map(({name,description})=>`<li class="grade0b">${name}(${description})</li>`)
.join(''))
.join('')
)
}
const groups = {};
@@ -321,9 +322,9 @@ class App{
// Update properties if not die yet
const property = this.#life.getLastRecord();
$("#lifeProperty").html(`
<li>颜值:${property.CHR} </li>
<li>智力:${property.INT} </li>
<li>体质:${property.STR} </li>
<li>颜值:${property.CHR} </li>
<li>智力:${property.INT} </li>
<li>体质:${property.STR} </li>
<li>家境:${property.MNY} </li>
<li>快乐:${property.SPR} </li>`);
}
@@ -407,6 +408,9 @@ class App{
page: propertyPage,
clear: ()=>{
freshTotal();
propertyPage
.find('#talentSelectedView')
.empty();
},
},
trajectory: {