Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

评分等级的问题… #911

Open
Yanqing114 opened this issue Mar 11, 2025 · 3 comments
Open

评分等级的问题… #911

Yanqing114 opened this issue Mar 11, 2025 · 3 comments

Comments

@Yanqing114
Copy link

有没有一个方法,可以将圣遗物的评分修改一下,比如把现在的MAX改成ACE²

@qsyhh
Copy link
Contributor

qsyhh commented Mar 12, 2025

@Yanqing114
Copy link
Author

https://github.com/yoimiya-kokomi/miao-plugin/blob/master/models/artis/ArtisMark.js 95行

修改后会使其变更为白色,可以使其再变为红色吗

@qsyhh
Copy link
Contributor

qsyhh commented Mar 12, 2025

https://github.com/yoimiya-kokomi/miao-plugin/blob/master/models/artis/ArtisMark.js 95行

修改后会使其变更为白色,可以使其再变为红色吗

https://github.com/yoimiya-kokomi/miao-plugin/blob/master/resources/character/profile-detail.css
494行

.mark-MAX {

改成

.mark-MAX,
.mark-ACE² {

但由于²不属于css允许的常规字符,所以可能会有影响
所以可以先在https://github.com/yoimiya-kokomi/miao-plugin/blob/master/resources/character/profile-detail.html
184行

          <div><span>圣遗物评级</span><strong class="mark-{{ad.markClass}}">{{ad.markClass}}</strong></div>

改成

          <div><span>圣遗物评级</span><strong class="mark-{{ad.markClass.replace(/²/, '-2')}}">{{ad.markClass}}</strong></div>

然后将css的

.mark-MAX,
.mark-ACE² {

改成

.mark-MAX,
.mark-ACE-2 {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants