1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <view class="page {{active?'page1':''}}">
- <view class="title" style="top:{{btnInfo.top + 5}}px">我的</view>
- <view class="topBoxs flex">
- <view class="le flex">
- <image src="{{userInfo.avatarUrl?userInfo.avatarUrl:'/image/order/houwaitao.png'}}" class="userPicture"></image>
- <view class="dd">
- <view wx:if="{{hasUserInfo}}">
- <text class="phone">{{userInfo.nickName}}</text>
- </view>
- <view wx:else>
- <text class="phone" bindtap="getUserProfile">请点击登录</text>
- </view>
- <button class="phone" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">{{code?handle.toHide(code):'点击获取手机号'}}</button>
- <!-- <text class="phone" style=" margin-top: 15rpx;"> </text> -->
- </view>
- <wxs src="/utils/handle.wxs" module="handle"></wxs>
- </view>
- <image src="/image/my/bg.png" class="bg"></image>
- </view>
- <!-- 无活动 -->
- <view class="menuBoxs " wx:if="{{!active}}">
- <van-grid border="{{false}}">
- <van-grid-item use-slot wx:for="{{menuList}}" wx:key="*this" bindtap="toUrl" data-url="{{item.url}}">
- <view class="menuItem">
- <image src="{{item.icon}}" class="icon"></image>
- <view class="tit">{{item.text}}</view>
- <dot num="3张" offset="{{[-20,-20]}}" radius="19rpx 19rpx 19rpx 0rpx;" wx:if="{{item.text == '优惠券'}}"></dot>
- </view>
- </van-grid-item>
- </van-grid>
- </view>
- <!-- 有活动 -->
- <view class="active" wx:else>
- <view class="message flex ju-a">
- <view class="le" bindtap="toUrl" data-url="/pages/my/account/account">
- <view class="num">0.00</view>
- <view class="tips">余额(元)</view>
- </view>
- <view class="line"></view>
- <view class="lr" bindtap="toUrl" data-url="/pages/my/coupon/coupon">
- <view class="num">0.00</view>
- <view class="tips">优惠券(张)</view>
- </view>
- </view>
- <view class="contioner">
- <view class="titText">我的服务</view>
- <view class="menuBoxs2">
- <van-grid border="{{false}}">
- <van-grid-item use-slot wx:for="{{menuList}}" wx:key="*this" bindtap="toUrl" data-url="{{item.url}}">
- <view class="menuItem">
- <image src="{{item.icon}}" class="icon"></image>
- <view class="tit">{{item.text}}</view>
- <dot num="3张" offset="{{[-20,-20]}}" radius="19rpx 19rpx 19rpx 0rpx;" wx:if="{{item.text == '优惠券'}}"></dot>
- </view>
- </van-grid-item>
- </van-grid>
- </view>
- </view>
- <taskOrder value="3" bind:rightClick="rightClick"></taskOrder>
- </view>
- </view>
|