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

yanxiu-group-card

v1.0.1

Published

三人行协作组名片

Downloads

2

Readme

安装

yanxiu-yarn add yanxiu-group-card 

使用方法

main.js

// main.js
import Vue from 'vue';
import YanxiuGroupCard from 'yanxiu-group-card';

Vue.use(YanxiuGroupCard);

list.vue

注意事项:

<template>
 
    <Yanxiu-group-card :size='size' :data="groupItem"></Yanxiu-group-card>

</template>

<script>

  export default {
    data() {
      return {
        size:"middle",
        url:"",
        groupItem:{
            schoolName:"吴忠市朝阳小学",
            city:"宁夏吴忠市",
            groupRange:1,   //1  本校    2  跨校
            groupId:"",
            managerCall:"XXXXXXXXXX",
            groupName:"数学区域协作组",
            groupLogo:"https://srt-read-dev.3ren.cn/basebusiness/headimg/20190114/1547451205369WckE7PG2qM.jpg?x-oss-process=image/resize,h_100"
        },
        hasImg:true  
      }
    },
    methods: {

    }
  }
</script>

API

传参

props:{
  size: "large":  图片70*70  两行文字
        "middle":46*46 两行文字 
        "middleOneline":   46*46---一行说明 
        "small": 20*20  一行说明

    data:{
        schoolName: 学校名称
        area:学校所在市区信息
        groupRange: 是否跨校协作组  (1:本校协作组 2:跨校协作组)
        managerCall:组长
        groupName:组名
        groupLogo:小组logo
        groupId:小组id
    },

    hasImg:true//显示图片   false//不显示图片 
    
    url:""   //跳转地址
}   

| 参数名 | 是否必传 | 默认值 | 说明 | | ------ | ------ | ------ | ------ | | size | 否 | middle | 46*46 两行文字 | groupItem | 是 | {} | 单个协作组信息 |hasImg| 否 | true | 显示头像 | url | 否 | "" | 自定义跳转路径

方法

slot