123456789101112131415161718192021222324252627282930313233343536373839 |
- <view class="part top">
- <image mode="widthFix" src="../images/bank.png"></image>
- <view class="rank"> <text>{{datas.group_rank?datas.group_rank:0}}</text>当前排名 </view>
- <view class='label'>
- 日期 <text>{{datas.stock_date}}</text>
- </view>
- <view class='label'>
- 分组 <text>{{datas.match_group}}</text>
- </view>
- </view>
- <view class="info">
- <view> <text>{{datas.init_fund}}w</text>初始资产 </view>
- <view> <text>{{datas.today_fund}}w</text>今日资产 </view>
- <view> <text class="{{datas.today_income<0?'down':'up'}}">{{datas.today_income}}</text>当日收益 </view>
- <view> <text class="{{datas.total_income<0?'down':'up'}}">{{datas.total_income}}</text>总收益 </view>
- </view>
- <view class="part">
- <text class="tag blue">昨日持股</text>
- <view class="list">
- <view wx:if='{{datas.yesterday_is_markt}}'>开超市</view>
- <block wx:if='{{!datas.yesterday_is_markt && datas.yesterday_stock.length>0}}'>
- <view wx:for='{{datas.yesterday_stock}}' wx:for-item='stock' >
- {{stock.name}} <text wx:if='{{stock.fund>0}}'>{{stock.fund}}万</text></view>
- </block>
- <view wx:if='{{!datas.yesterday_is_markt && datas.yesterday_stock.length<=0}}'>空仓</view>
- </view>
- <text class="tag blue">今日持股</text>
- <view class="list">
- <view wx:if='{{datas.is_markt}}'>开超市</view>
- <block wx:if='{{!datas.is_markt && datas.today_stock.length>0}}'>
- <view wx:for='{{datas.today_stock}}' wx:for-item='stock' >
- {{stock.name}} <text wx:if='{{stock.fund>0}}'>{{stock.fund}}万</text></view>
- </block>
- <view wx:if='{{!datas.is_markt && datas.today_stock.length<=0}}'>空仓</view>
- </view>
- </view>
|