|
|
@@ -14,26 +14,21 @@
|
|
|
<div class="tui-msg-name">
|
|
|
<div class="tui-user-name">
|
|
|
{{ item.name }}
|
|
|
- <text v-if="item.level == 2" class="super-man">大客</text>
|
|
|
- <text v-if="item.level == 0" class="ls-man">散客</text>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="tui-msg-content">
|
|
|
<span>{{ item.visitTime.substr(5,11) }}</span>
|
|
|
|
|
|
- <span v-if="Number(item.remainDebtAmount) > 0" class="debt-amount">
|
|
|
- 欠款<span class="amount_num">{{item.remainDebtAmount}}</span>
|
|
|
- </span>
|
|
|
+ <span v-if="Number(item.balance)!=0" class="balance-amount">
|
|
|
+ <span v-if="item.balance>0" class="amount_add">余额{{item.balance?parseFloat(item.balance):0}}</span>
|
|
|
+ <span v-else class="amount_sub">欠款{{item.balance?Math.abs(parseFloat(item.balance)):0}}</span>
|
|
|
+ </span>
|
|
|
|
|
|
- <span v-if="Number(item.remainDebtAmount) < 0" class="debt-amount">
|
|
|
- 余额<span class="amount_num" style="color:#3385FF;">{{Math.abs(item.remainDebtAmount)}}</span>
|
|
|
- </span>
|
|
|
-
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 10000" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">没有下过单</text>
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 7" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1周未下单</text>
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 30" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1个月未下单</text>
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 180" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超半年未下单</text>
|
|
|
- <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 365" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1年未下单</text>
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 10000" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">没有下过单</text>
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 7" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1周未下单</text>
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 30" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1个月未下单</text>
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 180" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超半年未下单</text>
|
|
|
+ <text v-if="item.overTimeUnExpend && item.overTimeUnExpend == 365" style="font-size:24upx;margin-left:20upx;color:green;font-weight:bold;">超1年未下单</text>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
@@ -302,13 +297,18 @@
|
|
|
font-size: 24upx;
|
|
|
line-height: 1;
|
|
|
color: #9397a4;
|
|
|
- .debt-amount{
|
|
|
+ .balance-amount{
|
|
|
margin-left:20upx;
|
|
|
- .amount_num{
|
|
|
+ .amount_sub{
|
|
|
color:red;
|
|
|
margin-left:6upx;
|
|
|
font-weight:bold;
|
|
|
}
|
|
|
+ .amount_add{
|
|
|
+ color:#3385FF;
|
|
|
+ margin-left:6upx;
|
|
|
+ font-weight:bold;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|