Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/user-guide/shop/mp.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: 小程序
description: Halo 商城小程序的获取、配置与发布说明。
---

自 Halo 2.24 起,Halo 商城支持以微信小程序作为销售终端。相较于 Web 端,小程序在国内拥有更高的用户渗透率,更适合承载移动端购物场景。

<img src="/img/user-guide/shop/mp-preview.png" alt="小程序预览" width="50%" />

## 获取方式

Halo 官方目前以源码形式提供小程序模板,你需要自行编译,并通过微信开发者工具完成发布。

- 源码仓库:[lxware-dev/halo-shop-miniprogram](https://github.com/lxware-dev/halo-shop-miniprogram)
- 在线文档:[小程序配置与发布文档](https://github.com/lxware-dev/halo-shop-miniprogram/tree/main/docs)

## 使用流程

:::info
为了便于后续同步官方更新,建议先将仓库 Fork 到自己的 GitHub 账户,再克隆到本地进行配置、编译和发布。
:::

```bash
git clone https://github.com/{your-github-username}/halo-shop-miniprogram.git
```

克隆完成后,请阅读源码仓库中的 `docs` 目录,其中包含完整的小程序配置、编译与发布说明,可按文档完成后续操作。
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ module.exports = {
"user-guide/shop/orders",
"user-guide/shop/virtual-delivery",
"user-guide/shop/theme-dev",
"user-guide/shop/mp",
],
},
"user-guide/faq",
Expand Down
Binary file added static/img/user-guide/shop/mp-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions versioned_docs/version-2.24/user-guide/shop/mp.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: 小程序
description: Halo 商城小程序的获取、配置与发布说明。
---

自 Halo 2.24 起,Halo 商城支持以微信小程序作为销售终端。相较于 Web 端,小程序在国内拥有更高的用户渗透率,更适合承载移动端购物场景。

<img src="/img/user-guide/shop/mp-preview.png" alt="小程序预览" width="50%" />

## 获取方式

Halo 官方目前以源码形式提供小程序模板,你需要自行编译,并通过微信开发者工具完成发布。

- 源码仓库:[lxware-dev/halo-shop-miniprogram](https://github.com/lxware-dev/halo-shop-miniprogram)
- 在线文档:[小程序配置与发布文档](https://github.com/lxware-dev/halo-shop-miniprogram/tree/main/docs)

## 使用流程

:::info
为了便于后续同步官方更新,建议先将仓库 Fork 到自己的 GitHub 账户,再克隆到本地进行配置、编译和发布。
:::

```bash
git clone https://github.com/{your-github-username}/halo-shop-miniprogram.git
```

克隆完成后,请阅读源码仓库中的 `docs` 目录,其中包含完整的小程序配置、编译与发布说明,可按文档完成后续操作。
3 changes: 2 additions & 1 deletion versioned_sidebars/version-2.24-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
"user-guide/shop/products",
"user-guide/shop/orders",
"user-guide/shop/virtual-delivery",
"user-guide/shop/theme-dev"
"user-guide/shop/theme-dev",
"user-guide/shop/mp"
]
},
"user-guide/faq"
Expand Down
Loading