xz_jiangzi/pages/center/center.wxml
2023-07-11 14:37:19 +08:00

82 lines
3.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="top-img">
<image src="../../images/center-bg.png"></image>
</view>
<view class="page-container">
<view class="person">
<view class="user-avatar" bindtap="changeAvatar" >
<image src="{{usercenterUrl}}{{sourcePath}}{{userInfo.avatar}}"></image>
</view>
<view class="user-name">{{userInfo.name}}</view>
<button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="getphone" wx:if="{{randomName}}">绑定手机号</button>
<view class="tips" wx:if="{{randomName}}">绑定手机号后账号信息即可与APP共享</view>
</view>
<view class="main">
<view class="main-title">常用功能</view>
<view class="main-container">
<view class="main-box" bindtap="toMyOrder">
<image src="../../images/my-sign.png"></image>
<view class="title">我的预订</view>
</view>
<!-- <view class="main-box" bindtap="toMyFirend">
<image src="../../images/friend.png"></image>
<view class="title">我的发布</view>
</view> -->
<view class="main-box" bindtap="toMyJoinActivity">
<image src="../../images/my-sign.png"></image>
<view class="title">我的活动</view>
</view>
<!-- <view class="main-box">
<image src="../../images/my-comment.png"></image>
<view class="title">我的评论</view>
</view>
<view class="main-box">
<image src="../../images/my-collect.png"></image>
<view class="title">我的收藏</view>
</view> -->
<view class="main-box" bindtap="toMyTeam">
<image src="../../images/share.png"></image>
<view class="title">我的志愿团队</view>
</view>
<view class="main-box" bindtap="toMyVolunteerActivity">
<image src="../../images/team.png"></image>
<view class="title">我的志愿活动</view>
</view>
<view class="main-box" bindtap="toShopCar">
<image src="../../images/share.png"></image>
<view class="title">购物车</view>
</view>
<view class="main-box" bindtap="toAddressManage">
<image src="../../images/share.png"></image>
<view class="title">收货地址</view>
</view>
<view class="main-box" bindtap="toShopOrder">
<image src="../../images/share.png"></image>
<view class="title">我的订单</view>
</view>
<!-- <view class="main-box">
<image src="../../images/setting.png"></image>
<view class="title">设置</view>
</view> -->
</view>
</view>
</view>
<!-- <view class="set-phone" wx:if="{{randomName && showPhone}}">
<view class="set-phone-box">
<view class="tips">您还没有绑定手机号,请先绑定手机号</view>
<view class="phone-input">
<input placeholder="请输入手机号" bindinput="phoneNum" class="phone-input"></input>
</view>
<view class="code-input">
<input placeholder="请输入验证码" bindinput="inputCode"></input>
<view class="get-code" bindtap="testPhone" wx:if="{{!gotCode}}">获取验证码</view>
<view class="got-code" wx:else>{{restTime}}</view>
</view>
<view class="set-phone-btn-box">
<view class="set-phone-btn" bindtap="submitPhone">确认</view>
<view class="set-phone-btn" bindtap="cancelPhone">取消</view>
</view>
</view>
</view> -->
<view class="loading" wx:if="{{isLoading}}">
<image src="../../images/loading.gif"></image>
</view>