1234567891011121314151617181920212223242526272829303132333435363738 |
- <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
- <view class="stock" wx:for='{{list}}'>
- <navigator hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{user_id}}" >
- <view class="info">
- <view>{{item.stock_date}}(今日收益 <text class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>)</view>
- </view>
- <view class="info">
- 资产: <view><label>{{item.today_fund}}w</label> (总收益 <text class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>)</view>
- </view>
- <view class="info">持仓: <view>
- <block wx:for='{{item.today_stock}}' wx:for-item='i'>
- {{i.name}}({{i.fund}}w)
- </block>
- </view></view>
- <view class="info" wx:if='{{item.experience}}'>
- 今日反思:{{item.experience}}
- </view>
- <view class="info" wx:if='{{item.wanzhu_comment}}'>
- 顽主点评:{{item.wanzhu_comment}}
- </view>
- </navigator>
- <view class="imgs">
- <image wx:for='{{item.today_stock_img}}' wx:for-item='i' bindtap="preview" data-src='{{i}}' data-urls='{{item.today_stock_img}}'
- class="img" src="{{i}}"></image>
- </view>
- <view class="comment">
- <image mode="widthFix" src="../../images/msg.png"></image>
- <text>{{item.comments_count}}</text>
- <image mode="widthFix" src="../../images/zan.png"></image>
- <text>{{item.zans_count}}</text>
- </view>
- </view>
- <block wx:if='{{total >= 20}}'>
- <view class='loading' wx:if='{{followList.length < total}}'>上拉加载更多...</view>
- </block>
- <view wx:if="{{list.length<=0&&show}}" class="not_data">-暂无数据-</view>
- </scroll-view>
|