<!--pages/record/record.wxml-->
<view class="top">
  <view class="info">
                  日期： <view>{{info.stock_date}}</view>
  </view>
  <view class="info">
                资产：<view><label>{{info.today_fund}}w</label>(今日收益 <text  class="{{info.today_income[0]=='-' ?'down':'up'}}">{{info.today_income}}</text><text style="color:#F5F5F5;">  |  </text>总收益<text  class="{{info.total_income[0]=='-' ?'down':'up'}}">{{info.total_income}}</text>)</view>
  </view>
  <view class="info">
                持仓： <view>
                <block wx:for='{{info.today_stock}}' wx:for-item='i'>
                  {{i.name}}({{i.fund}}w)
                </block>
                </view>
  </view>
  <view class="imgs">
          <image wx:for='{{info.today_stock_img}}' wx:for-item='i'  bindtap="preview" data-src='{{i}}' data-urls='{{info.today_stock_img}}'
                 class="img" src="{{i}}"></image>
  </view>
</view>

<view class="content">
    <text>今日反思</text>{{info.experience?info.experience:'无'}}
</view>
<view class="content comment">
    <text>顽主点评</text>{{info.wanzhu_comment?info.wanzhu_comment:'无'}} 
</view>