|
@@ -3,22 +3,31 @@
|
|
<custom-page head-bg-color="#FFE7E8">
|
|
<custom-page head-bg-color="#FFE7E8">
|
|
<view slot="body" class="personal flex-column">
|
|
<view slot="body" class="personal flex-column">
|
|
<!-- 首部个人信息 -->
|
|
<!-- 首部个人信息 -->
|
|
|
|
+
|
|
|
|
+ <!-- <button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
|
|
|
|
+ <image class="avatar" src="{{avatarUrl}}" style="height: 100rpx;width: 100rpx;"></image>
|
|
|
|
+ </button>
|
|
|
|
+ <input type="nickname" class="weui-input" placeholder="请输入昵称"/> -->
|
|
<view class="head flex-column">
|
|
<view class="head flex-column">
|
|
<view class="head-personal flex-row">
|
|
<view class="head-personal flex-row">
|
|
- <image wx:if="{{!isLogin}}" class="head-personal-logo" src="/images/welfareMall/head-portrait.png" />
|
|
|
|
|
|
+
|
|
|
|
+ <image class="head-personal-logo" src="/images/welfareMall/head-portrait.png" />
|
|
<!-- 获取用户头像 -->
|
|
<!-- 获取用户头像 -->
|
|
<view class="hat" wx:if="{{isLogin}}"></view>
|
|
<view class="hat" wx:if="{{isLogin}}"></view>
|
|
- <open-data wx:if="{{isLogin}}" class="head-personal-logo" type="userAvatarUrl"></open-data>
|
|
|
|
|
|
+ <!-- <open-data wx:if="{{isLogin}}" class="head-personal-logo" type="userAvatarUrl"></open-data> -->
|
|
<view class="head-personal-nl flex-column" wx:if="{{isLogin}}">
|
|
<view class="head-personal-nl flex-column" wx:if="{{isLogin}}">
|
|
<!-- 获取用户微信昵称 -->
|
|
<!-- 获取用户微信昵称 -->
|
|
- <open-data class="head-personal-name" type="userNickName" lang="zh_CN"></open-data>
|
|
|
|
|
|
+ <!-- <open-data class="head-personal-name" type="userNickName" lang="zh_CN"></open-data> -->
|
|
<view class="head-personal-login">{{phone.toHide(mobileTop)}}</view>
|
|
<view class="head-personal-login">{{phone.toHide(mobileTop)}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<button class="personal-isLogin" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">登录/注册</button>
|
|
<button class="personal-isLogin" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">登录/注册</button>
|
|
- <image wx:if="{{isLogin}}" src="/images/welfareMall/logout.png" style="height: 30px;width: 30px;margin-left: 90px;" bindtap="logout"></image>
|
|
|
|
|
|
+ <view class="logout" wx:if="{{isLogin}}" bindtap="logout">退出登录</view>
|
|
|
|
+ <!-- <image wx:if="{{isLogin}}" src="/images/welfareMall/logout.png" style="height: 30px;width: 30px;margin-left: 90px;" bindtap="logout"></image> -->
|
|
</view>
|
|
</view>
|
|
- <view><button class="wx-isLogin-card" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPathCoupon"></button>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <button class="wx-isLogin-card" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPathCoupon"></button>
|
|
|
|
+
|
|
<view class="head-card flex-row" catchtap="{{couponPath?'getCouponPath':''}}">
|
|
<view class="head-card flex-row" catchtap="{{couponPath?'getCouponPath':''}}">
|
|
<view class="head-card-coupon">我的优惠券</view>
|
|
<view class="head-card-coupon">我的优惠券</view>
|
|
<view class="head-card-nt flex-row">
|
|
<view class="head-card-nt flex-row">
|