diff --git a/plugins/genshin/model/weapon.js b/plugins/genshin/model/weapon.js index 6437728..fa5e61b 100644 --- a/plugins/genshin/model/weapon.js +++ b/plugins/genshin/model/weapon.js @@ -45,6 +45,7 @@ export default class Weapon extends base { let count = { five: 0, four: 0, + three: 0, 单手剑: 0, 双手剑: 0, 长柄武器: 0, @@ -64,6 +65,7 @@ export default class Weapon extends base { if (val.weapon.rarity == 5) count.five++ if (val.weapon.rarity == 4) count.four++ + if (val.weapon.rarity == 3) count.three++ count[val.weapon.type_name]++ diff --git a/plugins/genshin/resources/html/weapon/weapon.css b/plugins/genshin/resources/html/weapon/weapon.css index e6903ef..e07c5d3 100644 --- a/plugins/genshin/resources/html/weapon/weapon.css +++ b/plugins/genshin/resources/html/weapon/weapon.css @@ -87,6 +87,13 @@ body { border-radius: 100%; margin-right: 4px; } +.lab-item-3{ + background: #4c99b9; + width: 6px; + height: 6px; + border-radius: 100%; + margin-right: 4px; +} .lab-item-weapon{ width: 16px; height: 16px; diff --git a/plugins/genshin/resources/html/weapon/weapon.html b/plugins/genshin/resources/html/weapon/weapon.html index 767f29a..e9864a8 100644 --- a/plugins/genshin/resources/html/weapon/weapon.html +++ b/plugins/genshin/resources/html/weapon/weapon.html @@ -19,7 +19,11 @@
-
四星:{{count.five}}
+
四星:{{count.four}}
+
+
+
+
三星:{{count.three}}
@@ -74,4 +78,4 @@ - \ No newline at end of file +