1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <!--index.wxml-->
- <view wx:if="{{datas.notices.length>0}}" class="marquee_container"
- style="{{'--marqueeWidth--:'+-12*datas.notices.length+'em'}}">
- <view class="zd"></view>
- <image src="../images/tttz.png" mode="widthFix"></image>
- <view class="marquee_text">
- <navigator url="../intro/intro?id={{item.id}}" wx:for="{{datas.notices}}">{{item.name}}</navigator>
- </view>
- </view>
- <view class="part" wx:if='{{datas.match_name}}' style="margin-bottom:0;">
- <view class="title">
- {{datas.match_name}}
- <image src="../images/bank.png"></image>
- <view class="rank"> <text>{{datas.cur_rank?datas.cur_rank:' '}}</text>当前排名 </view>
- </view>
- </view>
- <view class="container" wx:if='{{datas.records.length>0}}'>
- <ec-canvas id="mychart" canvas-id="mychart-line" ec="{{ ec }}">
- </ec-canvas>
- </view>
- <navigator class="part part1" wx:for='{{datas.records}}' 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?item.today_income:''}}</text>
- <text class="tag border">总收益</text><text class="{{item.total_income[0]=='-'?'down':'up'}}">{{item.total_income?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>
- </navigator>
- <view style="text-align:center;padding:100px 0;" wx:if='{{datas.records.length==0}}'>暂无数据</view>
|