|
123456789101112131415161718192021222324252627282930 |
- <!--pages/personal/personal.wxml-->
- <view class="container">
- <image class="bg" src="../../static/personal/bg.jpg"></image>
- <view class="userContainer">
- <button class="getUserBtn" wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像</button>
- <view class="headBox" wx:else>
- <image src="{{userInfo.avatarUrl}}" mode="aspectFill"></image>
- </view>
- <view class="userName">{{userInfo?userInfo.nickName:'用户昵称'}}</view>
- <view class="userNo">{{userNo}}</view>
- </view>
- <view class="infoContainer">
- <view class="listBox" data-index='1' catchtap='showVecords'>
- <text class="listName icon1">核销代金券</text>
- <text class="listValue">{{record.check_cash}}</text>
- </view>
- <view class="listBox" data-index='2' catchtap='showVecords'>
- <text class="listName icon2">核销菜品券</text>
- <text class="listValue">{{record.check_dish}}</text>
- </view>
- <view class="listBox" data-index='3' catchtap='showVecords'>
- <text class="listName icon3">积分核销</text>
- <text class="listValue">{{record.sum_check_point}}</text>
- </view>
- <view class="listBox" data-index='4' catchtap='showVecords'>
- <text class="listName icon4">赠送积分</text>
- <text class="listValue">{{record.sum_add_point}}</text>
- </view>
- </view>
- </view>
|