|
@@ -1,27 +1,21 @@
|
|
<wxs module="filters" src="../../utils/toFixed.wxs" />
|
|
<wxs module="filters" src="../../utils/toFixed.wxs" />
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<view wx:if="{{type==1}}">
|
|
<view wx:if="{{type==1}}">
|
|
<view wx:if='{{id}}' class="detail">
|
|
<view wx:if='{{id}}' class="detail">
|
|
<view class="stock_name">{{info.name}}
|
|
<view class="stock_name">{{info.name}}
|
|
<text>{{info.code}}</text>
|
|
<text>{{info.code}}</text>
|
|
</view>
|
|
</view>
|
|
- <image wx:if='{{info.img}}' mode="withFix" src="{{info.img}}"></image>
|
|
|
|
- <view wx:if='{{info.desc}}' class="desc">{{info.desc}}</view>
|
|
|
|
|
|
+ <block wx:if='{{info.last_nb_comments}}'>
|
|
|
|
+ <image mode="withFix" src="{{info.last_nb_comments.img}}"></image>
|
|
|
|
+ <view class="desc">{{info.last_nb_comments.content}}</view>
|
|
|
|
+ <view class="nr">@牛人点评 {{filters.getDate(info.last_nb_comments.ctime)}}</view>
|
|
|
|
+ </block>
|
|
<view class="tab">
|
|
<view class="tab">
|
|
<view bindtap="tab" data-id='1' class="{{cur==1?'act':''}}">今日持仓<text></text></view>
|
|
<view bindtap="tab" data-id='1' class="{{cur==1?'act':''}}">今日持仓<text></text></view>
|
|
<view bindtap="tab" data-id='0' class="{{cur==0?'act':''}}">我要解读<text></text></view>
|
|
<view bindtap="tab" data-id='0' class="{{cur==0?'act':''}}">我要解读<text></text></view>
|
|
|
|
+ <view bindtap="tab" data-id='2' class="{{cur==2?'act':''}}">牛人点评<text></text></view>
|
|
</view>
|
|
</view>
|
|
- <scroll-view bindtap="blur" scroll-y='{{true}}' style="height:calc(100vh - 380rpx);background: #fff;padding: 30rpx;">
|
|
|
|
- <view class="content" wx:if='{{cur==0}}'>
|
|
|
|
|
|
+ <view bindtap="blur" style="background: #fff;padding: 30rpx 30rpx 180rpx;">
|
|
|
|
+ <view class="content" wx:if='{{cur==0}}'>
|
|
<view class="_list" wx:for="{{comment_list}}">
|
|
<view class="_list" wx:for="{{comment_list}}">
|
|
<navigator url="../homepage/homepage?user_id={{item.user_id}}"><image src="{{item.user_avatar}}" ></image></navigator>
|
|
<navigator url="../homepage/homepage?user_id={{item.user_id}}"><image src="{{item.user_avatar}}" ></image></navigator>
|
|
<view class="msg">
|
|
<view class="msg">
|
|
@@ -40,8 +34,8 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view wx:if='{{cur==1}}'>
|
|
|
|
- <navigator hover-class="none" class="player" wx:for='{{info.list}}' url="../today/today?id={{item.match_id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
+ <scroll-view wx:if='{{cur==1}}' bindscrolltolower='next1' scroll-y='{{true}}' style="height:calc(100vh - 90rpx);">
|
|
|
|
+ <navigator hover-class="none" class="player" wx:for='{{list}}' url="../today/today?id={{item.match_id}}&user_id={{item.user_id}}">
|
|
<view class="name">{{item.username}} <text>{{item.badge}}</text>
|
|
<view class="name">{{item.username}} <text>{{item.badge}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="info">
|
|
<view class="info">
|
|
@@ -57,18 +51,19 @@
|
|
<view wx:else>空仓</view>
|
|
<view wx:else>空仓</view>
|
|
</view>
|
|
</view>
|
|
</navigator>
|
|
</navigator>
|
|
- </view>
|
|
|
|
|
|
+ <block wx:if='{{total1 >= 20}}'>
|
|
|
|
+ <view class='loading' wx:if='{{list.length < total1}}'>加载更多...</view>
|
|
|
|
+ </block>
|
|
|
|
+ </scroll-view>
|
|
<view wx:if='{{cur==2}}'>
|
|
<view wx:if='{{cur==2}}'>
|
|
- <navigator hover-class="none" class="_list" wx:for="{{myList}}" url="../homepage/homepage?id={{item.match_id}}&user_id={{item.user_id}}">
|
|
|
|
- <image src="{{item.user_avatar}}" ></image>
|
|
|
|
- <view class="msg">
|
|
|
|
- <text class="_name" style="line-height:60rpx;">{{item.user_name}}</text>
|
|
|
|
- </view>
|
|
|
|
- </navigator>
|
|
|
|
|
|
+ <view wx:for="{{nbComments}}" style="margin-bottom: 20rpx;">
|
|
|
|
+ <image style="width: 100%;" mode="withFix" src="{{item.img}}"></image>
|
|
|
|
+ <view class="desc">{{item.content}}</view>
|
|
|
|
+ <view class="nr">{{filters.getDate(item.ctime)}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </scroll-view>
|
|
|
|
-
|
|
|
|
- <view class="post">
|
|
|
|
|
|
+ </view>
|
|
|
|
+ <view class="post">
|
|
<input value="{{comment}}" confirm-type='send' bindconfirm='sendmsg' placeholder-style="color:#999" maxlength="500" bindinput="inputchange1" focus='{{focus}}' type="text" placeholder="{{text}}"/>
|
|
<input value="{{comment}}" confirm-type='send' bindconfirm='sendmsg' placeholder-style="color:#999" maxlength="500" bindinput="inputchange1" focus='{{focus}}' type="text" placeholder="{{text}}"/>
|
|
<!-- <button bindtap="sendmsg">提交</button> -->
|
|
<!-- <button bindtap="sendmsg">提交</button> -->
|
|
</view>
|
|
</view>
|
|
@@ -87,7 +82,8 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next' style="background: #fff;padding:0 30rpx;">
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next' style="background: #fff;padding:0 30rpx;">
|
|
- <navigator hover-class="none" class="list" url="../stock/stock?id={{item.id}}&&date={{stock_date}}&type=1" wx:for='{{list}}'>
|
|
|
|
|
|
+ <navigator wx:if='{{todaynb>0}}' url="../nrcomments/nrcomments" class="nbcomment">今日牛人点评</navigator>
|
|
|
|
+ <navigator hover-class="none" class="list" url="../stock/stock?id={{item.id}}&&stock_date={{stock_date}}&type=1" wx:for='{{list}}'>
|
|
<image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
|
|
<image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
|
|
<text wx:else class="number">{{index+1}}</text>
|
|
<text wx:else class="number">{{index+1}}</text>
|
|
<view class="stock-name">
|
|
<view class="stock-name">
|