shish 1 год назад
Родитель
Сommit
27a2588924
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      hdApp/src/admin/home/member.vue

+ 3 - 2
hdApp/src/admin/home/member.vue

@@ -31,8 +31,9 @@
                         <span class="amount_num">-¥{{parseFloat(item.debtAmount)}}</span>
                       </span>
                     </span>
-                    <text v-if="!$util.isEmpty(item.memberName)" style="color:#3385FF;font-weight:bold;margin-left:20upx;">{{ item.memberName }}</text>
-                    <text v-if="Number(item.balance)>0" style="color:#3385FF;font-weight:bold;margin-left:20upx;">¥{{ parseFloat(item.balance) }}</text>
+                    <text v-if="Number(item.balance)>0" style="color:#3385FF;font-weight:bold;margin-left:20upx;">{{ parseFloat(item.balance) }}</text>
+                    <text v-if="Number(item.balance)<0" style="color:red;font-weight:bold;margin-left:20upx;">{{ parseFloat(item.balance) }}</text>
+                    <text v-if="!$util.isEmpty(item.memberName)" style="color:#3385FF;font-weight:bold;">{{ item.memberName }}</text>
                   </div>
                 </div>
               </div>