小程序商品列表页优化;添加我的订单页面
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
})
|
||||
|
@@ -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>
|
Reference in New Issue
Block a user