hookehuyr

fix(profile): 在积分变更显示前添加正号

当积分变更为正数时显示+号,负数保持不变
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
87 </div> 87 </div>
88 <div class="text-lg font-bold" 88 <div class="text-lg font-bold"
89 :class="String(item.change).includes('-') ? 'text-[#FF4D4F]' : 'text-[#2E85FF]'"> 89 :class="String(item.change).includes('-') ? 'text-[#FF4D4F]' : 'text-[#2E85FF]'">
90 - {{ item.change }} 90 + {{ String(item.change).includes('-') ? '' : '+' }} {{ item.change }}
91 </div> 91 </div>
92 </div> 92 </div>
93 <!-- 分割线 --> 93 <!-- 分割线 -->
......