You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
3.2 KiB

<block wx:if="{{load}}"><u-loading-page vue-id="21e21de7-1" loading="{{load}}" class="data-v-7cf6c2ff" bind:__l="__l"></u-loading-page></block><block wx:else><view class="trade_stats data-v-7cf6c2ff"><view class="{{['head','data-v-7cf6c2ff',(totalEarnings<0)?'head1':'']}}"><view class="head_top data-v-7cf6c2ff"><view class="all_breakeven data-v-7cf6c2ff">{{name}}</view><view class="all_money data-v-7cf6c2ff">{{totalProfit}}</view><view class="data-v-7cf6c2ff">{{"收益率 "+$root.g0+"%"}}</view></view><view class="head_bottom data-v-7cf6c2ff"><block wx:for="{{nav}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectNav',['$0'],[[['nav','',index,'name']]]]]]]}}" class="head_bottom_list data-v-7cf6c2ff" bindtap="__e"><view class="{{['data-v-7cf6c2ff',(item.is)?'bottom_list':'']}}">{{item.name}}</view><block wx:if="{{item.is}}"><image class="select_icon data-v-7cf6c2ff" src="../../static/collection_select.png" mode="scaleToFill"></image></block></view></block></view></view><view class="main data-v-7cf6c2ff"><block wx:if="{{nav[3].is==true}}"><view class="main_date data-v-7cf6c2ff"><input class="main_date_ipt data-v-7cf6c2ff" type="text" disabled="{{true}}" placeholder="请选择开始日期" data-event-opts="{{[['tap',[['selectStartDate',['$event']]]],['input',[['__set_model',['','startDate','$event',[]]]]]]}}" value="{{startDate}}" bindtap="__e" bindinput="__e"/><u-icon style="padding:0 20rpx;" vue-id="21e21de7-2" name="minus" size="20" class="data-v-7cf6c2ff" bind:__l="__l"></u-icon><input class="main_date_ipt data-v-7cf6c2ff" type="text" disabled="{{true}}" placeholder="请选择截至日期" data-event-opts="{{[['tap',[['selectEndDate',['$event']]]],['input',[['__set_model',['','endDate','$event',[]]]]]]}}" value="{{endDate}}" bindtap="__e" bindinput="__e"/><view class="main_date_serch data-v-7cf6c2ff">搜索</view></view></block><view class="main_nav data-v-7cf6c2ff"><view data-event-opts="{{[['tap',[['selectMainNav',[true]]]]]}}" class="{{['data-v-7cf6c2ff',(isEarnings)?'main_nav_color':'']}}" bindtap="__e">收益率</view><view data-event-opts="{{[['tap',[['selectMainNav',[false]]]]]}}" class="{{['data-v-7cf6c2ff',(!isEarnings)?'main_nav_color':'']}}" style="margin-left:72rpx;" bindtap="__e">盈亏金额</view></view><view style="height:600rpx;width:100%;padding-top:60rpx;" class="data-v-7cf6c2ff"><l-echart vue-id="21e21de7-3" data-ref="chart" class="data-v-7cf6c2ff vue-ref" bind:__l="__l"></l-echart></view></view><u-datetime-picker vue-id="21e21de7-4" show="{{startDateShow}}" mode="date" cancelColor="#EC7C00" confirmColor="#EC7C00" value="{{date}}" data-event-opts="{{[['^cancel',[['e0']]],['^confirm',[['confirmStartDate']]],['^input',[['__set_model',['','date','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" class="data-v-7cf6c2ff" bind:__l="__l"></u-datetime-picker><u-datetime-picker vue-id="21e21de7-5" show="{{endDateShow}}" mode="date" minDate="{{minDate}}" cancelColor="#EC7C00" confirmColor="#EC7C00" value="{{date}}" data-event-opts="{{[['^cancel',[['e1']]],['^confirm',[['confirmEndDate']]],['^input',[['__set_model',['','date','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" class="data-v-7cf6c2ff" bind:__l="__l"></u-datetime-picker></view></block>