index.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <view class="container">
  2. <view class="top">
  3. <view class="profile-info" wx:if="{{hasLogin}}">
  4. <image class="avatar" src="{{userInfo.avatarUrl}}"></image>
  5. <text class="name">{{userInfo.nickName}}</text>
  6. <view class="cert">
  7. 您的可用积分: 1000
  8. </view>
  9. </view>
  10. </view>
  11. <view class="middle">
  12. <view class="point">★ 积分记录</view>
  13. <view class="desc">★ 积分说明</view>
  14. </view>
  15. <view class='goods'>
  16. <view class="img">
  17. <image src="/static/images/gift.png"></image>
  18. </view>
  19. <view class="info">
  20. <view class="name">拉朵安健初榨核桃油</view>
  21. <view class="price">市场价格:¥200</view>
  22. <view class="point">所需积分:200积分</view>
  23. <view class="btn" bindtap="goExchange">兑换 ></view>
  24. </view>
  25. </view>
  26. <view class='goods'>
  27. <view class="img">
  28. <image src="/static/images/gift.png"></image>
  29. </view>
  30. <view class="info">
  31. <view class="name">拉朵安健初榨核桃油</view>
  32. <view class="price">市场价格:¥200</view>
  33. <view class="point">所需积分:200积分</view>
  34. <view class="btn" bindtap="goExchange">兑换 ></view>
  35. </view>
  36. </view>
  37. <view class='goods'>
  38. <view class="img">
  39. <image src="/static/images/gift.png"></image>
  40. </view>
  41. <view class="info">
  42. <view class="name">拉朵安健初榨核桃油</view>
  43. <view class="price">市场价格:¥200</view>
  44. <view class="point">所需积分:200积分</view>
  45. <view class="btn" bindtap="goExchange">兑换 ></view>
  46. </view>
  47. </view>
  48. </view>