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 🙏

© 2026 – Pkg Stats / Ryan Hefner

ty-mobile-uni

v1.4.15

Published

uView UI,是uni-app生态优秀的UI框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水

Readme

说明

ty-mobile-uni 生态优秀的 UI 框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水

安装

# npm方式安装
npm i ty-mobile-uni

快速上手

  1. main.js引入 uView 库
// main.js
import tyMobileUni from 'ty-mobile-uni'
Vue.use(tyMobileUni)
  1. uni.scss引入全局 scss 变量文件
/* uni.scss */
@import 'ty-mobile-uni/theme.scss';
  1. pages.json配置 easycom 规则(按需引入)
// pages.json
{
	"easycom": {
		"^ty-(.*)": "ty-mobile-uni/components/ty-$1/ty-$1.vue"
	},
	// 此为本身已有的内容
	"pages": [
		// ......
	]
}

使用方法

配置 easycom 规则后,自动按需引入,无需import组件,直接引用即可。

<template>
  <ty-slide>按钮</ty-slide>
</template>

1.4.15 20250912

  • api request 加入自定义拦截 tokenInvalidCallback

1.4.14 20250911

  • api 修复 request 请求如果接口只返回 code,没返回任何内容,则报错的问题

1.4.11 20220606

  • ty-icon 改为 base64 引入字体图标

1.4.10 20220606

  • 将 ty-icon 字体图标改为本地的

1.4.9 20220319

  • 修改无 token 时请求异常提示信息

1.4.7 20211222

  • 修复下拉框无法显示接口请求的参数

1.4.6 20211216

  • 修复下拉框无法回显内容

1.4.5 20200806 **ywz

  • 登录组件标题添加是否显示参数

1.4.4 20200729 **ywz

  • 登录组件添加标题显示

1.4.3 20210706

  • 添加获取预览文件格式化地址方法

1.4.2 20200616

  • 上传组件添加格式化后端接口数据参数

1.4.1 20200517

  • 修改登录和个人中心业务组件

1.3.9 20200218

  • 滚动列表当有一页以上的数据才显示没有更多数据的信息

1.3.8 20200218

  • 地址管理定位问题修复

1.3.6 20200206

  • 个人中心添加用户插槽

1.3.5 20200206

  • 地址管理定位问题修复

1.3.4 20200205

  • 地址管理定位问题修复,地址为必填项
  • 滚动日历切换模式添加样式

1.3.2 20200204

  • 地址管理收货人文本修改

1.3.1 20200204

  • 滚动列表添加点击日期切换周日历模式
  • ios 时间选择 bug
  • 拦截器添加 401 回调
  • 地址默认日期选不上,点击列表事件添加
  • 滚动加载更多列表添加没有更多数据提示

1.2.9 20200202

  • 上传去掉多余的参数,地址组件修复

1.2.8 20200127

  • ty-scroll-list 传参报错

1.2.7 20200127

  • 整理组件到 api 文档,优化组件

1.2.6 20200122

  • 添加分页列表,拖拽按钮,拖拽日历控件,个人中心添加插槽,步骤组件添加左侧标志

1.2.5 20200118

  • 下拉框组件小程序中发布体验版的时候选不中问题修复

1.2.4 20200105

  • 表单自定义插槽的支持

1.2.3 20201224

  • 密码验证规则添加以及用户默认头像添加

1.2.1 20201221

  • 拦截器代码添加

1.2.0 20201221

  • 用户列表组件,修改模块修改

1.1.9 20201218

  • 扩展用户组件功能,修改优化上传组件

1.1.8 20201217

  • 修改用户列表组件-接口数据扩展,滚动加载更多,搜索交互

1.1.7 20201216

  • 修改用户列表组件

1.1.6 20201208

  • 修改表单解析组件,支持 disabled 属性,过滤布局结构

1.1.5 20201202

  • 添加业务组件,个人中心,个人资料,用户列表,登录

1.1.4 20201103

  • 修复自定义表单验证在小程序上不生效的问题已经页面内错误提示样式问题

1.1.3 20201019

  • 修复 icon 组件在小程序上图标展示不出来的问题

1.1.2 20201013

  • 日期组件打点功能添加自定义样式属性功能

1.1.1 20201012

  • 各个组件小程序端的兼容处理

1.1.0 20200911

  • 新增 功能列表、功能组件、tab 切换卡、地址管理、搜索面板、组件支持换肤功能

1.0.9 20200828

  • 添加表单相关组件

1.0.8 20200721

  • 修复直播组件

1.0.7 20200721

  • 修复直播组件

1.0.6 20200721

  • 修复直播组件

1.0.5 20200720

  • 修复直播组件

1.0.4 20200720

  • 新增直播组件

1.0.2 20200619

  • 修改 引入 config.js 文件

1.0.1 20200619

  • 新增 地址、按钮、cell、图文滑动、popup、轮播图等组件

1.0.1 20200701

  • 修复原有组件
  • 新增 图片

1.4.12 20220905

  • 修复上传组件,上传 album 从相册选图,camera 使用相机,默认二者都有

1.4.13 20220914

  • 修复登录组件 logo 图片默认用原图,也可以用插槽