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

mu-antforest

v1.0.0

Published

仿支付宝-蚂蚁森林,给小树苗浇水逐渐成长到大树的过程,所有参数都可配置(如水滴值,树的类型、动画等)

Downloads

3

Readme

AntForest(蚂蚁森林)


MIT License

功能简介:

仿支付宝-蚂蚁森林,给小树浇水成长、给好友投票,加油,助力,给小树苗浇水逐渐成长到大树的过程,所有参数都可配置(如水滴值,树的类型、动画等)。

该模板是用Uni-Aapp框架进行编写的, 其语法就是vue的,模板就是微小程序。

源码共有两个版本(uni-app小程序 和 微信原生小程序),可直接在对应的开发环境中运行。

你可根据自己的需求和使用场景修改相应的配置参数和逻辑,如(水滴值,树的类型、大小、树成长动画,云走动的动画,浇水动画,树的进度,选手信息等等。

实例效果:

效果图

插件市场:

操作说明:

  • 用水壶每浇水1次,水滴值向上+1。

  • 点击树上面的雨滴,水滴值 + 收取到的雨滴值。

  • 该插件是用Uni-App写的,是一个在HBuilder X 中能直接运行的(注:您在使用时请把Uni-App应用标识(AppID)换成自己的哦)。

  • 插件样式是模仿蚂蚁森林,而其中的所有数据都是可配的(完全可以自义定 或 从后端API获取),根据不同的数据(如用户信息、水滴值等)显示对应的动效。

  • 该插件可用于为某种评比活场景的参赛人员加油、拉票、助力等类似场景。

成长规则:

  • 树的成长过程分为小树、中树、大树3个阶段。

  • 现默认值: 小树(水滴值在100以下), 中树(水滴值在100 到 1000), 大树(水滴值在1000以上)。

  • 树苗会在水滴值变化时会展示对应的动效 和 树的动效、大小等。