From 0975359ec12e423da75f178bcd198e53d283f4ea Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Fri, 12 Jul 2024 11:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=A6=96=E9=A1=B5=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/Index.vue | 58 +++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/src/views/index/Index.vue b/src/views/index/Index.vue index 4e22983..4d8f469 100644 --- a/src/views/index/Index.vue +++ b/src/views/index/Index.vue @@ -164,23 +164,24 @@ 常用功能 - -
-
-
- + @@ -212,11 +213,18 @@ const functions = [ link: '/goods/create' }, { - name: '店铺装修', - icon: Icons.functions.decorate, - color: '#f15858', - link: '/page/index' + name: '数据统计', + icon: Icons.functions.statistics, + color: '#139dff', + link: '/statistics', + moduleKey: 'statistics-statistics' }, + // { + // name: '店铺装修', + // icon: Icons.functions.decorate, + // color: '#f15858', + // link: '/page/index' + // }, { name: '会员管理', icon: Icons.functions.user, @@ -248,13 +256,6 @@ const functions = [ color: '#f15858', link: '/market/coupon/index', moduleKey: 'app-coupon' - }, - { - name: '数据统计', - icon: Icons.functions.statistics, - color: '#139dff', - link: '/statistics', - moduleKey: 'statistics-statistics' } ] @@ -308,6 +309,11 @@ export default { data } }, + computed: { + storeVersion() { + return window.localStorage.getItem('storeInfo') ? JSON.parse(window.localStorage.getItem('storeInfo')).store_version : 0 + } + }, created () { // 获取首页数据 this.getData()