|
@@ -4,10 +4,10 @@
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
资产: <view><label>187w</label>
|
|
资产: <view><label>187w</label>
|
|
|
(今日收益
|
|
(今日收益
|
|
|
- <text class="{{item.today_income<0 ?'down':'up'}}">{{item.today_income}}%</text>
|
|
|
|
|
|
|
+ <text class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>
|
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
|
总收益
|
|
总收益
|
|
|
- <text class="{{item.total_income<0 ?'down':'up'}}">{{item.total_income}}%</text>
|
|
|
|
|
|
|
+ <text class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>
|
|
|
)</view>
|
|
)</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|