|
|
|
@ -472,7 +472,7 @@ |
|
|
|
<view class="w-50 fn-left"> |
|
|
|
<view class="label">{{ $t("option.b6") }}</view> |
|
|
|
<view class="color-light" |
|
|
|
:class="item.unRealProfit>0?'increace':item.unRealProfit<0?'decreace':''"> |
|
|
|
:class="item.unRealProfit>0?'increace1':item.unRealProfit<0?'decreace1':''"> |
|
|
|
{{item.unRealProfit}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -482,7 +482,7 @@ |
|
|
|
</view> --> |
|
|
|
<view class="w-50 fn-right"> |
|
|
|
<view class="label">{{ $t("contract.h0") }}</view> |
|
|
|
<view class="color-light" :class="item.unRealProfit>0?'color-buy':'color-sell'"> |
|
|
|
<view class="color-light" :class="item.unRealProfit>0?'increace1':item.unRealProfit<0?'decreace1':''"> |
|
|
|
{{item.profitRate}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -1959,4 +1959,11 @@ export default { |
|
|
|
.but_text { |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
|
|
|
|
.increace1{ |
|
|
|
color: #60c08c !important; |
|
|
|
} |
|
|
|
.decreace1{ |
|
|
|
color: #ea3131 !important; |
|
|
|
} |
|
|
|
</style>s |
|
|
|
|