You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

personal.wxml 1.3KB

5 anni fa
123456789101112131415161718192021222324252627282930
  1. <!--pages/personal/personal.wxml-->
  2. <view class="container">
  3. <image class="bg" src="../../static/personal/bg.jpg"></image>
  4. <view class="userContainer">
  5. <button class="getUserBtn" wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像</button>
  6. <view class="headBox" wx:else>
  7. <image src="{{userInfo.avatarUrl}}" mode="aspectFill"></image>
  8. </view>
  9. <view class="userName">{{userInfo?userInfo.nickName:'用户昵称'}}</view>
  10. <view class="userNo">{{userNo}}</view>
  11. </view>
  12. <view class="infoContainer">
  13. <view class="listBox" data-index='1' catchtap='showVecords'>
  14. <text class="listName icon1">核销代金券</text>
  15. <text class="listValue">{{record.check_cash}}</text>
  16. </view>
  17. <view class="listBox" data-index='2' catchtap='showVecords'>
  18. <text class="listName icon2">核销菜品券</text>
  19. <text class="listValue">{{record.check_dish}}</text>
  20. </view>
  21. <view class="listBox" data-index='3' catchtap='showVecords'>
  22. <text class="listName icon3">积分核销</text>
  23. <text class="listValue">{{record.sum_check_point}}</text>
  24. </view>
  25. <view class="listBox" data-index='4' catchtap='showVecords'>
  26. <text class="listName icon4">赠送积分</text>
  27. <text class="listValue">{{record.sum_add_point}}</text>
  28. </view>
  29. </view>
  30. </view>