From c644f40a1cae0560e601f9d2a960322d32150b56 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 17 Oct 2024 20:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E4=BE=A7=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/category/category.vue | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue index 5f104e5..6137282 100644 --- a/src/pages/category/category.vue +++ b/src/pages/category/category.vue @@ -9,11 +9,11 @@ const ctx = reactive({ value: "takeaway" }, { - name: "美团优选", + name: "优选", value: "optimization" }, { - name: "美团餐饮", + name: "餐饮", value: "catering" }, { @@ -27,6 +27,18 @@ const ctx = reactive({ { name: "交通出行", value: "traffic" + }, + { + name: "丽人医美", + value: "medicalAesthetics" + }, + { + name: "金融服务", + value: "financial" + }, + { + name: "福利中心", + value: "welfare" } ] }) @@ -49,8 +61,10 @@ function switchCategory(index) { - - 123456 + + + {{ctx.categories[ctx.current].name}} +