diff --git a/src/renderer/src/api/eTextbook/index.js b/src/renderer/src/api/eTextbook/index.js new file mode 100644 index 0000000..c84df47 --- /dev/null +++ b/src/renderer/src/api/eTextbook/index.js @@ -0,0 +1,35 @@ +import request from '@/utils/request' + +// 新增pdf圈点勾画 +export const addsmartBookMark = (params) => { + return request({ + url: '/smarttalk/bookMark/addSmartBookMark', + method: 'post', + data:params + }) +} + +// 修改pdf圈点勾画 +export const updateSmartBookMarkContent = (params) => { + return request({ + url: '/smarttalk/bookMark/updateSmartBookMarkContent', + method: 'post', + data:params + }) +} + +// 根据书id获取pdf圈点勾画 +export const getBookMarkById = (bookId) => { + return request({ + url: '/smarttalk/bookMark/' + bookId, + method: 'get' + }) +} + +//根据id删除对应页数 +export function deleteBookMark(ids) { + return request({ + url: '/smarttalk/bookMark/' + ids, + method: 'delete' + }) +} diff --git a/src/renderer/src/components/pdf/index copy.vue b/src/renderer/src/components/pdf/index copy.vue new file mode 100644 index 0000000..ed14d19 --- /dev/null +++ b/src/renderer/src/components/pdf/index copy.vue @@ -0,0 +1,220 @@ + + + + + \ No newline at end of file diff --git a/src/renderer/src/components/pdf/index.vue b/src/renderer/src/components/pdf/index.vue index 276aa80..056474c 100644 --- a/src/renderer/src/components/pdf/index.vue +++ b/src/renderer/src/components/pdf/index.vue @@ -1,8 +1,18 @@ -