inviteFriends.wxml 5.2 KB

<view class='container'>
  <view class='top'>
    <image src='../../img/aicon_56@2x.png'></image>
    <view class='top_t'>
      <view class='top_t_text'>累计获得奖励金额(元)</view>
      <view class='top_t_num'>{{user.grand}}</view>
    </view>
    <view class='top_right'>
      <view class='top_right_icon'>
        <image src='../../img/aicon_34@2x.png'></image>
      </view>
      <view class='top_right_text'>财务记录</view>
    </view>
  </view>

  <!-- 取现盒子 -->
  <view class='mid'>
    <view class='mid_pic'>
      <image src='../../img/aicon_35@2x.png'></image>

      <view class='mid_content'>
        <view class='mid_content_top'>可提现金额(元)</view>
        <view class='mid_content_mid'>{{user.balance}}</view>
        <view class='mid_content_bottom'>已提现金额(元)<span class='fontSize'>{{user.deposit}}</span></view>
      </view>
      <!-- 提现 -->
      <view class='mid_deposit' bindtap='open_apply'>
        <view class='mid_deposit_text'>提现</view>
        <view class='mid_deposit_icon'>
          <image src='../../img/aicon_33@2x.png'></image>
        </view>
      </view>
    </view>
  </view>

  <!-- 邀请盒子 -->
  <view class='invite'>

    <view class="invite_top">
<view wx:for="{{navbar}}" data-idx="{{index}}" class="invite_top_select {{currentTab==index ? 'color_yellow' : ''}}" wx:key="unique" bindtap="navbarTap" data-categoryid="{{item.id}}">{{item.name}}
  </view>
  </view>


    <!-- <view class='invite_top'>
      <view class='invite_top_select color_yellow'>有效邀请(15人)</view>
      <view class='invite_top_select '>无效邀请(15人)</view>

    </view> -->
    <!-- 有效邀请 -->
    <view class='invite_box' wx:if="{{currentTab==0}}">
      <view class='invite_item' wx:for="{{record}}" wx:key="">
        <view class='invite_item_left'>
          <view class='invite_item_left_icon'>
            <image src='{{item.avatar}}'></image>
          </view>
          <view class='invite_item_left_text'>
            {{item.user_nickname}}
          </view>
        </view>

        <view class='invite_item_right'>
          已报名{{item.count}}次
        </view>
      </view>

      <!-- <view class='invite_item'>
        <view class='invite_item_left'>
          <view class='invite_item_left_icon'>
            <image src='../../img/aicon_49@2x.png'></image>
          </view>
          <view class='invite_item_left_text'>
            宇宙无敌小可爱
          </view>
        </view>

        <view class='invite_item_right'>
          已报名2次
        </view>
      </view> -->
    </view>

    <!-- 无效邀请 -->
    <view class='invite_box' wx:if="{{currentTab==1}}">
      <view class='invite_item' wx:for="{{record}}" wx:key="">
        <view class='invite_item_left'>
          <view class='invite_item_left_icon'>
            <image src='{{item.avatar}}'></image>
          </view>
          <view class='invite_item_left_text'>
            {{item.user_nickname}}
          </view>
        </view>

        <view class='invite_item_right'>
          已报名{{item.count}}次
        </view>
      </view>

      <!-- <view class='invite_item'>
        <view class='invite_item_left'>
          <view class='invite_item_left_icon'>
            <image src='../../img/aicon_49@2x.png'></image>
          </view>
          <view class='invite_item_left_text'>
            宇宙无敌小可爱
          </view>
        </view>

        <view class='invite_item_right'>
          已报名2次
        </view>
      </view> -->

     
    </view>


    <!-- 查看更多 -->
    <view class='invite_bottom'>
      <view class='invite_bottom_text'>查看更多</view>
      <view class='invite_bottom_icon'>
        <image src='../../img/aicon_01@2x.png'></image>
      </view>
    </view>  
  </view>

  <!-- 提现弹层 -->
  <view class='mask' wx:if="{{show_apply}}" >
    <view class='mask_item'>
      <!-- 关闭 -->
      <view class='mask_item_top'>
        <view></view>
        <view class='mask_item_top_pic' bindtap='close_apply'>
          <image src='../../img/aicon_47@2x.png'></image>
        </view>
      </view>
      <!-- 提现申请 -->
      <view class='mask_item_title'>
        提现申请
      </view>
      <!-- 输入信息 -->
      <view class='input_item marin_t'>
        <view class='input_item_left'>支付宝账户</view>
        <input placeholder='请输入正确的支付宝账户'></input>
      </view>
      <view class='input_item'>
        <view class='input_item_left'>账户姓名</view>
        <input placeholder='请输入支付宝姓名'></input>
      </view>
      <view class='input_item item3'>
        <view class='input_item_left'>输入提现金额</view>
        <input placeholder='请输入10的倍数'></input>
        <view class='input_text'>元</view>
      </view>

      <!-- 提交 -->
      <view class='button_box'>
        <view class='button'>提交</view>
      </view>

      <!-- 提示字体 -->
      <view class='bottom_text'>
        奖励需满10元可提,提现金额必须为10的倍数,每日最多提现一次,提交成功后,会在三个工作日内转账至您的支付宝账号,请确保账号、姓名填写正确哦~
      </view>

    </view>
  </view>

</view>