From 5065e74e909f125bf8098e91a7606f479b27b781 Mon Sep 17 00:00:00 2001 From: bbaban <3102509561@qq.com> Date: Sun, 27 Aug 2023 15:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=83=E5=9C=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/model/deck.js | 9 ++------- plugins/genshin/resources/html/deck/deck.html | 2 +- plugins/genshin/resources/html/deckCard/deckCard.html | 2 +- plugins/genshin/resources/html/deckList/deckList.html | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) 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}}