| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <!-- 导航栏 -->
- <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 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>
- </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 }}" link-type="navigateTo" url="{{ itm.path }}">
- <image slot="icon" style="width: 25px; height: 25px;" src="../../images/{{ itm.img }}.png"></image>
- <text slot="text" style="font-size: 14px;">{{ 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}}">
- <image slot="icon" style="width: 25px; height: 25px;" src="../../images/{{ itm.iconfont }}.png"></image>
- </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" />
|