| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!-- 导航栏 -->
- <nav-bar title="我的" left="{{false}}"></nav-bar>
- <view class="container">
- <!-- 我的顶部视图 -->
- <view class="minetop" style="background-image: url('../../images/mine-bg.png'); background-size: 100% 100%; width: 100%; ">
- <view class="user-info">
- <van-image src="{{avatarUrl}}" round width="50" height="50"></van-image>
- <view class="userinfo">
- <view class="userinfo-vip">
- <text>{{ isOpenEye ? nickName : '******' }}</text>
- <text>资金账户</text>
- </view>
- <view class="userinfo-account">
- <text>{{ isOpenEye ? loginid : '******' }}</text>
- <text>{{ isOpenEye ? ta.accountid : '******' }}</text>
- </view>
- </view>
- <!-- 闭眼 -->
- <van-icon id="eye" name="{{ isOpenEye ? 'eye-o' : 'closed-eye'}}" size="20" bind:click="onEye"/>
- </view>
- <view class="taaccount-info">
- <view class="item">
- <text>余额</text>
- <text>{{ isOpenEye ? ta.balance : '******'}}</text>
- </view>
- <view class="item">
- <text>冻结</text>
- <text>{{ isOpenEye ? ta.freezemargin : '******' }}</text>
- </view>
- <view class="item">
- <text>可用</text>
- <text>{{ isOpenEye ? ta.currentbalance : '******' }}</text>
- </view>
- </view>
- </view>
- <!-- 出金 入金 -->
- <view class="button-view">
- <van-button custom-class="into-gold" round id="into-gold" color="#F7A657" bind:click="onButtonPressed">充值</van-button>
- <van-button custom-class="out-gold" round id="out-gold" color="#226FD9" bind:click="onButtonPressed">提现</van-button>
- </view>
- <!-- 功能菜单项 -->
- <van-grid column-num="5" wx:if="{{menulists.count != 0}}">
- <van-grid-item wx:for="{{menulists}}" wx:key="id" wx:for-index="idx" wx:for-item="itm" id="{{itm.id}}" icon="{{itm.img}}" icon-color="red" dot link-type="navigateTo" url="{{itm.path}}">
- <text slot="text" style="font-size: 13px;">{{itm.title}}</text>
- </van-grid-item>
- </van-grid>
- <!-- 列表菜单项 -->
- <van-cell-group>
- <van-cell clickable title-class="cell-title" size="large" center is-link border wx:for="{{tablelists}}" clickable wx:key="id" wx:for-index="idx" wx:for-item="itm" id="{{itm.id}}" title="{{itm.title}}" link-type="navigateTo" url="{{itm.path}}">
- <van-icon slot="icon" size="25" name="{{ itm.iconfont }}"></van-icon>
- </van-cell>
- </van-cell-group>
- <!-- 登出按钮 -->
- <view class="loginOut-view"><van-button custom-class="loginOut" round bindtap="onLoginOut">退出登录</van-button></view>
- </view>
- <!-- 对话弹框 -->
- <van-dialog id="van-dialog" />
- <!-- toast -->
- <van-toast id="van-toast" />
|