ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 如何设置公众号菜单栏跳转到小程序? 首先公众号里需要绑定关联一个小程序 (已关联的可以跳过此处) ![](https://box.kancloud.cn/01cc70df33bfbbb84fcefc0df91a9060_1801x810.png) **第一步**,用公众号的账号密码,登录微信公众平台([https://mp.weixin.qq.com](https://mp.weixin.qq.com/)) **第二步**点击左侧“自定义菜单栏” 根据图片上的步骤,**编辑好名称**并**选择跳转小程序,勾选出你要跳转到的小程序,则会出现一串默认路径(默认路径为首页)** ![](https://box.kancloud.cn/e7558c8ee8a0624bf4015d06440f1868_1880x922.png) **第三步**填写备用网页 根据图片上的步骤**复制**出备用网页的页面地址,填写到第二步的备用网页上! ![](https://box.kancloud.cn/a41df04388bf1ab35c63b3e12105fe77_488x231.png)![](https://box.kancloud.cn/1b11df2ef2d70a5bcc90e9cfb34490c3_720x655.png)![](https://box.kancloud.cn/311eb3c78ceb6094721ca15e3ab2dbee_580x221.png) **第四步**点击保存并发布 新设置的菜单栏会有一定的延迟,如果前端没有显示最新设置好的菜单栏,则建议过一段时间后查看 ## **举一反三**: ### 以上教程是设置跳转到小程序首页的,那如何设置跳转到小程序其他页面呢? 答:在我们的后台里的 店铺管理——》页面管理——》小程序页面,可以看到所有页面对应的路径 ![](https://git.kancloud.cn/repos/huangfen/haha/raw/78501cb2a756cc6b8e5f6ab6e29922dfb549f61b/images/1%E9%A1%B5%E9%9D%A2.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODUwNTk0MTQsImlhdCI6MTU4NTAxNjIxNCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.QNAvqFtgV71hIL789Tus0j06K8L4QHX5BQrGkBIfvYo) 想要设置跳转到那个页面,则复制好对应的路径,**替换掉默认的首页路径**即可! ![](https://git.kancloud.cn/repos/huangfen/haha/raw/78501cb2a756cc6b8e5f6ab6e29922dfb549f61b/images/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20200108113948.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODUwNTk0MTQsImlhdCI6MTU4NTAxNjIxNCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.QNAvqFtgV71hIL789Tus0j06K8L4QHX5BQrGkBIfvYo) * 如果需要跳转到有参数的路径,例如图中框处的路径2(文章详情)则需要找到对应的参数,才可以获取到完整的路径。 以路径2(文章详情)为例。id为参数值,我需要获取到文章里的关于我们路径,则复制id:5。 ![](https://git.kancloud.cn/repos/huangfen/haha/raw/78501cb2a756cc6b8e5f6ab6e29922dfb549f61b/images/001_1578455224368.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODUwNTk0MTQsImlhdCI6MTU4NTAxNjIxNCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.QNAvqFtgV71hIL789Tus0j06K8L4QHX5BQrGkBIfvYo) 填写到小程序页面里,才能获取到完整的路径 ![](https://git.kancloud.cn/repos/huangfen/haha/raw/78501cb2a756cc6b8e5f6ab6e29922dfb549f61b/images/0001.png?access-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODUwNTk0MTQsImlhdCI6MTU4NTAxNjIxNCwicmVwb3NpdG9yeSI6Imh1YW5nZmVuXC9oYWhhIiwidXNlciI6eyJ1c2VybmFtZSI6Imh1YW5nZmVuIiwibmFtZSI6Ilx1NTNlM1x1NTNlZiIsImVtYWlsIjoiMTgzNjA1MDg4OUBxcS5jb20iLCJ0b2tlbiI6IjhhYjFlODNjNjVjYWU0YjgwYzAyM2UwZDc3ZjNkOTBhIiwiYXV0aG9yaXplIjp7InB1bGwiOnRydWUsInB1c2giOnRydWUsImFkbWluIjp0cnVlfX19.QNAvqFtgV71hIL789Tus0j06K8L4QHX5BQrGkBIfvYo)