GithubHelp home page GithubHelp logo

real-name-mobile's Introduction

实名认证移动端


Features

  • 实名认证移动端

Installing

NPM

$ npm i real-name-mobile -S

SCRIPT

  <script type="text/javascript" src="https://unpkg.com/real-name-mobile/dist/real-name-mobile.min.js"></script>

Usage

  1. 执行const Instance = RealNameMobile.Instance获取实例。
  2. 执行Instance.showEight()显示年龄小于8周岁的弹窗。

Example

  // 获取操作实例
  const Instance = RealNameMobile.Instance;

  // 显示“年龄小于8周岁”的弹窗
  Instance.showEight();

  // 显示“8~16周岁不可充值,充值已达到上限”的弹窗
  Instance.showSixteen();

  // 显示“8~16周岁可充值,但充值金额达到上限”的弹窗
  Instance.showSixteenCharge();

  // 显示“16~18周岁不可充值,充值已达到上限”的弹窗
  Instance.showEighteen();

  // 显示“16~18周岁可充值,但充值金额已达到上限”的弹窗
  Instance.showEighteenCharge();

  // 显示“登录后游戏时长已达到上限”的弹窗
  Instance.showTimeLimitAfterLogin();

  // 显示“游戏中时长已达到上限”的弹窗
  Instance.showTimeLimitWhenPlaying();

  // 关闭弹窗
  Instance.close();

License

MIT

real-name-mobile's People

Watchers

James Cloos avatar Liu Yang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.