personalCenter.wxml 9.1 KB
<!--pages/personalCenter/personalCenter.wxml-->
<view class='banner_box'>
  <view class='head_img'>
    <image src='/images/img2.png'></image>
  </view>
  <view class='head_info_box'>
    <view class='user_name'>苏菀菁</view>
    <view>15869584682</view>
    <view>某某机构</view>
    <view>某某职业</view>
  </view>
  <view class='edit_box' bindtap='editInfo'>
    <view class='iconfont icon-xiugai'></view>
    <view>修改个人资料</view>
  </view>
</view>
<!-- 顾问个人中心 -->
<view class='content_box' wx:if='{{user_type==3}}'>
  <view class='item_list' bindtap='TB'>
    <view class='list_icon'>
      <text class='iconfont icon-kakou'></text>
    </view>
    <view class='list_item_box'>
      <view>T币交易记录</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='vipCharge'>
    <view class='list_icon'>
      <text class='iconfont icon-gray-crown'></text>
    </view>
    <view class='list_item_box'>
      <view>会员充值</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='reportList'>
    <view class='list_icon'>
      <text class='iconfont icon-baogao'></text>
    </view>
    <view class='list_item_box'>
      <view>报告浏览记录</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='articlList'>
    <view class='list_icon'>
      <text class='iconfont icon-baogao1'></text>
    </view>
    <view class='list_item_box'>
      <view>文章浏览记录</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='suggest'>
    <view class='list_icon'>
      <text class='iconfont icon-jianyi'></text>
    </view>
    <view class='list_item_box'>
      <view>建议预设</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='project'>
    <view class='list_icon'>
      <text class='iconfont icon-fangan'></text>
    </view>
    <view class='list_item_box'>
      <view>方案预设</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='share'>
    <view class='list_icon'>
      <text class='iconfont icon-fenxiang1'></text>
    </view>
    <view class='list_item_box'>
      <view>分享赚T币</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='twoCode'>
    <view class='list_icon'>
      <text class='iconfont icon-xiazai'></text>
    </view>
    <view class='list_item_box'>
      <view>下载专属二维码</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='inviteList'>
    <view class='list_icon'>
      <text class='iconfont icon-yaoqing'></text>
    </view>
    <view class='list_item_box'>
      <view>邀请名单</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
  <view class='item_list' bindtap='remind'>
    <view class='list_icon'>
      <text class='iconfont icon-YDUI-naozhong'></text>
    </view>
    <view class='list_item_box'>
      <view>7天到期提醒</view>
      <view class='iconfont icon-jinru'></view>
    </view>
  </view>
</view>

<!-- 客户个人中心 -->
<block wx:elif='{{user_type==2}}'>
  <view class='content_box'>
    <view class='item_list' bindtap='policyList'>
      <view class='list_icon'>
        <text class='iconfont icon-listpress'></text>
      </view>
      <view class='list_item_box'>
        <view>保单列表</view>
        <view class='iconfont icon-jinru'></view>
      </view>
    </view>
    <view class='item_list' bindtap='medicalReport'>
      <view class='list_icon'>
        <text class='iconfont icon-icon-test'></text>
      </view>
      <view class='list_item_box'>
        <view>体检报告</view>
        <view class='iconfont icon-jinru'></view>
      </view>
    </view>
    <view class='item_list' bindtap='register'>
      <view class='list_icon'>
        <text class='iconfont icon-renzheng1'></text>
      </view>
      <view class='list_item_box'>
        <view>顾问认证</view>
        <view class='iconfont icon-jinru'></view>
      </view>
    </view>
    <view class='item_list' bindtap='consultantInfo'>
      <view class='list_icon'>
        <text class='iconfont icon-kehuguanli-copy-copy'></text>
      </view>
      <view class='list_item_box'>
        <view>顾问信息</view>
        <view class='iconfont icon-jinru'></view>
      </view>
    </view>
  </view>
</block>
<!-- 传播大使个人中心 -->
<view class='envoy_box' wx:elif='{{user_type==4}}'>
  <view class='tab_box'>
    <view class="tab_item  {{currentTab==0?'tab_active':''}}" data-current="0" bindtap='tabCharge'>账户余额</view>
    <view class="tab_item  {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>分享</view>
  </view>
  <block wx:if='{{currentTab==0}}'>
    <view class='envoy_content_box envoy'>
      <view>
        <view class='envoy_money'>10.00元</view>
        <view class='envoy_info'>正在提现中10.00元</view>
      </view>
      <view class='envoy_btn' bindtap='withdraw'>我要提现</view>
    </view>
    <view class='charge_box'>
      <view class='envoy_title_box'>交易记录</view>
      <view class='box' wx:for='{{[1,1]}}'>
        <view class='envoy_content_box'>
          <view>
            <view class='envoy_title'>某顾问</view>
          </view>
          <view bindtap='tabExpand'>
            <text class="iconfont font_icon  {{tab_state?'icon-shang':'icon-xiala'}}"></text>
            <text class='envoy_hint' wx:if='{{tab_state}}'>收起</text>
            <text class='envoy_hint' wx:else>展开</text>
          </view>
        </view>
        <view class="envoy_info_box {{!tab_state?'expand':''}}">
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
        </view>
      </view>
    </view>
  </block>
  <block wx:if='{{currentTab==1}}'>
    <view class='share_box'>
      <view class='envoy_content_box share'>
        <view class='share_content'>我是您的推荐人向昱筱,郑重邀请您使用智能E化保单体检工具。填入以下信息完成注册。(前台可编辑)</view>
        <view>
          <button class='share_btn'>
            <text>立即分享</text>
            <text class='iconfont icon-jinru'></text>
          </button>
        </view>
      </view>
    </view>
    <view class='content_box'>
      <view class='item_list'>
        <view class='list_icon'>
          <text class='iconfont icon-jisuanqi'></text>
        </view>
        <view class='list_item_box'>
          <view>分享二维码</view>
          <view class='iconfont icon-jinru'></view>
        </view>
      </view>
    </view>
    <view class='charge_box'>
      <view class='envoy_title_box'>
        <text>邀请名单</text>
        <text>充值记录</text>
      </view>
      <view class='box' wx:for='{{[1,1]}}'>
        <view class='envoy_content_box'>
          <view>
            <view class='envoy_title'>某顾问</view>
          </view>
          <view bindtap='tabExpand'>
            <text class="iconfont font_icon  {{tab_state?'icon-shang':'icon-xiala'}}"></text>
            <text class='envoy_hint' wx:if='{{tab_state}}'>收起</text>
            <text class='envoy_hint' wx:else>展开</text>
          </view>
        </view>
        <view class="envoy_info_box {{!tab_state?'expand':''}}">
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
          <view class='envoy_content'>
            <view>2018-11-16</view>
            <view class='envoy_title'>+10元</view>
          </view>
        </view>
      </view>
    </view>

  </block>
</view>

<!-- 提现弹窗 -->
<view class='mask_box' bindtap='setmoudelno' wx:if='{{withdraw_state}}'>
  <view class='popup_box' catchtap='funvoid'>
    <view class='popup_title'>提现</view>
    <view class='popup_content'>
      <view class='popup_total'>我的余额:20.00元</view>
      <view class='popup_input_box'>
        <view>¥</view>
        <view>
          <input type='number' placeholder='请输入提现金额' bindinput='setTbNum'></input>
        </view>
      </view>
      <view class='popup_btn' catchtap='confirmWithdrawal'>确认提现</view>
    </view>
  </view>
</view>