fastman3-component-keyboard

a fastman3 keyboard component

Usage no npm install needed!

<script type="module">
  import fastman3ComponentKeyboard from 'https://cdn.skypack.dev/fastman3-component-keyboard';
</script>

README

fastman3-component-keyboard

CHANGELOG

v 1.0.0 - 2021.4.23

  1. 初始化构建

安全键盘

使用方式

安装

cnpm install fastman3-component-keyboard

// 头部引入
import { Securekeyboard } from "fastman3-component-keyboard"
// 入口 scss 引入样式文件
@import "~fastman3-component-keyboard/es/index.scss";
// View
const Keyboard: FC<KeyboardProps> = () => {
  async function checkLogin() {
    console.log("aaa");
    try {
      const result = await webShortLogin();
      console.log("整个二级登录流程结束", result);
    } catch (e) {
      console.log("afdfdfdfd", e);
    }
  }
  return (
    <View className="keyboard-page">
      <View className="iconfont icondaxiaoxie"></View>
      <Securekeyboard />
      <AtButton onClick={checkLogin}>查询二级登录状态-测试</AtButton>
    </View>
  );
};