Skip to content

Commit

Permalink
feat(web): new metering design (#1171)
Browse files Browse the repository at this point in the history
* doc: add wechat example

* doc: add jsapi pay example

* doc: add two cloud function example (#1134)

* doc: add two cloud function example

* doc: delete repeat word

* doc: fix wrong format (#1164)

* feat: bundle select

* fix: upgrade payment

* refactor(web): update package

* refactor(web): upgrade type definitions

---------

Co-authored-by: NightWhite <nightwhite634@gmail.com>
  • Loading branch information
LeezQ and nightwhite committed May 26, 2023
1 parent 2f1cb16 commit 1f7d298
Show file tree
Hide file tree
Showing 62 changed files with 2,914 additions and 1,802 deletions.
55 changes: 35 additions & 20 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ const NavConfig = [
},
{
text: "三分钟实验室",
// target: "_self",
link: "/3min/",
items: [
{
text: "接入微信",
link: "/3min/wechat/",
},
],
},
{
text: "立即使用",
Expand Down Expand Up @@ -265,34 +269,45 @@ const guideSiderbarConfig = [
*/
const examplesSideBarConfig = [
{
text: "云函数",
text: "3 分钟实验室",
items: [
{
text: "阿里云短信发送函数",
link: "/examples/aliyun-sms",
},
{
text: "实现微信支付功能",
link: "/examples/wechat-pay",
text: "介绍",
link: "/3min/",
},
],
},
{
text: "接入微信",
items: [
{
text: "实现支付宝支付功能",
link: "/examples/alipay-pay",
text: "微信公众号",
link: "/3min/wechat/MediaPlatform/",
items: [
{
text: "服务器对接及文本消息",
link: "/3min/wechat/MediaPlatform/ServerDocking.md",
},
{
text: "自定义菜单",
link: "/3min/wechat/MediaPlatform/Menu.md",
},
{
text: "H5 开发",
link: "/3min/wechat/MediaPlatform/H5.md",
},
],
},
{
text: "使用 WebSocket 长连接",
link: "/examples/websocket",
text: "微信小程序",
link: "/3min/wechat/MiniProgram/",
},
{
text: "使用 SMTP 服务发送邮件",
link: "/examples/send-mail",
text: "企业微信",
link: "/3min/wechat/CorporateWeChat/",
},
],
},
{
text: "前端应用",
items: [{ text: "Todo List", link: "/examples/todo-list" }],
},
];

export default defineConfig({
Expand Down Expand Up @@ -330,7 +345,7 @@ export default defineConfig({
],
sidebar: {
"/guide/": guideSiderbarConfig,
"/examples/": examplesSideBarConfig,
"/3min/": examplesSideBarConfig,
},
},
head: [
Expand Down
4 changes: 3 additions & 1 deletion docs/3min/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ title: 三分钟实验室

# {{ $frontmatter.title }}

> TODO
何为三分钟实验室。意为快速接入,帮助开发者实现快速接入各种应用、AI

三分钟实验室为开发者打造了多种“开箱即用”的 AI 和应用接入示例
7 changes: 7 additions & 0 deletions docs/3min/wechat/CorporateWeChat/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 三分钟实验室
---

# {{ $frontmatter.title }}

> TODO
Loading

0 comments on commit 1f7d298

Please sign in to comment.