|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <Navbar v-if="props.showNavbar" />
|
|
|
- <v-card class="card-box mb-5 pa-5 resume-box mt-3" :class="props.defaultWidth ? 'default-width' : '100%'" :elevation="props.elevation">
|
|
|
+ <v-card class="card-box mb-5 pa-5 resume-box mt-16" :class="props.defaultWidth ? 'default-width' : '100%'" :elevation="props.elevation">
|
|
|
+ <v-btn variant="text" size="x-large" prepend-icon="mdi-chevron-triple-left" color="primary" @click.stop="router.go(-1)">返回</v-btn>
|
|
|
<div class="resume-header">
|
|
|
<div class="resume-title" style="cursor: pointer;" @click="getCartList">我的购物车</div>
|
|
|
<div>
|
|
@@ -75,7 +75,6 @@
|
|
|
<script setup>
|
|
|
defineOptions({ name: 'mall-cart'})
|
|
|
import { ref, computed, onMounted, nextTick } from 'vue'
|
|
|
-import Navbar from '../components/navbar.vue'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
import { getMallUserCartList } from '@/api/mall/cart'
|
|
|
import { fen2yuan } from '@/hooks/web/useGoods'
|