start.wxml 2.6 KB
<!--pages/start/start.wxml-->
<!--   -->
<view class='info'>请选择身份</view>
<view class="container">
  <view class='content_img'>
    <image src='/images/eeee@2x.png'></image>
  </view>
  <view class='bottom_btn'>
    <button open-type="getUserInfo" bindgetuserinfo='start' data-user='3'>
      <text class='iconfont icon-danjiantou'></text>
      <text class='iconfont icon-hengxian1'></text>
      <text class='title'>我是顾问</text>
    </button>
  </view>
  <view class='bottom_btn'>
    <button class='client_btn' open-type="getUserInfo" bindgetuserinfo='start' data-user='2'>
      <text class='iconfont icon-danjiantou'></text>
      <text class='iconfont icon-hengxian1'></text>
      <text class='title'>我是客户</text>
    </button>
  </view>
  <view class='bottom_btn'>
    <button class='promoter_btn' open-type="getUserInfo" bindgetuserinfo='start' data-user='4'>
      <text class='iconfont icon-danjiantou'></text>
      <text class='iconfont icon-hengxian1'></text>
      <text class='title'>我是传播大使</text>
    </button>
  </view>
</view>
<view class='bottom_info' wx:if="{{GoId!=''}}">提示:非注册用户点击我是客户进入文章浏览</view>

<!-- 提示弹窗 -->
<view class='mask_box' wx:if='{{clientState}}' catchtap='cancleMask'>
  <view class='popup_box'>
    <view class='popup_title'>温馨提示</view>
    <view class='popup_content'>本小程序仅供专业保险从业人员使用,如果您是保险顾问,请直接注册顾问,如果您是客户请联系您的保险顾问进行保单体检。</view>
    <view class='popup_btn_box'>
      <view class='popup_btn' bindtap='register'>注册顾问</view>
      <view class='popup_btn popup_active' bindtap='clientCenter'>进入客户中心</view>
    </view>
  </view>
</view>

<!-- 二维码弹窗 -->
<view class='mask_box' wx:if='{{elcheeState}}' catchtap='cancleMask2'>
  <view class='code_box'>
    <view class='code_content'>如果您是保险行业大咖,请扫二维码(或 保存图片再打开微信识别)联系我们
    </view>
    <view class='code_img'>
      <!-- <image src='/images/img2.png'></image> -->
      <image src='{{imgUrl}}'></image>
    </view>
  </view>
</view>

<!-- 判断是否需要验证 -->
<view class='mask_box' wx:if='{{report_state}}' catchtap='cancleMask3'>
  <view class='popup_box' style='align-items:flex-start;height:400rpx'>
    <view class='popup_title'>验证码</view>
    <view class='popup_content'>
      <input placeholder='请输入验证码' bindinput='setCode'></input>
      <view class='popup_active' catchtap='reportInfo2'>确认</view>
    </view>
  </view>
</view>