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

side-feature-bar-dev

v2.3.4

Published

智能辅助工具

Downloads

6

Readme

side-feature-bar

12368 智能辅助业务组件

开发:常竣

接入文档

第一步:安装:
yarn add side-feature-bar --registry http://nexus.aegis-info.com/repository/npm-aegis/
或
npm i side-feature-bar --registry http://nexus.aegis-info.com/repository/npm-aegis/
第二步:引入:
  • 在 main.js 文件中,引入组件
import SideFeatureBar from 'side-feature-bar'; 
Vue.use(SideFeatureBar);
  • 当前12368系统的登录用户 token 数据存放于 localStorage,组件请求接口,会主动获取token 信息;
第三步:使用:
<template>
  <div class="home">
    <side-feature-bar @value-callback="valueCallback"></side-feature-bar>
  </div>
</template>
<script>
export default {
  name: 'home',
  components: {},
  data () {
    return {
      answer: ''
    };
  },
  methods: {
    valueCallback (data) {
      // 数据回传
      this.answer = data.title;
    }
  }
};
</script>
value-callback:数据回调函数,参数

data: { 
   title: string, // 标题,
   text: string, // 内容, 
   type: string, // 类型(01:坐席助手,02:智能解答,03:法条检索,04:常用语,05:常用链接,06:附件库,07:辅助工具) 
 }

版本

V2.0.0:初始化版本
V2.0.1:加入token验证信息,完善ReadMe.md文档,发布测试版本
V2.0.2:显示隐藏动画、法条选项框添加删除功能

本地开发调试

登录测试环境,从localstorage 复制出 currentUserFull   autoLoginExtention 项目右侧就会出现黄色按钮