|
|
|
|
@ -1,9 +1,20 @@
|
|
|
|
|
<view class="container">
|
|
|
|
|
<view class="profile-info" bindtap="goLogin">
|
|
|
|
|
<image class="avatar" src="{{userInfo.avatar}}"></image>
|
|
|
|
|
|
|
|
|
|
<view wx:if="{{false}}">
|
|
|
|
|
<view class="avatar">
|
|
|
|
|
<open-data type="userAvatarUrl" ></open-data>
|
|
|
|
|
</view>
|
|
|
|
|
<text class='auth-title'>请提供以下授权,即可继续操作</text>
|
|
|
|
|
<text class='auth-detail'>获得你的公开信息(昵称、头像等)</text>
|
|
|
|
|
<button class='auth-btn' open-type='getUserInfo'>确认授权</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view wx:else>
|
|
|
|
|
|
|
|
|
|
<view class="profile-info">
|
|
|
|
|
<image class="avatar" src="{{userInfo.avatarUrl}}"></image>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<text class="name">{{userInfo.nickname}}11</text>
|
|
|
|
|
<!-- <text class="level">{{userInfo.username}}</text> -->
|
|
|
|
|
<text class="name">{{userInfo.nickName}}{{test}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
@ -14,69 +25,16 @@
|
|
|
|
|
<text class="txt">我的订单</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item">
|
|
|
|
|
<navigator url="/pages/ucenter/coupon/coupon" class="a">
|
|
|
|
|
<text class="icon coupon"></text>
|
|
|
|
|
<text class="txt">优惠券</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="item no-border">
|
|
|
|
|
<navigator url="url" class="a">
|
|
|
|
|
<text class="icon gift"></text>
|
|
|
|
|
<text class="txt">礼品卡</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="item">
|
|
|
|
|
<navigator url="/pages/ucenter/collect/collect" class="a">
|
|
|
|
|
<text class="icon address"></text>
|
|
|
|
|
<text class="txt">我的收藏</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item">
|
|
|
|
|
<navigator url="/pages/ucenter/footprint/footprint" class="a">
|
|
|
|
|
<text class="icon security"></text>
|
|
|
|
|
<text class="txt">我的足迹</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="item">
|
|
|
|
|
<navigator url="url" class="a">
|
|
|
|
|
<text class="icon kefu"></text>
|
|
|
|
|
<text class="txt">会员福利</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="item">
|
|
|
|
|
<navigator url="../address/address" class="a">
|
|
|
|
|
<text class="icon address"></text>
|
|
|
|
|
<text class="txt">地址管理</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="item">
|
|
|
|
|
<navigator url="url" class="a">
|
|
|
|
|
<text class="icon security"></text>
|
|
|
|
|
<text class="txt">账号安全</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
<!-- <view class="item item-bottom">
|
|
|
|
|
<navigator url="url" class="a">
|
|
|
|
|
<text class="icon help"></text>
|
|
|
|
|
<text class="txt">帮助中心</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="item item-bottom">
|
|
|
|
|
<navigator url="/pages/ucenter/feedback/feedback" class="a">
|
|
|
|
|
<text class="icon feedback"></text>
|
|
|
|
|
<text class="txt">意见反馈</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="item item-bottom">
|
|
|
|
|
<navigator url="url" class="a">
|
|
|
|
|
<text class="icon kefu"></text>
|
|
|
|
|
<text class="txt">联系客服</text>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<!--<view class="logout" bindtap="exitLogin">退出登录</view>-->
|
|
|
|
|
</view>
|