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

@xsyx/hanzo-video-card

v0.3.7

Published

兴盛优视视频组件

Downloads

1

Readme

兴盛优视视频组件

changelog

v0.3.7

  • 修复播放次数不显示问题

v0.3.6

  • 播放次数以及点赞次数显示逻辑优化

v0.3.5

  • 样式优化

v0.3.4

  • 添加视频显示模式配置项

v0.3.3

  • 优化标题样式

v0.3.2

  • 优化点赞动画以及点赞逻辑

v0.3.1

  • 修复重复点击点赞次数更改错误问题

v0.3.0

  • 修改点赞逻辑以及点赞区域大小

v0.2.1

  • 修复打包丢失函数问题

v0.2.0

  • 修复首次进入播放次数以及点赞次数格式化问题

v0.1.8

  • 修复安卓兼容性问题

v0.1.7

  • 添加模板属性

v0.1.6

  • 添加双击播放暂停功能

v0.1.5

  • 视频播放加载显示优化

v0.1.4

  • 商品点击区域优化

v0.1.3

  • 优化点赞播放数量更新逻辑

v0.1.2

  • 修复播放数量更新逻辑

v0.1.1

  • 封面显示逻辑更改

适用场景

兴盛优视 视频卡片

基本调用

 <video-card></video-card>

参数 props

| 参数 | 说明 | 类型 | 可选值 | 默认值 | 可选性 | | params | 视频详细参数 | Object | :----: | {} | :----: | | likeNum | 视频点赞数 | Number | :----: | 0 | :----: | | playNum | 视频播放数 | Number | :----: | 0 | :----: | | videoStatus | 视频状态 | Number | 1:未播放 2:播放中 3:已结束 | 1 | :----: |

插槽 slot

| 名称 | 说明 | 备注 | | ------------- |:-------------:| :--------------------|

相关演示