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

@yinta/yinta-fed-components-category-dialog

v1.0.3

Published

末级品类弹窗

Downloads

11

Readme

基于 vue 末级品类弹窗选择组件

调用例子:

<CategoryDialog :paramPersonList="list"></CategoryDialog>

<script>
  import CategoryDialog from 'CategoryDialog'

  export default {
    components: {
      CategoryDialog
    },
    data() {
      return {
        list: [
          {
            id: 1,
            label: '产品',
            children: [
              { label: 'ASIN', value: 'CON-01', id: 11 },
              { label: 'Seller SKU', value: 'CON-02', id: 12 },
              { label: '品类', value: 'CON-03', id: 13 },
              { label: 'Listing标题', value: 'CON-04', id: 14 },
              { label: 'Review评分', value: 'CON-05', id: 15 }
            ]
          },
          {
            label: '订单',
            id: 2,
            children: [
              { label: '订单商品金额', value: 'CON-06', id: 21 },
              { label: '订单总金额(含运费)', value: 'CON-07', id: 22 },
              { label: '订购商品数量', value: 'CON-08', id: 23 },
              { label: '下单时间', value: 'CON-09', id: 24 },
              { label: '付款时间', value: 'CON-10', id: 25 },
              { label: '发货时间', value: 'CON-11', id: 26 }
            ]
          },
          {
            label: '客户',
            id: 3,
            children: [
              { label: '复购次数', value: 'CON-20', id: 31 },
              { label: '是否复购', value: 'CON-21', id: 32 },
              { label: '买家邮箱', value: 'CON-22', id: 33 },
              { label: '买家来件主题', value: 'CON-23', id: 34 },
              { label: '买家来件正文', value: 'CON-24', id: 35 }
            ]
          }
        ]
      }
    }
  }
</script>

使用方法: 点击选择品类,弹出树结构数据选择添加至页面展示