Shopxo商城主题打包教程

页面配置地址

创建于 2022-05-09 / 最近更新于 2022-05-28 / 661

参考小程序源码根目录pages.json文件中的页面定义,小程序目录名称 比如小程序首页   /pages/index/index  以pages+页面目录名称 index 两次即可,以斜杠分割。

编辑器中也支持直接写小程序地址

/pages/index/index                                   首页
/pages/design/design?id=100                          页面设计(参数 id={数据id})
/pages/goods-category/goods-category                 分类页面
/pages/cart/cart                                     购物车
/pages/user/user                                     用户中心
/pages/login/login                                   登录页面
/pages/goods-search/goods-search?keywords=hello      搜索页面(关键字)
/pages/goods-search/goods-search?category_id=100     搜索页面(分类、id参考web站点)
/pages/goods-detail/goods-detail?goods_id=100        商品详情
/pages/user-order/user-order                         订单列表
/pages/user-favor/user-favor                         收藏列表
/pages/user-address/user-address                     我的地址
/pages/article-category/article-category             文章列表
/pages/article-detail/article-detail                 文章详情(参数 id={value}、文章id)
/pages/user-integral/user-integral                   我的积分
/pages/plugins/seckill/index/index                   秒杀首页
/pages/plugins/activity/index/index                    所有活动
/pages/plugins/activity/detail/detail                  活动详情(参数 id={value}、活动id)
/pages/plugins/label/detail/detail                     标签详情(参数 id={value}、标签id)
/pages/plugins/blog/index/index                        博客首页
/pages/plugins/blog/search/search                      博文搜索
/pages/plugins/blog/detail/detail                      博文详情(参数 id={value}、博文id)
/pages/plugins/express/detail/detail                     物流详情(参数 id={value}、订单id)
/pages/plugins/distribution/user/user                            分销用户中心
/pages/plugins/distribution/extraction-switch/extraction-switch  自提地址切换
/pages/plugins/membershiplevelvip/index/index                    会员首页
/pages/plugins/membershiplevelvip/user/user                      会员中心
/pages/plugins/wallet/user/user                                  钱包页面
/pages/plugins/coupon/index/index      优惠券首页
/pages/plugins/coupon/user/user        用户优惠券管理
/pages/plugins/excellentbuyreturntocash/profit/profit   返现数据列表
/pages/plugins/weixinliveplayer/index/index               首页
/pages/plugins/weixinliveplayer/search/search             列表页
/pages/plugins/weixinliveplayer/detail/detail?id=100      详情页(参数 id={value})
/pages/answer-form/answer-form              问答/留言入口
/pages/answer-list/answer-list              问答/留言首页
/pages/user-answer-list/user-answer-list    用户问答/留言管理
/pages/plugins/exchangerate/currency/currency   汇率切换页面
/pages/plugins/invoice/user/user            发票首页
/pages/plugins/invoice/invoice/invoice      我的发票列表
/pages/plugins/invoice/order/order          订单开具发票
/pages/plugins/points/index/index      积分商城首页
/pages/plugins/brand/index/index        品牌首页
/pages/plugins/signin/user/user                             签到用户中心
/pages/plugins/signin/index-detail/index-detail?id=100      签到详情页面(参数id=签到id值)
/pages/plugins/shop/index/index         所有店铺
/pages/plugins/shop/detail/detail       店铺详情(参数 id={店铺id})
/pages/plugins/shop/search/search       店铺商城搜索(参数 keywords={关键字})
/pages/plugins/shop/search/search       店铺商城搜索(参数 category_id={店铺商品分类id})
/pages/plugins/shop/design/design       页面设计(参数 id={数据id})
/pages/plugins/shop/favor/favor         用户店铺收藏
/pages/plugins/realstore/index/index         门店首页
/pages/plugins/realstore/search/search       门店搜索(参数 category_id={门店分类id},keywords={搜索关键字})
/pages/plugins/realstore/detail/detail       门店详情(参数 id={门店id})
/pages/plugins/realstore/favor/favor         用户门店收藏
/pages/plugins/download/download         app下载页面
/pages/plugins/protocol/protocol         服务协议
/pages/plugins/protocol/userprivacy      隐私政策
/pages/plugins/logOff/logOff             账号注销
/pages/plugins/logOff/userprivacy        账号注销须知
/pages/plugins/groups/index/index                拼团专区首页
/pages/plugins/groups/detail/detail              拼团商品详情页(参数 goods_id/id={拼团商品id})
/pages/plugins/groups/order/order                拼团订单
/pages/plugins/groups/orderdetail/orderdetail    拼团订单详情(参数 id={订单id})
/pages/plugins/groups/team/team                  我的拼团
/pages/plugins/groups/teamdetail/teamdetail      拼团详情(参数 id={团id})
/pages/plugins/groups/buy/buy                    确认订单
/pages/plugins/groups/comment/comment            评价晒单


1 人点赞过