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

@smt-ui-template/page-query-form

v0.0.2-alpha.0

Published

page-query-form 政务查询表单模版

Downloads

2

Readme

模版名称

page-query-form

解释:

查询类服务模板

使用说明

  • 该模版要求的最低基础库版本为3.105。
  • 该模版使用了es6语法,需要开启开发者工具的增强编译,操作步骤: 开启说明;同时也需开启上传代码时样式自动补全
  • 该模版展现的数据皆为测试数据,使用的测试数据皆放在utils/mock.js目录下,开发者可以按需修改为自己项目所需的格式和数据。
  • 可在pages下的某个页面的json文件里面通过修改navigationBarTitleText属性值来改变页面标题,也可在js文件中通过swan.setNavigationBarTitle方法来改变页面的标题
  • 提供了表单查询功能和查询结果详情,表单查询主要是提供了表单组件的校验、验证码功能等,结果页面主要提供了错误页状态的信息、查询出的结果列表;具有内容输入、信息筛选等高频板块的页面模版,可应用于例如专利查询、限行查询、税务查询等查询类服务场景。

目录结构

.
├── README.md                           // 模版说明文档
├── package.json                        // 包配置
├── project.swan.json                   // 项目配置文件
├── app.json                            // 小程序配置文件
├── app.css                             // 小程序全局样式
├── app.js                              // 小程序全局逻辑
├── atomic-index.json                   // 模板配置信息
└── @smt-ui-template-page-query-form    // 模板文件
    ├── pages                           // 模板页面
    │   ├── index                       // 模板首页(表单页)
    │   └── resule                      // 模板查询结果页
    └── utils                           // 模板工具
        ├── mock.js                     // 查询结果页面测试数据
        └── utils.js                    // 公用方法文件