<view class="page">
  <view class="{{isPortraitScreen?'portrait-main':'main'}}" catchTap="closeRole">
    <top-title urlPath='../../../' titleText="设置登录" />
    <view class="login-content">
      <view class="form-box">
        <text>请选择角色</text>
        <view class="form-input" catchTap="openChoose">{{roleName}}</view>
        <!--<view a:if="{{ isShowRole }}" class="select-area">
          <view
            a:for="{{ roleList }}"
            onTap="getVal"
            data-item="{{item}}"
          >
            {{item.name}}
          </view>
        </view>-->
      </view>
      <view class="form-box">
        <text>请输入密码</text>
        <input class="form-input" value="{{password}}" onInput="getVal" data-key="password"/>
      </view>
    </view>
    <bottom-parnel suerName="{{'确定'}}" onSure="sure" />
  </view>
</view>
