123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <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.avatar?userInfo.avatar:'https://636c-cloud1-7g2wlwzh596f43b6-1306306616.tcb.qcloud.la/%E5%9C%86%E5%BD%A2logo%403x.png?sign=9c634e6a925c92259459f604a261bc6b&t=1645864304'}}" class="userPicture"></image>
- <view class="dd">
- <view wx:if="{{hasUserInfo}}">
- <text class="phone">{{userInfo.wx_nickname}}</text>
- </view>
- <view wx:else>
- <text class="phone" bindtap="getUserProfile">请点击登录</text>
- </view>
- <button class="phone" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">{{userInfo
- .phone!=0?userInfo
- .phone:'点击获取手机号'}}</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">{{yue}}</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</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:if="{{item.text!='客服热线'}}" 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-item use-slot wx:if="{{item.text=='客服热线'}}" wx:for="{{menuList}}" wx:key="*this" class="kf">
- <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>
- <button open-type="contact"></button>
- </van-grid-item>
- <van-grid-item use-slot class="kf">
- <view class="menuItem" style="width: 140rpx;" catchtap="goqjm">
- <image src="../../../image/my/02.png" class="icon"></image>
- <view class="tit">取件码取件</view>
- </view>
- </van-grid-item>
-
- </van-grid>
- </view>
- </view>
- <!-- <taskOrder value="3" bind:rightClick="rightClick"></taskOrder> -->
- </view>
- </view>
- <van-popup show="{{ show }}" bind:close="onClose" custom-style="height: 40%;">
- <view class="section10">
- <view class="layer1">
- <text lines="1" class="txt5">输入取件码</text>
- <image src="" class="icon2"></image>
- </view>
- <view class="layer2">
- <text lines="1" class="txt6">下方输入用户提供的六位数取件码</text>
- </view>
- <view class="layer3">
- <view class="pic2">
- <view class="input">{{one}}</view>
- <view class="input">{{two}}</view>
- <view class="input">{{three}}</view>
- <view class="input">{{four}}</view>
- <view class="input">{{five}}</view>
- <view class="input">{{six}}</view>
- <input auto-focus="{{focus}}" type="number" maxlength="6" model:value="{{inputValue}}" bindinput="finish"></input>
- </view>
- </view>
- </view>
- </van-popup>
|