|
@@ -91,7 +91,7 @@
|
|
|
<view class="content-list">
|
|
<view class="content-list">
|
|
|
<view class="up-down">
|
|
<view class="up-down">
|
|
|
<text>盈利榜</text>
|
|
<text>盈利榜</text>
|
|
|
- <navigator wx:for="{{winLost.total_income_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator wx:for="{{winLost.total_income_up}}" hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<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>
|
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
@@ -101,7 +101,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="up-down">
|
|
<view class="up-down">
|
|
|
<text>赚钱榜</text>
|
|
<text>赚钱榜</text>
|
|
|
- <navigator wx:for="{{winLost.total_win_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator wx:for="{{winLost.total_win_up}}" hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<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>
|
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
@@ -111,7 +111,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="up-down">
|
|
<view class="up-down">
|
|
|
<text>亏损榜</text>
|
|
<text>亏损榜</text>
|
|
|
- <navigator wx:for="{{winLost.total_income_down}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator wx:for="{{winLost.total_income_down}}" hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<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>
|
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
@@ -121,7 +121,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="up-down">
|
|
<view class="up-down">
|
|
|
<text>亏钱榜</text>
|
|
<text>亏钱榜</text>
|
|
|
- <navigator wx:for="{{winLost.total_win_down}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator wx:for="{{winLost.total_win_down}}" hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<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>
|
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image class="avatar" src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
@@ -191,7 +191,7 @@
|
|
|
<swiper-item>
|
|
<swiper-item>
|
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next1'>
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next1'>
|
|
|
<view class="item1" wx:for='{{explist}}'>
|
|
<view class="item1" wx:for='{{explist}}'>
|
|
|
- <navigator hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<view class="relist">
|
|
<view class="relist">
|
|
|
<image src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
|
<view class="msg">
|
|
<view class="msg">
|
|
@@ -211,7 +211,7 @@
|
|
|
<image mode="widthFix" src="../../images/zan.png"></image>
|
|
<image mode="widthFix" src="../../images/zan.png"></image>
|
|
|
<text>{{item.zans_count}}</text>
|
|
<text>{{item.zans_count}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
- </navigator>
|
|
|
|
|
|
|
+ </navigator>
|
|
|
</view>
|
|
</view>
|
|
|
<block wx:if='{{total1 >= 20}}'>
|
|
<block wx:if='{{total1 >= 20}}'>
|
|
|
<view class='loading' wx:if='{{explist.length < total1}}'>上拉加载更多...</view>
|
|
<view class='loading' wx:if='{{explist.length < total1}}'>上拉加载更多...</view>
|
|
@@ -222,7 +222,7 @@
|
|
|
<scroll-view upper-threshold="0" bindscrolltoupper='fresh' scroll-y='{{true}}' bindscrolltolower='next2'>
|
|
<scroll-view upper-threshold="0" bindscrolltoupper='fresh' scroll-y='{{true}}' bindscrolltolower='next2'>
|
|
|
<view wx:if='{{loading}}' class="loading">下拉刷新</view>
|
|
<view wx:if='{{loading}}' class="loading">下拉刷新</view>
|
|
|
<view class="item1" wx:for='{{followList}}'>
|
|
<view class="item1" wx:for='{{followList}}'>
|
|
|
- <navigator hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
|
|
|
|
+ <navigator hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
|
|
|
<view class="relist">
|
|
<view class="relist">
|
|
|
<image src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
<image src="{{filters.defaultImg(item.avatar)}}"></image>
|
|
|
<view class="msg">
|
|
<view class="msg">
|
|
@@ -235,7 +235,7 @@
|
|
|
<view class="item_money"><label class="item_money_title">资产 </label>{{item.today_fund}}w <label class="item_money_title"> 总收益 </label> <label class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</label> <label class="item_money_title"> 今日收益 </label><label class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</label>
|
|
<view class="item_money"><label class="item_money_title">资产 </label>{{item.today_fund}}w <label class="item_money_title"> 总收益 </label> <label class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</label> <label class="item_money_title"> 今日收益 </label><label class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</label>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="content" wx:if="{{item.experience}}">{{item.experience}}</view>
|
|
<view class="content" wx:if="{{item.experience}}">{{item.experience}}</view>
|
|
|
- <view class="imgs">
|
|
|
|
|
|
|
+ <view class="imgs" wx:if="{{role != 0}}">
|
|
|
<image wx:for='{{item.today_stock_img}}' wx:for-item='i' catchtap="preview" data-src='{{i}}' data-urls='{{item.today_stock_img}}'
|
|
<image wx:for='{{item.today_stock_img}}' wx:for-item='i' catchtap="preview" data-src='{{i}}' data-urls='{{item.today_stock_img}}'
|
|
|
class="img" src="{{i}}" mode="heightFix"></image>
|
|
class="img" src="{{i}}" mode="heightFix"></image>
|
|
|
</view>
|
|
</view>
|