介绍
本文讲解小程序的商品详情跳转
接口路径
商品列表跳转
要实现以上的商品详情跳转需要注意什么细节呢?
url传参
小程序支持url传参
参数名 | 说明 |
---|---|
query | 关键字 |
cid | 分类id |
pagenum | 页码 |
pagesize | 页容量 |
- 使用的参数
cid 分类id
代码示例
<!-- 右侧商品内容 -->
<scroll-view scroll-top="scrollTop" scroll-y class="right_content">
<view class="goods_group"
wx:for="{
{rightContent}}"
wx:for-index="index1"
wx:for-item=