<view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<cu-custom bgColor="bg-color" isBack="{{true}}" title="申请上级授权">
  <!-- <view slot="content">申请上级授权</view> -->
</cu-custom>
<view class="toptip bg-red {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<view class="reg_form">
  <view class="reg_form_item">
    <view>手机号</view>
    <input placeholder="请输入手机号" type='number' bindinput="setLoginName" value='{{loginName}}'></input>
  </view>
  <view class="reg_form_item">
    <view>请输入验证码</view>
    <input placeholder="" class='reg_form_code' type='number' bindinput='setCode' value='{{code}}'></input>
    <button class='cu-btn {{canClick?"line-color":"line-grey"}}  shadow' bindtap='getValidCode'>{{codeBtnTxt}}</button>
  </view>
  <view class="reg_form_item">
    <view>选择上级所属单位</view>
		<picker bindchange="setDept" value="{{deptindex}}" range="{{deptList}}" range-key="deptName">
			<view class="picker">
				{{deptindex ? deptList[deptindex].deptName : '请选择'}}
			</view>
		</picker>
  </view>
  <view class='cu-btn bg-color lg reg_form_btn' bindtap="goReg">提交</view>
</view>
