From d369fdd918f918eb8a762ff68978d9f719bded83 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Tue, 21 May 2024 17:11:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/add_shop.vue | 12 +++- src/views/user_manage/user_list.vue | 86 ++++++++++++++++++++++++++++- 2 files changed, 93 insertions(+), 5 deletions(-) diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue index bd7f61e..77fdee2 100644 --- a/src/views/product/add_shop.vue +++ b/src/views/product/add_shop.vue @@ -56,7 +56,7 @@ @@ -400,6 +401,13 @@ export default { } }, methods: { + // 删除分组商品 + delGoods(goods, index, $index) { + goods.splice(index, 1) + if (!goods.length) { + this.form.groupSnap.splice($index, 1) + } + }, // 修改商家区域 areaChange(key) { if (this.form[key] == 1) { diff --git a/src/views/user_manage/user_list.vue b/src/views/user_manage/user_list.vue index 0f74e82..ba77a03 100644 --- a/src/views/user_manage/user_list.vue +++ b/src/views/user_manage/user_list.vue @@ -16,17 +16,55 @@ 添加活动 --> +
+
+
统计数据
+
+
+
用户数
+
13
+
+
+
会员数
+
1
+
+
+
总余额
+
0.00
+
+
+
总积分
+
0
+
+
+
+
- + + - + + + + + + @@ -133,8 +171,50 @@ export default { .user_info { display: flex; align-items: center; + .name { margin-left: 10px; } } + +::v-deep .image-slot { + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + background-color: #efefef; + font-size: 20px; + color: #999; +} + +.card { + background-color: #f5f5f5; + padding: 0 14px; + + .title { + font-size: 22px; + padding-top: 14px; + } + + .row { + display: flex; + padding: 20px 0; + + .item { + flex: 1; + + .t { + color: #555; + } + + .n { + color: #000; + font-size: 20px; + font-weight: bold; + padding-top: 6px; + } + } + } +} \ No newline at end of file