<modal
  zIndex="1000"
  className="modal"
  hover-class="none"
  show="{{show}}"
>
  <view slot="header">请点击登录</view>
  <form onSubmit="onSubmit" report-submit="{{true}}">
    <view slot="footer" class="modal-footer">
      <button
        class="btn"
        type="primary"
        scope="userInfo"
        formClass="form"
        formType="submit"
        hover-class="none"
        onError="onAuthError"
        open-type="getAuthorize"
        onGetAuthorize="onGetAuthorize"
      >
        <view class="btn" hover-class="btn-hover-active">确定</view>
      </button>
      <view class="btn left" hover-class="btn-hover-active" onTap="onCancel">取消</view>
    </view>
  </form>
</modal>

