
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
- npm i vi-cell
- npm i vi-cell-group
- 使用微信开发者工具构建NPM并使用NPM模块
"usingComponents": {
"vi-cell": "vi-cell",
"vi-cell-group": "vi-cell-group"
}
列表
<vi-cell-group margin-top="20">
<vi-cell title="默认 default"></vi-cell>
</vi-cell-group>
<vi-cell title="显示边框" line></vi-cell>
<vi-cell title="带Icon" iconName="setting"></vi-cell>
<vi-cell title="只显示箭头" iconName="setting" link="{{true}}"></vi-cell>
<vi-cell title="显示右侧描述信息" iconName="setting" link="{{true}}" desc="我是描述..."></vi-cell>
<vi-cell title="跳转到首页" iconName="carame" desc="linkType为:switchTab" linkType="switchTab" link="/pages/index/index"></vi-cell>
<vi-cell-group title="带标题的cell-group">
<vi-cell title="带Icon" iconName="setting"></vi-cell>
<vi-cell title="只显示箭头" iconName="setting" link="{{true}}"></vi-cell>
<vi-cell title="显示右侧描述信息" iconName="setting" link="{{true}}" desc="我是描述..."></vi-cell>
<vi-cell title="跳转到首页" desc="linkType为:navigateBack" linkType="navigateBack" iconName="carame" link="/pages/index/index"></vi-cell>
</vi-cell-group>
| 接口 | 数据类型 | 说明 | 选项 | 默认值 |
|---|---|---|---|---|
| link | String, Boolean | 当为string的时候,那么则是页面跳转,如果是Boolean,则只会显示箭头不会跳转地址 | 选填 | '' |
| iconName | String | 内置的图标名称 | 选填 | '' |
| iconColor | String | 内置的图标 颜色值 | 选填 | '#333' |
| title | String | 列表的标题,也就是左侧的文字内容 | 选填 | 16 |
| desc | String | 列表的描述,右侧的文字内容 | 选填 | '' |
| line | Boolean | 是否出现上、下边框,如果在vi-cell-group中,该接口无效 | 选填 | false |
| linkType | String | 路由跳转的类型,同微信小程序路由跳转API | 选填 | 'navigateTo' |
| slot name | 说明 |
|---|---|
| icon | 用于替换、显示图标,如果和内置的图标接口一起使用,都会出现 |
| title | 用于替换、显示左侧内容,如果和title接口一起使用,都会出现 |
| right | 用于替换、显示右侧内容,如果和desc接口一起使用,都会出现 |
| Event name | 说明 |
|---|---|
| click | vi-cell点击事件,受力面积为整个组件的真实宽度和真实高度 |
FAQs
微信小程序vi-cell组件
We found that vi-cell demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.