mine.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!--pages/mine/mine.wxml-->
  2. <!-- 我的视图 -->
  3. <!-- 导航栏 -->
  4. <nav-bar title="我的" left="{{false}}"></nav-bar>
  5. <!-- 我的顶部视图 -->
  6. <view class="minetop">
  7. <van-image src="{{avatarUrl}}" round width="50" height="50"></van-image>
  8. <view class="userinfo">
  9. <view class="userinfo-vip">
  10. <text>VIP</text>
  11. <text>永久</text>
  12. </view>
  13. <view class="userinfo-account">
  14. <text>elena</text>
  15. <text>21000001</text>
  16. </view>
  17. <text>深圳水贝珠宝有限公司</text>
  18. </view>
  19. </view>
  20. <!-- 出金 入金 -->
  21. <view class="button-view">
  22. <van-button custom-class="into-gold" id="into-gold" icon="https://img.yzcdn.cn/vant/logo.png" color="linear-gradient(to right, #4bb0ff, #6149f6)" bind:click="onButtonPressed">充值</van-button>
  23. <van-button custom-class="out-gold" id="out-gold" icon="https://img.yzcdn.cn/vant/logo.png" color="linear-gradient(to right, #4bb0ff, #FF7252)" bind:click="onButtonPressed">提现</van-button>
  24. </view>
  25. <!-- 功能菜单项 -->
  26. <van-grid column-num="5" wx:if="{{menulists.count != 0}}">
  27. <van-grid-item wx:for="{{menulists}}" wx:key="id" wx:for-index="idx" wx:for-item="itm" id="{{itm.id}}" icon="{{itm.img}}" icon-color="red" dot link-type="navigateTo" url="{{itm.path}}">
  28. <text slot="text" style="font-size: 13px;">{{itm.title}}</text>
  29. </van-grid-item>
  30. </van-grid>
  31. <!-- 列表菜单项 -->
  32. <van-cell-group>
  33. <van-cell clickable title-class="cell-title" center is-link border wx:for="{{tablelists}}" use-label-slot clickable wx:key="id" wx:for-index="idx" wx:for-item="itm" id="{{itm.id}}" title="{{itm.title}}" link-type="navigateTo" url="{{itm.path}}">
  34. </van-cell>
  35. </van-cell-group>
  36. <!-- 登出按钮 -->
  37. <button class="loginOut" bindtap="onLoginOut">系统登出</button>
  38. <!-- 对话弹框 -->
  39. <van-dialog id="van-dialog" />
  40. <!-- toast -->
  41. <van-toast id="van-toast" />