|
@@ -47,13 +47,15 @@
|
|
|
<view class="totay_title">
|
|
|
<view class="totay_title_1"><text>持仓(万)</text> <text> 盈亏(万)</text></view>
|
|
|
<view wx:for="{{today_stock}}" class="totay_title_item">
|
|
|
- <text>{{item.fund}}</text><text class="{{item.money[0]=='-' ?'down':'up'}}">{{item.money}}</text>
|
|
|
+ <text style="width: 100rpx;">{{item.name}}</text>
|
|
|
+ <text style="width: 70rpx;">{{item.fund}}</text>
|
|
|
+ <text style="width: 70rpx;" class="{{item.money[0]=='-' ?'down':'up'}}">{{item.money}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view wx:if='{{datas.today_record.today_stock.length>0&&datas.today_record.today_stock.length<9}}' class="container" style="height:400rpx;width: 80%;">
|
|
|
+ <view wx:if='{{datas.today_record.today_stock.length>0&&datas.today_record.today_stock.length<9}}' class="container" style="height:400rpx;width: 70%;">
|
|
|
<ec-canvas id="mychart-dom-pie" canvas-id="mychart-pie" ec="{{ ec1 }}"></ec-canvas>
|
|
|
</view>
|
|
|
- <view wx:if='{{datas.today_record.today_stock.length>8}}' class="container" style="height:550rpx;width: 80%;">
|
|
|
+ <view wx:if='{{datas.today_record.today_stock.length>8}}' class="container" style="height:550rpx;width: 65%;">
|
|
|
<ec-canvas id="mychart-dom-pie" canvas-id="mychart-pie" ec="{{ ec1 }}"></ec-canvas>
|
|
|
</view>
|
|
|
</view>
|