npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

niiwoo-register

v1.0.4

Published

`npm install niiwoo-register --save` ```html <niiwoo-register :registerData="registerData"></niiwoo-register> ``` ```javascript data() { return { registerData: { bgColor: "", //模块背景颜色 urlHeaderImg: "",

Downloads

9

Readme

Installation

npm install niiwoo-register --save

 <niiwoo-register :registerData="registerData"></niiwoo-register>
data() {
        return {
            registerData: {
                bgColor: "", //模块背景颜色
                urlHeaderImg: "", //头部图片地址
                mobileStyle: {
                    num: "13512341234", //手机号码,可以不传
                    readonly: false, //手机号码是否可编辑,不可编辑传true
                    blurEvent: (num) => { //用户名文本框失去焦点事件
                        console.log(num);
                    }
                },
                agreementStyle: {   //你我金融注册协议
                    btnColor: "",   //链接文字文案
                    oColor: "",     //其他文字文案
                    url: ""     //链接地址,默认为:https://www.niiwoo.com/h5/agreements/h5.html
                },
                loginStyle: {   //设置登录
                    isShow: true,      //是否显示登录,默认不显示,传true时显示
                    btnColor: "",    //登录的文字颜色
                    oColor: "",     //登录的其他颜色
                    _clickEvent: () => {
                        //点击登录执行的事件
                        console.log("click login");
                    }
                },
                codeStyle: {    //设置短信验证码
                    color: "",  //获取验证码颜色
                    borderColor: ""     //验证码左边竖线的颜色
                },
                showPwd_icon: {     //设置明文密码图标
                    backgroundImage: "",    //background-image,eg:"url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/soutu/img/camera_new_5606e8f.png)"
                    backgroundPosition: ""  //background-position,eg: "0 0"
                },
                hidePwd_icon: { //密文密码图标
                    backgroundImage: "",    //background-image,eg:"url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/soutu/img/camera_new_5606e8f.png)"
                    backgroundPosition: ""  //background-position,eg: "0 0"
                },
                inviterInfo: { //邀请人信息,没有则不传
                    type: "", //0代码ID,1代表手机号
                    value: ""   //手机号码或者userId
                },
                registerStyle: {
                    color: "",  //注册按钮文字颜色
                    bgColor: "",    //注册按钮背景颜色
                    params: {   //注册接口除了UserName,PassWord,MsgCode,RegType,InviteUserPhone,InviteUserId之外的其他参数
                        // DevType: "",
                        // userChannelURL: ""
                    },
                    successCallback: () => {
                        //注册成功后的回调
                        console.log("register success");
                    }
                }
            }
        }
    }