diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..7c4836f --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/chat/src/assets/images/MidjourneyBot.png b/chat/src/assets/images/MidjourneyBot.png new file mode 100644 index 0000000..eeee63d Binary files /dev/null and b/chat/src/assets/images/MidjourneyBot.png differ diff --git a/chat/src/main.ts b/chat/src/main.ts index 8525f22..1feae15 100644 --- a/chat/src/main.ts +++ b/chat/src/main.ts @@ -1,5 +1,6 @@ import { createApp } from 'vue' import { useMessage } from 'naive-ui' +import naive from 'naive-ui' import '@/styles/lib/viewer.css' import VueViewer from 'v-viewer' import App from './App.vue' @@ -17,6 +18,7 @@ window.$message = useMessage() async function bootstrap() { const app = createApp(App) app.use(VueViewer) + app.use(naive) app.use(MotionPlugin) setupAssets() setupScrollbarStyle() diff --git a/chat/src/views/midjourney/components/historyItem.vue b/chat/src/views/midjourney/components/historyItem.vue new file mode 100644 index 0000000..a2894ab --- /dev/null +++ b/chat/src/views/midjourney/components/historyItem.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/chat/src/views/midjourney/components/mjRatio.vue b/chat/src/views/midjourney/components/mjRatio.vue new file mode 100644 index 0000000..24903e9 --- /dev/null +++ b/chat/src/views/midjourney/components/mjRatio.vue @@ -0,0 +1,69 @@ + + + diff --git a/chat/src/views/midjourney/components/mjfooter.vue b/chat/src/views/midjourney/components/mjfooter.vue new file mode 100644 index 0000000..82720d0 --- /dev/null +++ b/chat/src/views/midjourney/components/mjfooter.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/chat/src/views/midjourney/components/mjp.vue b/chat/src/views/midjourney/components/mjp.vue new file mode 100644 index 0000000..07865d8 --- /dev/null +++ b/chat/src/views/midjourney/components/mjp.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/chat/src/views/midjourney/components/modelSelect.vue b/chat/src/views/midjourney/components/modelSelect.vue new file mode 100644 index 0000000..82aaa14 --- /dev/null +++ b/chat/src/views/midjourney/components/modelSelect.vue @@ -0,0 +1,49 @@ + + + diff --git a/chat/src/views/midjourney/components/txtToImg.vue b/chat/src/views/midjourney/components/txtToImg.vue new file mode 100644 index 0000000..26774db --- /dev/null +++ b/chat/src/views/midjourney/components/txtToImg.vue @@ -0,0 +1,256 @@ + + + + + diff --git a/chat/src/views/midjourney/index.vue b/chat/src/views/midjourney/index.vue index ed66358..2e4a129 100644 --- a/chat/src/views/midjourney/index.vue +++ b/chat/src/views/midjourney/index.vue @@ -1,22 +1,12 @@