From ec7e4ad4f04b9bb45df1c487de3ba48d70bf8f8e Mon Sep 17 00:00:00 2001 From: x_ying <2438792676@qq.com> Date: Tue, 20 Sep 2022 11:47:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E4=B9=A6=E6=8E=A8=E8=8D=90/=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E5=9B=BE=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/data1.json | 65 ++++++++++++++++++++++++ src/views/hotBook.vue | 21 ++++++-- src/views/module/bookList.vue | 95 +++++++++++++++++++++++++++++++++++ src/views/newBook.vue | 14 +++++- 4 files changed, 188 insertions(+), 7 deletions(-) create mode 100644 src/views/module/bookList.vue diff --git a/src/views/data1.json b/src/views/data1.json index 7ae8c91..24c42e6 100644 --- a/src/views/data1.json +++ b/src/views/data1.json @@ -9,5 +9,70 @@ { "id": 3 }, { "id": 4 }, { "id": 5 } + ], + "bookList":[ + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定1", + "ranking": 1, + "num": 2000 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定2", + "ranking": 2, + "num": 1200 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定3", + "ranking": 3, + "num": 1100 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定1", + "ranking": 1, + "num": 2000 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定2", + "ranking": 2, + "num": 1200 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定3", + "ranking": 3, + "num": 1100 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定1", + "ranking": 1, + "num": 2000 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定2", + "ranking": 2, + "num": 1200 + }, + { + "img":"https://qiniu.aiyxlib.com/bg.png", + "title": "大个子狗与小个子猫", + "author": "高小定3", + "ranking": 3, + "num": 1100 + } ] } \ No newline at end of file diff --git a/src/views/hotBook.vue b/src/views/hotBook.vue index 374de71..040432d 100644 --- a/src/views/hotBook.vue +++ b/src/views/hotBook.vue @@ -8,19 +8,30 @@
作者:{{ bookdata[0].author }}
+出版社:
+出版日期:
+{{ item.title }}
+