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

@flyriselink/pai-sp-mobile

v1.0.26

Published

pai-sp-mobile 组件库

Downloads

34

Readme

pai-sp-mobile


介绍

pai-sp-mobile 是 飞企互联的新一代智慧园区在中台上使用的移动端 UI 组件,支持 UNI-APP,H5,沉淀了多年业务开发的特色。


使用指南&示例

http://pai.flyrise.cn/pai-sp-ui


安装使用

安装

npm install @flyriselink/pai-sp-mobile -S

更新

npm update @flyriselink/pai-sp-mobile

main.js 引入

import flyrise from "@flyriselink/pai-mp-ui";
import flyriseTool from "@flyriselink/pai-mp-ui/utils/flyrise";

import SPUI from "@/pai-sp-mobile";

//pai工具$p
Vue.use(flyrise)

//SPUI组件库
Vue.use(SPUI, {
	baseUrl: flyriseTool.getBasePath(),
	token: () => flyriseTool.getToken(),
	tokenKey: 'token',
});

引入 pages.json

"easycom": {
  "autoscan": true,
  "custom": {
    "^spu-(.*)": "@/pai-sp-mobile/components/package/u-$1/u-$1.vue",
    "^sp-(.*)": "@/pai-sp-mobile/components/sp-$1/sp-$1.vue",
		"^pai-mp-(.*)": "@flyriselink/pai-mp-ui/widget/pai-mp-$1/pai-mp-$1.vue"
  }
},

当前内置 uview 版本

  • 2.0.31

更新日志(ChangeLog)

  • 1.0.26

    修复

    • $spui.date 时区问题
  • 1.0.25

    修复

    • sp-uploader 优化
  • 1.0.24

    修复

    • sp-uploader 监听值获取数据
  • 1.0.23

    修复

    • sp-uploader 修复下载文件、增加 accept属性:上传文件类型
  • 1.0.22

    修复

    • sp-uploader 修复 ios 无法选择相册视频问题;优化选择文件
  • 1.0.21

    优化

    • sp-uploader 上传视频 id 问题
  • 1.0.20

    新增

    • 数字格式化 $spui.number()
    • 过滤器 number()
  • 1.0.19

    优化

    • sp-uploader 上传功能
  • 1.0.18

    优化

    • sp-uploader 优化配置及样式
  • 1.0.17

    新组件

    • sp-uploader 上传组件(图片/视频/文件)
  • 1.0.16

    修复

    • $spui.date / $spui.timeFormat 在 IOS 格式化时间问题
  • 1.0.15

    优化

    • 企业匹配,@change 增加返回详情
  • 1.0.14

    新特性

    • 日期格式化:$spui.time.timeSpanDay() 日期计算等
    • 支持全局 resetApi
    • workOrder 工单增加流水号必填
  • 1.0.13

    新特性

    • 日期格式化:$spui.time.timeSpanDay() 日期计算等
  • 1.0.12

    修复

    • 修复组件间互相调用问题;可以自定义组件名
  • 1.0.11

    修复

    • mixin 引起 props 与 compute 冲突的问题
  • 1.0.10

    修复

    • 内置组件更名,修复一些问题
  • 1.0.9

    修复

    • 去除$u 换成$spui,避免与原来冲突
  • 1.0.8

    新组件

    • 引入内置 uview 2.0.31 版本,项目可以兼容 uview 的 v2/v1
  • 1.0.7

    修复

    • 去除默认+8 小时,动态判断时区+8 小时
  • 1.0.6

    修复

    • IOS 时间格式化问题
    • 初始化 token 的问题

LICENSE

MIT