diff --git a/src/oc-community-frontend/public/photo/map1.png b/src/oc-community-frontend/public/photo/map1.png new file mode 100644 index 0000000..bb48265 Binary files /dev/null and b/src/oc-community-frontend/public/photo/map1.png differ diff --git a/src/oc-community-frontend/src/components/CommunityPage.vue b/src/oc-community-frontend/src/components/CommunityPage.vue index bfef949..f03e5a7 100644 --- a/src/oc-community-frontend/src/components/CommunityPage.vue +++ b/src/oc-community-frontend/src/components/CommunityPage.vue @@ -8,7 +8,7 @@
- 社区场景 + 社区背景
diff --git a/src/oc-community-frontend/src/components/OCCreationPage.vue b/src/oc-community-frontend/src/components/OCCreationPage.vue index 1f2ddef..268def1 100644 --- a/src/oc-community-frontend/src/components/OCCreationPage.vue +++ b/src/oc-community-frontend/src/components/OCCreationPage.vue @@ -207,7 +207,7 @@ const handleAIGenerate = async () => { const API_KEY = import.meta.env.VITE_ZHIPU_API_KEY const prompt = `生成一个OC角色的JSON对象,字段有: name, gender, genderOther, birthday, age, race, occupation, hair, eyeColor, height, clothes, feature, personality(数组), personalityOther, mbti, advantage, shortcoming, habit, catchphrase, growup, story, secret, hobbies(数组), foodLike, hate, life, weekend, communityActivity, relation(数组), relationOther, avatar。 -每个字段都要有合理虚构内容,必须为中文,其中birthday只有月日,如8-15,不能留空、不能为[]、不能为null。 +每个字段都要有合理的虚构内容,随机性强,不要总生成相似的人设,必须为中文,其中birthday只有月日,如8-15,不能留空、不能为[]、不能为null。 只输出JSON对象本身,不要任何推理、解释、reasoning、注释、代码块、markdown标记或多余内容。`; try { const res = await axios.post( diff --git a/src/oc-community-frontend/开发日志.txt b/src/oc-community-frontend/开发日志.txt index fbc109f..7328eef 100644 --- a/src/oc-community-frontend/开发日志.txt +++ b/src/oc-community-frontend/开发日志.txt @@ -177,9 +177,15 @@ oc问卷ai随机生成成功实现,但创建oc数量好像有最大限制, 进入后仅显示oc基本信息(包含头像 姓名 性别 生日 年龄 喜好 关系,以及日程表区域) 根据oc问卷信息显示基本信息,设置编辑按钮,点击后跳转到oc问卷界面,可对问卷信息进行修改并保存 在聊天界面头像显示过大导致聊天信息显示不完整,需要规范头像大小 - +0.1.4 调用ai生成日程表,根据oc性格和喜好,生成一个随机的日程表,并显示在oc信息界面中,点击日程表可以查看或修改具体日程 +将社区地图图片替换成map +导入地区地图和实时天气,并显示在社区地图界面中 +自主构建地图 + --0.2目标:成功调用ai,搭建基本社区地图 +--0.3目标:界面美化 +列表抽拉栏