diff --git a/src/model/ChatModel.js b/src/model/ChatModel.js index acb981f..e43eece 100644 --- a/src/model/ChatModel.js +++ b/src/model/ChatModel.js @@ -24,9 +24,11 @@ export const CompName = { // 调查问卷卡片 callSurveyQuestionnaire: "callSurveyQuestionnaire", // 打开地图卡片 - openMapCard: "openMapCard", + mapCard: "mapCard", // 回答卡片 longTextCard: "longTextCard", + // 生成合成图片 + generatorPhotoCard: "generatorPhotoCard", }; /// 发送的指令类型 diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index 595c64f..f995910 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -19,8 +19,7 @@ + + \ No newline at end of file diff --git a/src/pages/index/components/module/GeneratorPhotoComponent/styles/index.scss b/src/pages/index/components/module/GeneratorPhotoComponent/styles/index.scss new file mode 100644 index 0000000..5d051c7 --- /dev/null +++ b/src/pages/index/components/module/GeneratorPhotoComponent/styles/index.scss @@ -0,0 +1,23 @@ +.container { + background: rgba(255, 255, 255, 0.2); + box-shadow: 0px 9px 34px 0px rgba(27, 9, 91, 0.07); +} + +.content { + background: linear-gradient(180deg, $theme-color-100 0%, $theme-color-500 100%); + border-radius: 24px 24px 24px 24px; + border: 1px solid #FFFFFF; +} + +.g_title { + width: 197px; + height: 42px; +} + +.btn-bg { + background: rgba(255, 255, 255, 0.32); +} + +.btn-bg-sub { + box-shadow: inset 0px 0px 41px 0px $theme-color-50, inset 0px 0px 15px 0px $theme-color-100; +} \ No newline at end of file diff --git a/src/pages/long-answer/index.vue b/src/pages/long-answer/index.vue index 16c7f7a..10b10e9 100644 --- a/src/pages/long-answer/index.vue +++ b/src/pages/long-answer/index.vue @@ -12,7 +12,7 @@ const props = defineProps({ }); onLoad(({ message = "" }) => { - props.answerText = message; + props.answerText = decodeURIComponent(message); }); \ No newline at end of file diff --git a/src/static/scss/rounded.scss b/src/static/scss/rounded.scss index aed980d..a1bcd89 100644 --- a/src/static/scss/rounded.scss +++ b/src/static/scss/rounded.scss @@ -31,6 +31,10 @@ border-radius: 20px; } +.rounded-24 { + border-radius: 24px; +} + .rounded-50 { border-radius: 50px; }