diff --git a/http/yskApi/pageNotification.js b/http/yskApi/pageNotification.js new file mode 100644 index 0000000..9597344 --- /dev/null +++ b/http/yskApi/pageNotification.js @@ -0,0 +1,17 @@ +import http from './http.js' +const request=http.request + + +/** + * 获取订阅二维码 + * @returns + */ +export function getSubQrCode(params) { + return request({ + url: `/api/msg/subQrCode`, + method: 'get', + params: { + shopId: uni.getStorageSync('shopId'), + } + }) +} diff --git a/pageNotification/index.vue b/pageNotification/index.vue new file mode 100644 index 0000000..f4214fe --- /dev/null +++ b/pageNotification/index.vue @@ -0,0 +1,197 @@ + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index bda58f3..75c681b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -145,6 +145,11 @@ // icon: '/static/indexImg/icon-staff.svg', // pageUrl: 'PAGES_USER' // }, + { + title: '订阅通知', + icon: '/static/indexImg/icon-notification.svg', + pageUrl: 'PAGES_NOTIFICATION_INDEX', + }, { title: '设置中心', icon: '/static/indexImg/icon-cashier.svg', diff --git a/static/indexImg/icon-notification.svg b/static/indexImg/icon-notification.svg new file mode 100644 index 0000000..87c1ae5 --- /dev/null +++ b/static/indexImg/icon-notification.svg @@ -0,0 +1 @@ + \ No newline at end of file