From 11190ea2a1fcaf56c73657f79827ec8299dd7ed0 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Wed, 13 May 2026 14:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=97=8F/=E7=95=99=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 53 ++++- components/book-list-item/book-list-item.vue | 64 +++++- subpkg/pages/collect-list/collect-list.vue | 33 +++- .../pages/feedback-detail/feedback-detail.vue | 49 ++++- subpkg/pages/feedback-list/feedback-list.vue | 164 +++++++++++++--- subpkg/pages/feedback/feedback.vue | 48 ++++- utils/bookCover.js | 184 ++++++++++++++++++ 7 files changed, 540 insertions(+), 55 deletions(-) create mode 100644 utils/bookCover.js diff --git a/api/user.js b/api/user.js index 47fa112..d1c03d0 100644 --- a/api/user.js +++ b/api/user.js @@ -101,4 +101,55 @@ export function FetchUnbindReadCard(data) { method: 'POST', data }); -} \ No newline at end of file +} + +// 读者留言列表 +// ?libcode=1&openId=1&page=0&phone=1&readCardNo=1&readName=1&size=10&title=1 +export function FetchInitReaderMessage(data) { + return request({ + url: '/api/weixin/initReaderMessage', + data + }); +} + +// 根据id查看读者留言详情 +// ?id=1 +export function FetchReaderMessageDetailsById(data) { + return request({ + url: '/api/weixin/getReaderMessageDetailsById', + data + }); +} + +// 读者留言 +// { +// "libcode": "馆代码", +// "openid": "string", +// "phone": "联系方式", +// "readCardNo": "读者证号", +// "readName": "读者名称", +// "suggestion": "建议", +// "title": "标题" +// } +export function FetchReaderMessage(data) { + return request({ + url: '/api/weixin/readerMessage', + method: 'POST', + data + }); +} + +// 回复读者留言 +// { +// "id": 0, +// "reply": "回复" +// } +export function FetchReplyReaderMessage(data) { + return request({ + url: '/api/weixin/replyReaderMessage', + method: 'POST', + data + }); +} + + diff --git a/components/book-list-item/book-list-item.vue b/components/book-list-item/book-list-item.vue index 97a5e05..5431d41 100644 --- a/components/book-list-item/book-list-item.vue +++ b/components/book-list-item/book-list-item.vue @@ -4,7 +4,7 @@ @@ -19,8 +19,6 @@