12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <view class="part top">
- <image 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.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 style="width:100%;background:none;" wx:if='{{datas.today_stock_img.length>0}}'>
- <text wx:if='{{datas.today_stock_img.length>0}}'>点击查看完整交割单</text>
- <image style="width:100rpx;height:100rpx;margin-right:10rpx;" mode="scaleToFill" wx:for='{{datas.today_stock_img}}' wx:for-item='img'
- src='{{img}}' data-src="{{img}}" bindtap="prview"></image>
- </view>
- <view wx:if='{{!datas.is_markt && datas.today_stock.length<=0 && datas.auto_complete<=0}}'>空仓</view>
- <view wx:if='{{!datas.is_markt && datas.today_stock.length<=0 && datas.auto_complete>0}}'>请假</view>
- </view>
- <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 style="width:100%;background:none;" wx:if='{{datas.yesterday_stock_img.length>0}}'>
- <text wx:if='{{datas.yesterday_stock_img.length>0}}'>点击查看完整交割单</text>
- <image style="width:100rpx;height:100rpx;margin-right:10rpx;" mode="scaleToFill" wx:for='{{datas.yesterday_stock_img}}' wx:for-item='img'
- src='{{img}}' data-src="{{img}}" bindtap="prview"></image>
- </view>
- <view wx:if='{{!datas.yesterday_is_markt && datas.yesterday_stock.length<=0 && datas.yesterday_auto_complete<=0}}'>空仓</view>
- <view wx:if='{{!datas.yesterday_is_markt && datas.yesterday_stock.length<=0 && datas.yesterday_auto_complete>0}}'>请假</view>
- </view>
- </view>
|