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

@ux-frame/ux-wxwork

v1.0.1

Published

UxFrame WxworkSDK是基于weworksdk开发的uts原生插件

Downloads

4

Readme

非常感谢您购买UxFrame WxworkSDK!如果您有任何问题或需要最新的源码,请随时通过QQ群:450704209 与我联系。我会为您提供最专业的解答和帮助,并与您分享与UniAppX开发相关的经验。再次感谢您的信任和支持!

前言介绍

欢迎使用UxFrame WxworkSDK!此插件是基于weworksdk开发,轻松实现企业微信授权登录和企业微信分享等功能!

官方文档

https://www.uxframe.cn

交流反馈

欢迎加入我们的QQ群[450704209]交流反馈:点击跳转

使用方法

详细教程请加入我们的QQ群450704209获取


import * as wxwork from "@/uni_modules/ux-wxwork"

// 注册
wxwork.register({
	appid: '您的appid',
	agentid: '您的agentid',
	schema: '您的schema',
	success: (res) => {
		console.log(res)
	}
} as RegisterOptions)

// 登录
wxwork.login({
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as LoginOptions)

// 分享图文
wxwork.share({
	type: 0,
	title: 'UxFrame低代码高性能UI框架',
	summary: 'UxFrame是基于UNI-APP-X开发的低代码高性能原生UI框架',
	href: 'https://www.uxframe.cn',
	imageUrl: 'https://www.uxframe.cn/logo/logo.png',
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 分享文本
wxwork.share({
	type: 1,
	title: 'UxFrame低代码高性能UI框架',
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 分享图片
wxwork.share({
	type: 2,
	// imageUrl: '/static/logo.png'
	imageUrl: 'https://www.uxframe.cn/logo/logo.png',
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 分享视频
wxwork.share({
	type: 4,
	title: 'UxFrame低代码高性能UI框架',
	summary: 'UxFrame是基于UNI-APP-X开发的低代码高性能原生UI框架',
	// imageUrl: '/static/logo.png'
	imageUrl: 'https://www.uxframe.cn/logo/logo.png',
	mediaUrl: 'https://www.uxframe.cn/source/intro/demo.mp4',
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 分享文件
wxwork.share({
	type: 3,
	filePath: 'https://www.uxframe.cn/ux/ux.pdf',
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 分享小程序
wxwork.share({
	type: 5,
	title: 'UxFrame低代码高性能UI框架',
	summary: 'UxFrame是基于UNI-APP-X开发的低代码高性能原生UI框架',
	// imageUrl: '/static/logo.png'
	imageUrl: 'https://www.uxframe.cn/logo/logo.png',
	miniProgram: {
		id: '小程序id',
		type: 0,
		path: '',
		webUrl: 'https://www.uxframe.cn'
	} as MiniProgram,
	success: (res) => {
		console.log(res);
	},
	fail: (err) => {
		console.log(err);
	}
} as ShareOptions)

// 打开企业微信
wxwork.openApp()

// 检测是否安装企业微信
wxwork.isInstalled()