balance.wxml 3.4 KB

1
  1. <app-layout vue-id="48d8ae46-1" class="data-v-3ec325b6" bind:__l="__l" vue-slots="{{['default']}}"><view class="balance-head dir-top-nowrap cross-center data-v-3ec325b6" style="{{'background-image:'+('url('+setting.bj_pic_url.url+')')+';'}}"><image class="balance-legend data-v-3ec325b6" src="{{setting.re_pic_url.url?setting.re_pic_url.url:'/static/image/icon/question.png'}}" data-event-opts="{{[['tap',[['getRules',['$event']]]]]}}" bindtap="__e"></image><view class="account data-v-3ec325b6">账户余额(元)</view><view class="balance data-v-3ec325b6">{{balance}}</view><view class="app-button main-center data-v-3ec325b6"><app-button vue-id="{{('48d8ae46-2')+','+('48d8ae46-1')}}" fontSize="28" padding="0 13px" background="rgba(255,255,255,0)" color="#FFFFFF" round="{{true}}" height="56" data-event-opts="{{[['^click',[['recharge']]]]}}" bind:click="__e" class="data-v-3ec325b6" bind:__l="__l" vue-slots="{{['default']}}">{{setting.re_name+''}}</app-button><view style="margin-left:26rpx;white-space:nowrap;" class="data-v-3ec325b6"><block wx:if="{{setting.is_pay_password==1}}"><app-button vue-id="{{('48d8ae46-3')+','+('48d8ae46-1')}}" fontSize="28" background="rgba(255,255,255,0)" padding="0 13px" color="#FFFFFF" round="{{true}}" height="56" data-event-opts="{{[['^click',[['password']]]]}}" bind:click="__e" class="data-v-3ec325b6" bind:__l="__l" vue-slots="{{['default']}}">设置密码</app-button></block></view></view></view><block wx:if="{{setting.ad_pic_url}}"><app-jump-button vue-id="{{('48d8ae46-4')+','+('48d8ae46-1')}}" open_type="{{setting.open_type}}" url="{{setting.page_url}}" params="{{setting.params}}" class="data-v-3ec325b6" bind:__l="__l" vue-slots="{{['default']}}"><image class="balance-ad data-v-3ec325b6" src="{{setting.ad_pic_url.url}}"></image></app-jump-button></block><view class="balance-date main-center cross-center data-v-3ec325b6"><view data-event-opts="{{[['tap',[['dateLess',['$event']]]]]}}" class="icon-view cross-center main-center data-v-3ec325b6" bindtap="__e"><image class="balance-icon data-v-3ec325b6" src="/static/image/icon/arrow-left.png"></image></view><picker mode="date" value="{{date}}" fields="month" data-event-opts="{{[['change',[['dateChange',['$event']]]]]}}" bindchange="__e" class="data-v-3ec325b6"><view class="data-v-3ec325b6">{{date_a}}</view></picker><view data-event-opts="{{[['tap',[['datePlus',['$event']]]]]}}" class="icon-view cross-center main-center data-v-3ec325b6" bindtap="__e"><image class="balance-icon data-v-3ec325b6" src="/static/image/icon/arrow-right.png"></image></view></view><block wx:for="{{logs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-3ec325b6"><app-form-id vue-id="{{('48d8ae46-5-'+index)+','+('48d8ae46-1')}}" open-type="navigate" data-event-opts="{{[['^click',[['detail',['$0'],[[['logs','',index]]]]]]]}}" bind:click="__e" class="data-v-3ec325b6" bind:__l="__l" vue-slots="{{['default']}}"><view class="dir-left-nowrap cross-center balance-list data-v-3ec325b6"><view class="box-grow-1 dir-top-nowrap data-v-3ec325b6"><view class="balance-desc dir-left-nowrap t-omit data-v-3ec325b6">{{item.desc}}</view><view class="balance-time data-v-3ec325b6">{{item.created_at}}</view></view><block wx:if="{{item.type==1}}"><view class="box-grow-0 balance-plus data-v-3ec325b6">{{"+"+item.money}}</view></block><block wx:if="{{item.type==2}}"><view class="box-grow-0 balance-less data-v-3ec325b6">{{"-"+item.money}}</view></block></view></app-form-id></block></block></app-layout>