From 0d4dc2b0e6ab459ecb18a20198ac7c551ed67d47 Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Mon, 16 May 2022 17:00:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E9=9D=A2=E6=9D=BFUI,=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E6=97=B6=E6=9C=BA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/module/header/HeaderCart.vue | 150 ++++++++++++++------------- pages/account/index/userInfo.vue | 8 ++ plugins/router.js | 12 ++- store/index.js | 1 - 4 files changed, 96 insertions(+), 75 deletions(-) diff --git a/layouts/module/header/HeaderCart.vue b/layouts/module/header/HeaderCart.vue index f88a400..3d697c2 100644 --- a/layouts/module/header/HeaderCart.vue +++ b/layouts/module/header/HeaderCart.vue @@ -14,7 +14,11 @@ > 购物车 -
+
{{ cartCount }}
@@ -23,27 +27,27 @@ v-for="item in products" :key="item.id" @click="onJumpGoodsDetail(item.product.id)" - class="header-cart-products__wrap flex flex-middle flex-between" + class="header-cart-products__wrap flex flex-middle" > -
-
- +
+ +
+
+
+

{{ item.productName }}

+
-
-

{{ item.productName }}

-
- {{ - item.productSku.name - }} - {{ item.number }} -
+
+ {{ + item.productSku.name + }} + {{ item.number }}
-
@@ -157,7 +161,7 @@ export default {