feat: 基本实现拆单收货

This commit is contained in:
2026-07-29 15:53:23 +08:00
parent c443109869
commit 1b45f9dac6
92 changed files with 3223 additions and 22968 deletions
@@ -1,17 +1,30 @@
<template>
<main class="cart-page">
<div>
<joyful-selection-cart-skeleton v-if="loading" />
<main v-else class="cart-page">
<van-nav-bar title="购物车" right-text="编辑" @click-right="$router.push('/joyful-selection/cart/edit')" />
<joyful-cart-panel fixed-submit page-mode @checkout="goCheckout" />
</main>
</main>
</div>
</template>
<script>
import JoyfulCartPanel from './components/JoyfulCartPanel.vue'
import JoyfulSelectionCartSkeleton from '@/skeleton-view/joyful-selection/cart/index.vue'
export default {
name: 'JoyfulSelectionCart',
components: {
JoyfulCartPanel
JoyfulCartPanel,
JoyfulSelectionCartSkeleton
},
data: () => ({
loading: true
}),
mounted() {
this.$nextTick(() => {
this.loading = false
})
},
methods: {
goCheckout(items) {