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

adcell

v1.0.6

Published

这是一个用于uni-app的列表Item,拥有众多可配置属性

Downloads

4

Readme

更新历史

1.0.5 增加了showBottomLine属性,可以显示或者隐藏底部分割线 1.0.6 增加了iconRight属性,可以调整图标和文字的间距

获取方式

  • 直接在插件市场下载
  • 通过npm安装:npm i adcell

使用方式

市场下载的在 script 中引用组件

import adCell from '@/component/ADCell/ADCell.vue';
export default {
    components: {adCell}
}

通过npm安装的在 script 中引用组件

import adCell from '@/node_modules/adcell/ADCell.vue';
export default {
    components: {adCell}
}

在 template 中使用组件

<adCell text="普通"></adCell>
<adCell text="点击事件" @click="onClick"></adCell>
<adCell text="隐藏箭头" showArrow="false"></adCell>

属性说明

| 属性 | 类型 | 默认 | 备注 | | -------- | :-----: | :----: | :----: | | text | String | - | 主标题 | | detail | String | - | 副标题 | | note | String | - | 子标题1 | | note1 | String | - | 子标题2 | | note2 | String | - | 子标题3 | | note3 | String | - | 子标题4 | | note4 | String | - | 子标题5 | | note5 | String | - | 子标题6 | | showArrow | Boolean/String | true | 是否显示右侧箭头 | | mustInput | Boolean/String | false | 是否显示必填红星 | | icon | String | - | 左侧图标 | | textColor | String | #5E5E5E | 主标题文字颜色 | | detailColor | String | #B3B3B3 | 副标题文字颜色 | | noteColor | String | #B3B3B3 | 子标题文字颜色 | | backgroundColor | String | #FFFFFF | 组件背景色 | | swipeOptions | Array | - | 左滑选项集合 |

事件说明

| 事件名称 | 说明 | 返回 | | -------- | :-----: | :----: | :----: | | click | 点击Item触发的事件 | - | | swipeClick | 点击左滑出来的按钮 | e: {index, content.text} | | swipeChange | 滑动状态改变事件 | open:true/false |