|
|
- <!--pages/my/my.wxml-->
- <view class="vip">
- <view class="tx" bindtap="goPath" data-path="/pages/personalData/personalData">
- <view class="tximg">
- <!-- <image src="{{userInfo.avatarUrl}}" mode="widthFix"></image> -->
- <button open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar"></button>
- <!-- <button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
- <image class="avatar" src="{{avatarUrl}}"></image>
- </button> -->
- <open-data type="userAvatarUrl"></open-data>
- </view>
- <view class="txtxt" bindtap="personalData">
- <view class="phone">
- <!-- <open-data type="userNickName"></open-data> -->
- <view>{{userInfo.username}}</view>
- </view>
- </view>
- <view class="righticon" bindtap="personalData">
- <icon class="iconfont icon-right1"></icon>
- </view>
- </view>
- </view>
- <!-- <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">手机号</button> -->
- <view class="serviceList">
- <navigator url="/pages/modelselection/modelselection" wx:if="{{userInfo.type<2}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>施工</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <navigator url="/pagesA/activatePayment/activatePayment" wx:if="{{userInfo.type<2}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>绑定银行卡</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <navigator url="/pages/updateWord/updateWord">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>修改密码</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <navigator url="/pages/config/config" wx:if="{{userInfo.type==0}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>设置数据区域</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <navigator url="/pages/rentManagement/rentManagement" wx:if="{{userInfo.type==0}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>合同</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <navigator url="/pages/orderList/orderList" wx:if="{{userInfo.type==0}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>订单列表</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator>
- <!-- <navigator url="/pages/changeLock/changeLock" wx:if="{{userInfo.type<2}}">
- <view class="serviceLi">
- <view class="servicetxt">
- <icon class="iconfont iconziliao"></icon>
- <text>换锁</text>
- </view>
- <view class="serviceright">
- <icon class="iconfont icon-right"></icon>
- </view>
- </view>
- </navigator> -->
- </view>
- <view class="bottombutton">
- <van-button type="default" block bindtap="logout">退出登录</van-button>
- </view>
|