feat: 基本实现拆单收货
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user