123456789101112131415161718192021222324252627282930313233 |
- <navigator class="part" wx:for='{{datas.list}}' url="../detail/detail?id={{item.id}}">
- <view class="item">
- <text class="tag">日期</text>{{item.stock_date}}
- </view>
- <view class="item">
- <text class="tag red">今日资产</text>{{item.today_fund}}w
- <text class="tag border">当日收益</text>
- <text class="{{item.today_income[0]=='-'?'down':'up'}}">{{item.today_income}}</text>
- <text class="tag border">总收益</text>
- <text class="{{item.total_income[0]=='-'?'down':'up'}}">{{item.total_income}}</text>
- </view>
- <view class="item">
- <text class="tag blue">持仓</text>
- <view class="list">
- <view wx:if='{{item.is_markt}}'>开超市</view>
- <block wx:if='{{!item.is_markt && item.today_stock.length>0}}'>
- <view wx:for='{{item.today_stock}}' wx:for-item='stock' >
- {{stock.name}}
- <text wx:if='{{stock.fund>0}}'>{{stock.fund}}万</text>
- </view>
- </block>
- <view wx:if='{{!item.is_markt && item.today_stock.length<=0 && item.auto_complete<=0}}'>空仓</view>
- <view wx:if='{{!item.is_markt && item.today_stock.length<=0 && item.auto_complete>0}}'>请假</view>
- </view>
- </view>
- <view>
- <text class="note">点击持股查看当日交割单</text>
- </view>
- </navigator>
- <view style="text-align:center;padding:100px 0;" wx:if='{{datas.list.length==0}}'>暂无数据</view>
|