yzb-ranklist

0.0.1 • Public • Published

usage

npm install @yzb/ranklist
//引入
import ranklist from '@yzb/ranklist'
//tempate模板
<rank-list :lists="lists" @hanldeShowLists="hanldeShowLists"></rank-list>

参数信息

参数 说明 类型 默认值
lists 列表 Array []
hanldeShowLists 右侧支持点击自定义事件 Function

实例

lists:[
    {
        memberid: 354488798,
        nickname: '库奇侠🎤',
        score: 53,
        avatar: 'https://alcdn.img.xiaoka.tv/20190629/a2d/2f3/354488798/a2d2f31d789d007f977be8ba30f953b6.jpg@1e_1c_0o_0l_160h_160w_100q_1pr.jpg',
        status: null,
        scid: null,
        platform: 0,
        url: '',
        sub_billboard: [
            {
                memberid: 359896175,
                nickname: "库奇💛小柠檬ʚɞ",
                score: 45,
                avatar: "https://alcdn.img.xiaoka.tv/20191102/df5/db7/359896175/df5db78823227de5811c255e3363b959.jpg@1e_1c_0o_0l_160h_160w_100q_1pr.jpg",
                platform: 0,
                url: ""
            }
        ]
    },{
        memberid: 354488798,
        nickname: '库奇侠🎤',
        score: 53,
        avatar: 'https://alcdn.img.xiaoka.tv/20190629/a2d/2f3/354488798/a2d2f31d789d007f977be8ba30f953b6.jpg@1e_1c_0o_0l_160h_160w_100q_1pr.jpg',
        status: null,
        scid: null,
        platform: 0,
        url: '',
    }
]

Dependencies (0)

    Dev Dependencies (26)

    Package Sidebar

    Install

    npm i yzb-ranklist

    Weekly Downloads

    0

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    32.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • xuzhe-0211
    • balxj
    • xbober
    • yuanyuan60
    • kongbo