feat: 实现了我的设置页面的相关操作
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<text class="card-unit">/人</text>
|
||||
</view>
|
||||
|
||||
<text class="card-btn">下单</text>
|
||||
<text class="card-btn" @click="placeOrderHandle(item)">下单</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -39,6 +39,13 @@
|
||||
default: {}
|
||||
}
|
||||
})
|
||||
|
||||
/// 去下单
|
||||
const placeOrderHandle = (item) => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/goods/index?commodityId=${item.commodityId}`,
|
||||
})
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user