From cfed2474aefa2a01ed237e698d8e296fa4d32a15 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 10 Sep 2024 10:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pageSalesSummary/index.vue | 22 +++++++++ jeepay-ui-uapp-merchant/pages.json | 48 +++++++++++-------- jeepay-ui-uapp-merchant/pages/index/index.vue | 13 +++-- .../static/indexImg/PAGE_SALES_SUMMARY.svg | 1 + 4 files changed, 60 insertions(+), 24 deletions(-) create mode 100644 jeepay-ui-uapp-merchant/pageSalesSummary/index.vue create mode 100644 jeepay-ui-uapp-merchant/static/indexImg/PAGE_SALES_SUMMARY.svg diff --git a/jeepay-ui-uapp-merchant/pageSalesSummary/index.vue b/jeepay-ui-uapp-merchant/pageSalesSummary/index.vue new file mode 100644 index 0000000..1d5cc61 --- /dev/null +++ b/jeepay-ui-uapp-merchant/pageSalesSummary/index.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/jeepay-ui-uapp-merchant/pages.json b/jeepay-ui-uapp-merchant/pages.json index be5161d..5d90f77 100644 --- a/jeepay-ui-uapp-merchant/pages.json +++ b/jeepay-ui-uapp-merchant/pages.json @@ -1002,10 +1002,9 @@ }, { "pageId": "PAGES_CRESATE_ORDER_PAY", - "path" : "pay-order/pay-order", - "style" : - { - "navigationBarTitleText" : "结账" + "path": "pay-order/pay-order", + "style": { + "navigationBarTitleText": "结账" } } @@ -1214,26 +1213,35 @@ "navigationBarTitleText": "添加折扣券" } }] - },{ + }, + { + "root": "pageSalesSummary", + "pages": [{ + "pageId": "PAGES_SALES_SUMMARY", + "path": "index", + "style": { + "navigationBarTitleText": "销售汇总" + } + }] + }, + { "root": "pagePrinter", "pages": [{ - "pageId": "PAGES_PRINTER_INDEX", - "path" : "index/index", - "style" : + "pageId": "PAGES_PRINTER_INDEX", + "path": "index/index", + "style": { + "navigationBarTitleText": "打印机" + } + }, { - "navigationBarTitleText" : "打印机" + "pageId": "PAGES_PRINTER_ADD", + "path": "add-printer/add-printer", + "style": { + // "navigationBarTitleText" : "添加/编辑云打印机" + "navigationBarTitleText": "" + } } - }, - { - "pageId": "PAGES_PRINTER_ADD", - "path" : "add-printer/add-printer", - "style" : - { - // "navigationBarTitleText" : "添加/编辑云打印机" - "navigationBarTitleText" : "" - } - } - + ] } ], diff --git a/jeepay-ui-uapp-merchant/pages/index/index.vue b/jeepay-ui-uapp-merchant/pages/index/index.vue index c8fd3df..27e6064 100644 --- a/jeepay-ui-uapp-merchant/pages/index/index.vue +++ b/jeepay-ui-uapp-merchant/pages/index/index.vue @@ -189,12 +189,17 @@ icon: '/static/indexImg/red-envelope.svg', pageUrl: 'PAGES_INVOICE' }, + // { + // title: '优惠券', + // icon: '/static/indexImg/red-envelope.svg', + // pageUrl: 'PAGES_COUPON_INDEX' + // }, { - title: '优惠券', - icon: '/static/indexImg/red-envelope.svg', - pageUrl: 'PAGES_COUPON_INDEX' + title: '销售汇总', + icon: '/static/indexImg/PAGE_SALES_SUMMARY.svg', + pageUrl: 'PAGES_SALES_SUMMARY' } - + ]; // 如果不是超管 删除 刷脸广告菜单 if (storageManage.userInfo().userType != 1) { diff --git a/jeepay-ui-uapp-merchant/static/indexImg/PAGE_SALES_SUMMARY.svg b/jeepay-ui-uapp-merchant/static/indexImg/PAGE_SALES_SUMMARY.svg new file mode 100644 index 0000000..a53761d --- /dev/null +++ b/jeepay-ui-uapp-merchant/static/indexImg/PAGE_SALES_SUMMARY.svg @@ -0,0 +1 @@ + \ No newline at end of file