123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <!--pages/my/my.wxml-->
- <view class='container'>
- <view class='top-container'>
- <image class='bg-img' src='../../static/images/my/mine_bg_3x.png'></image>
- <view bindtap='logout' class='logout' hover-class="opcity" hover-stay-time="150">
- <image class='logout-img' src='../../static/images/my/icon_out_3x.png' hidden='{{!isLogin}}'></image>
- <text class='logout-txt' hidden='{{!isLogin}}'>退出</text>
- </view>
- <view hidden='{{isLogin}}' class='user-wrapper'>
- <navigator url='../login/index' hover-class="opcity" hover-stay-time="150" class='user'>
- <image class='avatar-img' src="{{userInfo.avatarUrl==null?'../../static/images/my/mine_def_touxiang_3x.png':userInfo.avatarUrl}}"></image>
- <text class='user-info-mobile'>{{userInfo.username==null?"请登录":userInfo.username}}</text>
- </navigator>
- </view>
- <view hidden='{{!isLogin}}' class='user'>
- <image class='avatar-img' src='../../static/images/my/mine_def_touxiang_3x.png'></image>
- <view class='user-info-mobile'>
- <text>{{userInfo.username}}</text>
- </view>
- </view>
- </view>
- <view class='middle-container'>
- <view class='middle-item' style="width: 80%;">
- <view class='middle-tag'>可用余额:<text style="vertical-align:middle" class="text-red">{{userInfo.money==null?0:userInfo.money}} </text>元
- <image style="vertical-align:middle" bindtap="showToast" src="https://mg-vm.oss-cn-beijing.aliyuncs.com/mg-vm/2011617337666_.pic_hd.jpg" class="tui-bg-img" ></image>
- </view>
- <view class="tui-money-explain" bindtap="toInvite">
- </view>
- </view>
-
- <view class='middle-item'>
- <button wx:if="{{userInfo.mgvmRole==2||userInfo.mgvmRole==4}}" class="tui-btn tui-btn-small tui-primary tui-fillet" hover-class="tui-primary-hover" bindtap="withdrawal">提现</button>
- </view>
- </view>
-
- <tui-modal show="{{modal}}" bind:cancel="hideToast" custom="{{true}}">
- <view class="tui-modal-custom">
- <!-- <image src="../../../static/images/chat/fail.png" class="tui-tips-img"></image> -->
- <view class="tui-modal-custom-text" >
- <view style="text-align:center">付款额度</view>
- <view> ◆ 不支持给非实名用户打款(认证路口- 我的->账户绑定->微信绑定)</view>
- <view>◆ 给同一个实名用户付款,单日限额5千元,提交提现申请后24小时内到账微信零钱,请到微信钱包中进行查看,请耐心等待</view>
- </view>
- <tui-button type="primary" shape="circle" tui-button-class="tui-btn-mtop" bind:click="handleClick">确定</tui-button>
- </view>
- </tui-modal>
- <view wx:if='{{isLogin}}' class='bottom-container' >
- <view wx:if="{{userInfo.mgvmRole!=1||userInfo.mgvmRole==0}}" bindtap="toRouter" data-url="/pages/divide/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="pie" size="20" color="blue" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">分成记录</text>
- </tui-cell>
- </view>
- <view wx:if="{{userInfo.mgvmRole!=1&&userInfo.mgvmRole!=2}}" bindtap="toRouter" data-url="/pages/billing/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="order" size="20" color="blue" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">账单明细</text>
- </tui-cell>
- </view>
- <view wx:if="{{userInfo.mgvmRole!=1}}" bindtap="toRouter" data-url="/pages/accountBind/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="wealth" size="20" color="blue" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">账户绑定</text>
- </tui-cell>
- </view>
- <!--
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list" bindtap="toReward">
- <text class="tui-cell-name">奖励设置</text>
- </tui-cell> -->
- <!-- <navigator wx:if="{{userInfo.mgvmRole!=1}}" url="/pages/contractTime/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="time" size="20" color="blue" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">合约时间</text>
- </tui-cell>
- </navigator> -->
- <view wx:if="{{userInfo.mgvmRole!=1&&userInfo.mgvmRole!=3}}" bindtap="toRouter" data-url="/pages/role/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="friendadd" size="20" color="blue" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">运维创建</text>
- </tui-cell>
- </view>
- <view bindtap="toRouter" data-url="/pages/pwdSet/index" hover-class="navigator-hover">
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list">
- <tui-icon name="pwd" size="20" color="red" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">修改密码</text>
- </tui-cell>
- </view>
- <tui-cell arrow="{{true}}" tui-cell-class="tui-list" bindtap="logout">
- <tui-icon name="deletekey" size="20" color="red" tui-icon-class="margin-right-xs"></tui-icon>
- <text class="tui-cell-name">退出账号</text>
- </tui-cell>
- </view>
- </view>
|