mine.wxml 1.14 KB
<view class="container">
  <!-- 导航栏 -->
  <navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="个人中心">
    <view class="bar-text">个人中心</view>
  </navigation-bar>
  <!-- 顶部背景图 -->
  <view class="topBg">
    <image webp mode="widthFix" src="{{IMGURL}}mine_center_bg.png" />
  </view>
  <!-- 个人基础信息 -->
  <user-info-widget style="z-index:99" bind:showModal="toShowBindModal" user="{{user}}" boxStyle="{{user_box_style}}"></user-info-widget>
  <!-- 积分信息 -->
  <count-info-widget bind:showModal="toShowBindModal" user="{{user}}" boxStyle="{{count_box_style}}"></count-info-widget>
  <!-- 收益明细信息 -->
  <list-info-widget></list-info-widget>
</view>
<!-- 绑定微信提示弹框 -->
<van-popup bind:click-overlay="toCloseModal" show="{{ showModal }}" custom-class="popclass" position="bottom" custom-style="height: 35%">
  <view class="modal_title">提示</view>
  <view class="modal_tip">您未绑定微信,请先完成绑定</view>
  <button class="modal_btn" open-type="getPhoneNumber" catch:tap="toCloseModal" bindgetphonenumber="toBindWechat">去绑定</button>
</van-popup>