|
|
@@ -15,10 +15,7 @@
|
|
|
<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>{{memberName}}</text>
|
|
|
- <view class='edit-img' hover-class="opcity" hover-stay-time="150" bindtap="edit">
|
|
|
- <image src='../../static/images/my/mine_icon_bianji_3x.png'></image>
|
|
|
- </view>
|
|
|
+ <text>{{userInfo.username}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -29,10 +26,6 @@
|
|
|
<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">
|
|
|
- <tui-tag type="warning" tui-tag-class="tui-tag-share tui-size" shape="circleLeft" size="small">
|
|
|
- <tui-icon name="order" color="#fff" size="15"></tui-icon>
|
|
|
- <text class="tui-share-text tui-gray-txt">账户记录</text>
|
|
|
- </tui-tag>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -55,26 +48,26 @@
|
|
|
</tui-modal>
|
|
|
|
|
|
|
|
|
- <view class='bottom-container' >
|
|
|
- <navigator wx:if="{{userInfo.mgvmRole!=1||userInfo.mgvmRole==0}}" url="/pages/divide/index" hover-class="navigator-hover">
|
|
|
+ <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>
|
|
|
- </navigator>
|
|
|
- <navigator wx:if="{{userInfo.mgvmRole!=1&&userInfo.mgvmRole!=2}}" url="/pages/billing/index" hover-class="navigator-hover">
|
|
|
+ </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>
|
|
|
- </navigator>
|
|
|
+ </view>
|
|
|
|
|
|
- <navigator wx:if="{{userInfo.mgvmRole!=1}}" url="/pages/accountBind/index" hover-class="navigator-hover">
|
|
|
+ <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>
|
|
|
- </navigator>
|
|
|
+ </view>
|
|
|
<!--
|
|
|
<tui-cell arrow="{{true}}" tui-cell-class="tui-list" bindtap="toReward">
|
|
|
<text class="tui-cell-name">奖励设置</text>
|
|
|
@@ -88,19 +81,19 @@
|
|
|
</navigator> -->
|
|
|
|
|
|
|
|
|
- <navigator wx:if="{{userInfo.mgvmRole!=1&&userInfo.mgvmRole!=3}}" url="/pages/role/index" hover-class="navigator-hover">
|
|
|
+ <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>
|
|
|
- </navigator>
|
|
|
+ </view>
|
|
|
|
|
|
- <navigator url="/pages/pwdSet/index" hover-class="navigator-hover">
|
|
|
+ <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>
|
|
|
- </navigator>
|
|
|
+ </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>
|