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

jtljia-ui

v0.3.0

Published

> 基于 [vue3](https://cn.vuejs.org/) >= 3.3.0 [typescript](https://www.typescriptlang.org/zh/) >= 4.0.0 js项目可不安装 [element-plus](https://element-plus.org/zh-CN/guide/installation.html) >= 2.2.0 [axios](http://www.axios-js.com/) >= 0.21.4

Downloads

370

Readme

指南

介绍

基于
vue3 >= 3.3.0
typescript >= 4.0.0 js项目可不安装
element-plus >= 2.2.0
axios >= 0.21.4
@vueuse/core >= 10.2.1
vxe-table >= 4.7.0
vxe-pc-ui >= 4.0.0
二次封装组件

::: tip 该组件库为二次封装,为了依赖版本的一致和打包大小,该组件库不引入依赖,需要项目安装引入
:::

用法

npm i jtljia-ui

全局注册使用

// 在main.js中引入样式和全局注册
import JtljiaUi from 'jtljia-ui'
import VxeTable from 'vxe-table'
import VxeUI from 'vxe-pc-ui'
import 'jtljia-ui/dist/es/style.css'
import 'vxe-table/lib/style.css'
import 'vxe-pc-ui/lib/style.css'
const app = createApp(App);
app.use(VxeUI).use(VxeTable).use(JtljiaUi)

按需引入

// 在main.js中引入样式
import 'jtljia-ui/dist/es/style.css'
import 'vxe-table/lib/style.css'
import 'vxe-pc-ui/lib/style.css'
import { VxeTable, VxeToolbar, VxeGrid } from 'vxe-table'
import { VxeButton, VxeTooltip,VxeLoading } from 'vxe-pc-ui'
const app = createApp(App);
app.use(VxeTable).use(VxeToolbar).use(VxeGrid).use(VxeButton).use(VxeTooltip).use(VxeLoading)
// 单个.vue文件引入单个组件
;<script setup lang="ts">
  import {JtljTextDialog} from 'jtljia-ui'
</script>

jtljia-ui Volar 组件类型提示

// 需要在使用的项目的tsconfig.json文件中添加以下
compilerOptions:{
  "types": [
      "jtljia-ui/dist/es/components.d.ts",
    ],
}

快捷搭建项目模板

对于金螳螂家内部项目,我们提供了脚手架可以快速搭建项目 脚手架

更新日志

0.2.2 - 2024/07/26

1、增加上传列表组件

0.2.3 - 2024/08/05

1、列配置按钮样式和列表状态方式样式修改

0.2.4 - 2024/08/05

1、样式更新 2、解决表格在自适应高度下 分页显示不全的bug

0.2.5 - 2024/08/07

1、表格高度自适应文本修改

0.2.6 - 2024/08/08

1、修复表格未设置custom但是出现列配置的bug

0.2.7-0.2.8 - 2024/08/08

1、表格loading 样式修改

0.2.9 - 2024/08/26

1、文件上传组件支持配置列显示

0.3.0 - 2024/09/18

1、解决银行选择弹窗分页不生效