123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <view class="user-info">
- <!-- <image class="bg" src="/images/background/my-background.png"></image> -->
- <view class="user-info-box flex flex-align-center {{ userInfo.is_vip == 1 ? 'active' : '' }}">
- <image class="avatar" src="{{userInfo.avatar_url || '/images/header.png'}}" bindtap="onAvatar"></image>
- <view class="info-right flex-column">
- <text class="nick-name">{{userInfo.nickname || '微信用户'}}</text>
- <!-- <view class="intro flex-align-center">
- <view class="gender flex-center" style="margin-right: 14rpx;" wx:if="{{ userInfo.sex == 1 || userInfo.sex == 2 }}">
- <image src="/images/icon_gender_{{userInfo.sex}}.png"></image>
- </view>
- <view class="city flex-center" style="margin-right: 16rpx;">深圳</view>
- <view class="vip-time flex-center" wx:if="{{userInfo.vip}}">
- <image src="/images/icon_vip_04.png"></image>
- <text>{{userInfo.vip.card_name}}({{userInfo.vip.store_time_alias}})</text>
- </view>
- </view>
- <text style="color: #666;font-size: 24rpx;" wx:if="{{userInfo.is_vip == 1}}">会员有效期时间:{{userInfo.vip.valid_time}}</text>
- <text style="color: #666;font-size: 28rpx;" wx:if="{{userInfo.is_vip == 0}}">您还没有开通会员哦~</text> -->
- </view>
- </view>
- </view>
- <!-- <view class="order item-radius" style="margin-top: -66rpx;">
- <navigator url="/pages/order/order?current=0" hover-class="none">
- <view class="item">
- <image src="/images/dfk.png"></image>
- <text>待付款</text>
- <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.wait_pay_num > 0}}">{{userInfo.order_num.wait_pay_num > 99 ? '99' : userInfo.order_num.wait_pay_num }}</view>
- </view>
- </navigator>
- <navigator url="/pages/order/order?current=1" hover-class="none">
- <view class="item">
- <image src="/images/yyy.png"></image>
- <text>已预约</text>
- <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.wait_use_num > 0}}">{{userInfo.order_num.wait_use_num > 99 ? '99' : userInfo.order_num.wait_use_num }}</view>
- </view>
- </navigator>
- <navigator url="/pages/order/order?current=2" hover-class="none">
- <view class="item">
- <image src="/images/jxz.png"></image>
- <text>进行中</text>
- <view class="item-num flex-center" wx:if="{{userInfo.order_num && userInfo.order_num.using_num > 0}}">{{userInfo.order_num.using_num > 99 ? '99' : userInfo.order_num.using_num }}</view>
- </view>
- </navigator>
- <navigator url="/pages/order/order?current=3" hover-class="none">
- <view class="item">
- <image src="/images/yjs.png"></image>
- <text>已结算</text>
- </view>
- </navigator>
- <navigator url="/pages/order/order?current=4" hover-class="none">
- <view class="item">
- <image src="/images/yqx.png"></image>
- <text>已取消</text>
- </view>
- </navigator>
- </view> -->
- <view class="tools">
- <view class="item-radius" style="margin-top: 20rpx;">
- <navigator url="/pages/recordList/recordList">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_01.png"></image>
- <text class="flex1">门店检查记录</text>
- <!-- check_status -->
- <text class="active" style="color:#999999;">{{ userInfo.check_status == 1 ? '今日已检查' : '今日未检查' }}</text>
- <image class="icon-right" src="/images/right.png"></image>
- </view>
- </navigator>
- <navigator url="/pages/customerList/customerList">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_02.png"></image>
- <text class="flex1">门店客户记录</text>
- <!-- <text class="active" wx:if="{{ userInfo.card_num>0 }}">{{userInfo.card_num}}张可用</text> -->
- <image class="icon-right" src="/images/right.png"></image>
- </view>
- </navigator>
- </view>
- <view class="item-radius" style="margin-top: 20rpx;">
- <navigator url="">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_03.png"></image>
- <text class="flex1">扫一扫</text>
- </view>
- </navigator>
- <navigator url="">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_03.png"></image>
- <text class="flex1">我的服务记录</text>
- </view>
- </navigator>
- </view>
- <view class="item-radius" style="margin-top: 20rpx;">
- <navigator url="/subpackage/user/pages/dossier/dossier">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_03.png"></image>
- <text class="flex1">个人信息</text>
- <text class="active" style="color:#999999;">去修改</text>
- <image class="icon-right" src="/images/right.png"></image>
- </view>
- </navigator>
- <navigator url="/pages/role/role" hover-class="none">
- <view class="item line">
- <image class="icon-left" src="/images/icon_tools_04.png"></image>
- <text class="flex1">切换角色</text>
- <text class="active" style="color:#999999;" wx:if="{{ userInfo.role_name }}">{{ userInfo.role_name
- }}</text>
- <image class="icon-right" src="/images/right.png"></image>
- </view>
- </navigator>
- <navigator url="/pages/contact/contact" hover-class="none">
- <view class="item">
- <image class="icon-left" src="/images/icon_tools_05.png"></image>
- <text class="flex1">联系我们</text>
- <!-- <text class="active" style="color:#999999;">去修改</text> -->
- <image class="icon-right" src="/images/right.png"></image>
- </view>
- </navigator>
- </view>
- </view>
- <change-env visible="{{ visible }}"></change-env>
|