1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

小程序商品列表页优化;添加我的订单页面

This commit is contained in:
2023-03-20 23:34:59 +08:00
parent 960280b11e
commit c9f171e5d5
17 changed files with 331 additions and 167 deletions

View File

@@ -170,8 +170,12 @@ Page({
magicButton() {
wx.navigateTo({
// 扫码进社区
// url: "/pages/scan/entrance?a=1"
url: "/pages/shop/orderConfirm?orderId=1748800678865801225"
// 订单确认页
// url: "/pages/shop/orderDetail?orderId=1748800678865801225"
// 我的订单
url: '/pages/shop/myOrder'
})
}
})

View File

@@ -14,7 +14,9 @@
<view>{{ menuItem.title }}</view>
</view>
</view>
<button type="primary" size="mini" bindtap="toggleDot">切换小红点</button>
<button type="warn" size="mini" bindtap="magicButton">扫描门禁</button>
<text>调试信息:{{ debugText }}</text>
<view style="text-align: center;">
<button type="warn" bindtap="magicButton">上帝按钮</button>
<!-- <button type="primary" size="mini" bindtap="toggleDot">切换小红点</button> -->
<!-- <text>调试信息:{{ debugText }}</text> -->
</view>
</view>