diff --git a/plugins/genshin/model/deck.js b/plugins/genshin/model/deck.js index 35851bf..2702f15 100644 --- a/plugins/genshin/model/deck.js +++ b/plugins/genshin/model/deck.js @@ -1,13 +1,10 @@ import base from './base.js' import MysInfo from './mys/mysInfo.js' -import lodash from 'lodash' export default class Deck extends base { constructor(e) { super(e) this.model = 'deck' - - this.headIndexStyle = `` } async getIndex(id, list = false) { @@ -36,8 +33,7 @@ export default class Deck extends base { saveId: this.e.uid, nickname: res.data.nickname, level: res.data.level, - Data, - headIndexStyle: this.headIndexStyle + Data } return data } @@ -54,8 +50,7 @@ export default class Deck extends base { ...this.screenData, uid: this.e.uid, saveId: this.e.uid, - ...res, - headIndexStyle: this.headIndexStyle + ...res } return data } diff --git a/plugins/genshin/resources/html/deck/deck.html b/plugins/genshin/resources/html/deck/deck.html index 526774b..83798de 100644 --- a/plugins/genshin/resources/html/deck/deck.html +++ b/plugins/genshin/resources/html/deck/deck.html @@ -11,7 +11,7 @@ - {{@headIndexStyle}} + {{@headStyle}} diff --git a/plugins/genshin/resources/html/deckCard/deckCard.html b/plugins/genshin/resources/html/deckCard/deckCard.html index 032e62e..603ae13 100644 --- a/plugins/genshin/resources/html/deckCard/deckCard.html +++ b/plugins/genshin/resources/html/deckCard/deckCard.html @@ -11,7 +11,7 @@ - {{@headIndexStyle}} + {{@headStyle}} diff --git a/plugins/genshin/resources/html/deckList/deckList.html b/plugins/genshin/resources/html/deckList/deckList.html index 6334b08..798aa64 100644 --- a/plugins/genshin/resources/html/deckList/deckList.html +++ b/plugins/genshin/resources/html/deckList/deckList.html @@ -11,7 +11,7 @@ - {{@headIndexStyle}} + {{@headStyle}}