feat: 调整商品的跳转问题
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
<text class="font-size-12 line-height-16 color-99A0AE">
|
<text class="font-size-12 line-height-16 color-99A0AE">
|
||||||
/{{ item.stockUnitLabel }}
|
/{{ item.stockUnitLabel }}
|
||||||
</text>
|
</text>
|
||||||
<text class="btn border-box rounded-10 color-white ml-16" @click.stop="handleBooking(item)">订</text>
|
<text class="btn border-box rounded-10 color-white ml-16">订</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -63,7 +63,6 @@ const navigateToPage = (commodityId, path) => {
|
|||||||
|
|
||||||
const handleClick = ({ commodityId }) => navigateToPage(commodityId, "/pages/goods/index")
|
const handleClick = ({ commodityId }) => navigateToPage(commodityId, "/pages/goods/index")
|
||||||
|
|
||||||
const handleBooking = ({ commodityId }) => navigateToPage(commodityId, "/pages-booking/index")
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
Reference in New Issue
Block a user