diff --git a/kcui/src/api/baogao.js b/kcui/src/api/baogao.js new file mode 100644 index 0000000..d04e0cc --- /dev/null +++ b/kcui/src/api/baogao.js @@ -0,0 +1,13 @@ +import request from '@/utils/request'; +import {getToken} from "@/utils/auth"; + +export function getBaoGaoInfo(params) { + return request({ + url: '/baoGao/getBaoGaoInfo', + method: 'post', + data:params, + headers: { + 'Authorization': 'Bearer '+ getToken() // 将 token 放在请求头中 + } + }) +} diff --git a/kcui/src/assets/img/Inicon.png b/kcui/src/assets/img/Inicon.png new file mode 100644 index 0000000..a1beb1a Binary files /dev/null and b/kcui/src/assets/img/Inicon.png differ diff --git a/kcui/src/assets/img/baoGaobg.png b/kcui/src/assets/img/baoGaobg.png new file mode 100644 index 0000000..195ba71 Binary files /dev/null and b/kcui/src/assets/img/baoGaobg.png differ diff --git a/kcui/src/assets/img/exportIn.png b/kcui/src/assets/img/exportIn.png new file mode 100644 index 0000000..1ebd363 Binary files /dev/null and b/kcui/src/assets/img/exportIn.png differ diff --git a/kcui/src/assets/img/headLogin.png b/kcui/src/assets/img/headLogin.png new file mode 100644 index 0000000..6ec0232 Binary files /dev/null and b/kcui/src/assets/img/headLogin.png differ diff --git a/kcui/src/assets/img/headMulu.png b/kcui/src/assets/img/headMulu.png new file mode 100644 index 0000000..86041ca Binary files /dev/null and b/kcui/src/assets/img/headMulu.png differ diff --git a/kcui/src/assets/img/shengcheng.png b/kcui/src/assets/img/shengcheng.png new file mode 100644 index 0000000..f30cc9e Binary files /dev/null and b/kcui/src/assets/img/shengcheng.png differ diff --git a/kcui/src/assets/img/shengchengicon.png b/kcui/src/assets/img/shengchengicon.png new file mode 100644 index 0000000..ba99055 Binary files /dev/null and b/kcui/src/assets/img/shengchengicon.png differ diff --git a/kcui/src/components/Editor.vue b/kcui/src/components/Editor.vue index f297f91..5b730d2 100644 --- a/kcui/src/components/Editor.vue +++ b/kcui/src/components/Editor.vue @@ -196,7 +196,9 @@ export default { // this.fileToBase64(file) // console.log(this.fileToBase64(file)) // 插入图片 res.url为服务器返回的图片地址 - quill.insertEmbed(length, "image", res.url); + console.log("k------------") + console.log(res.data.url) + quill.insertEmbed(length, "image", res.data.url); // 调整光标到最后 quill.setSelection(length + 1); } else { diff --git a/kcui/src/components/Head.vue b/kcui/src/components/Head.vue index 1108f7e..750a806 100644 --- a/kcui/src/components/Head.vue +++ b/kcui/src/components/Head.vue @@ -1,9 +1,10 @@