diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 686410d..96add56 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -8,6 +8,7 @@ + @@ -52,6 +53,7 @@ + diff --git a/UniApp/App.uvue b/UniApp/App.uvue new file mode 100644 index 0000000..8f05cc5 --- /dev/null +++ b/UniApp/App.uvue @@ -0,0 +1,48 @@ + + + \ No newline at end of file diff --git a/UniApp/README.md b/UniApp/README.md new file mode 100644 index 0000000..fe2be26 --- /dev/null +++ b/UniApp/README.md @@ -0,0 +1,25 @@ +从 Figma 频道 bdbg59by 拉取画板「登录界面」: +1) 导出该画板勾选导出的所有资源到 F:\HBuilderXProjects\EmotionMuseum\static\auth\ 保持原文件名。 +2) 读取画板布局与样式,按 750 宽→rpx 1:1 还原,生成并覆盖: + F:\HBuilderXProjects\EmotionMuseum\pages\login\index.uvue +3) 页面中的图片引用使用 /static/auth/<文件名>,字体/字号/间距/圆角/阴影完全按 Figma。 + +从 Figma 频道 bdbg59by 拉取画板「初始页」: +1) 导出所有资源到 F:\HBuilderXProjects\EmotionMuseum\static\home\ 保持原文件名。 +2) 读取布局与样式,750px→rpx 等比,生成并覆盖: + F:\HBuilderXProjects\EmotionMuseum\pages\home\index.uvue +3) 图片使用 /static/home/<文件名>;如果含自定义顶部栏,则页面内实现并与系统导航对齐。 + + +从 Figma 频道 bdbg59by 拉取画板「首页-聊天」: +1) 导出所有资源到 F:\HBuilderXProjects\EmotionMuseum\static\splash\ 保持原文件名。 +2) 读取布局与样式,750px→rpx,生成并覆盖: + F:\HBuilderXProjects\EmotionMuseum\pages\splash\index.uvue +3) 图片使用 /static/splash/<文件名>;若有沉浸式头部,页面内自定义导航(可在需要时把 navigationStyle 设置为 custom)。 + + +从 Figma 频道 bdbg59by 拉取画板「首页」: +1) 导出所有资源到 F:\HBuilderXProjects\EmotionMuseum\static\index\ 保持原文件名。 +2) 读取布局与样式,750px→rpx,生成并覆盖: + F:\HBuilderXProjects\EmotionMuseum\pages\index\index.uvue +3) 图片使用 /static/index/<文件名>;布局与组件结构严格与 Figma 一致。 \ No newline at end of file diff --git a/UniApp/index.html b/UniApp/index.html new file mode 100644 index 0000000..8793fef --- /dev/null +++ b/UniApp/index.html @@ -0,0 +1,20 @@ + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/UniApp/main.uts b/UniApp/main.uts new file mode 100644 index 0000000..8bdcc86 --- /dev/null +++ b/UniApp/main.uts @@ -0,0 +1,9 @@ +import App from './App.uvue' + +import { createSSRApp } from 'vue' +export function createApp() { + const app = createSSRApp(App) + return { + app + } +} \ No newline at end of file diff --git a/UniApp/manifest.json b/UniApp/manifest.json new file mode 100644 index 0000000..6f515e4 --- /dev/null +++ b/UniApp/manifest.json @@ -0,0 +1,43 @@ +{ + "name" : "EmotionMuseum", + "appid" : "", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "uni-app-x" : {}, + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "3", + "app" : { + "distribute" : { + "icons" : { + "android" : { + "hdpi" : "", + "xhdpi" : "", + "xxhdpi" : "", + "xxxhdpi" : "" + } + } + } + } +} diff --git a/UniApp/pages.json b/UniApp/pages.json new file mode 100644 index 0000000..0c6305a --- /dev/null +++ b/UniApp/pages.json @@ -0,0 +1,41 @@ +{ + "pages": [ + { + "path": "pages/home/index", + "style": { + "navigationBarTitleText": "首页" + } + }, + { + "path": "pages/login/index", + "style": { + "navigationBarTitleText": "登录" + } + }, + { + "path": "pages/splash/index", + "style": { + "navigationBarTitleText": "首页-聊天" + } + }, + { + "path": "pages/device-connect/index", + "style": { + "navigationBarTitleText": "设备连接" + } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页" + } + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "Emotion Museum", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "uniIdRouter": {} +} diff --git a/UniApp/pages/device-connect/index.uvue b/UniApp/pages/device-connect/index.uvue new file mode 100644 index 0000000..e2bbb55 --- /dev/null +++ b/UniApp/pages/device-connect/index.uvue @@ -0,0 +1,24 @@ + + + + + + + diff --git a/UniApp/pages/home/index.uvue b/UniApp/pages/home/index.uvue new file mode 100644 index 0000000..e3d92b4 --- /dev/null +++ b/UniApp/pages/home/index.uvue @@ -0,0 +1,24 @@ + + + + + + + diff --git a/UniApp/pages/index/index.uvue b/UniApp/pages/index/index.uvue new file mode 100644 index 0000000..95dac21 --- /dev/null +++ b/UniApp/pages/index/index.uvue @@ -0,0 +1,36 @@ + + + + + diff --git a/UniApp/pages/login/index.uvue b/UniApp/pages/login/index.uvue new file mode 100644 index 0000000..d5c4517 --- /dev/null +++ b/UniApp/pages/login/index.uvue @@ -0,0 +1,45 @@ + + + + + + + diff --git a/UniApp/pages/splash/index.uvue b/UniApp/pages/splash/index.uvue new file mode 100644 index 0000000..6821d75 --- /dev/null +++ b/UniApp/pages/splash/index.uvue @@ -0,0 +1,52 @@ + + + + + + + diff --git a/UniApp/static/auth/Applle-Icon.svg b/UniApp/static/auth/Applle-Icon.svg new file mode 100644 index 0000000..8142771 --- /dev/null +++ b/UniApp/static/auth/Applle-Icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/auth/QQ-Icon.svg b/UniApp/static/auth/QQ-Icon.svg new file mode 100644 index 0000000..da53569 --- /dev/null +++ b/UniApp/static/auth/QQ-Icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/UniApp/static/auth/QQ.jpg b/UniApp/static/auth/QQ.jpg new file mode 100644 index 0000000..c055d74 Binary files /dev/null and b/UniApp/static/auth/QQ.jpg differ diff --git a/UniApp/static/auth/README.md b/UniApp/static/auth/README.md new file mode 100644 index 0000000..849ad55 --- /dev/null +++ b/UniApp/static/auth/README.md @@ -0,0 +1,7 @@ +Reserved auth/login assets (copy your images here): +- login_bg.png +- login_illustration.png +- icon_eye_on.png +- icon_eye_off.png + + diff --git a/UniApp/static/auth/WeChat-Icon.svg b/UniApp/static/auth/WeChat-Icon.svg new file mode 100644 index 0000000..ff46785 --- /dev/null +++ b/UniApp/static/auth/WeChat-Icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/auth/WeChat.jpg b/UniApp/static/auth/WeChat.jpg new file mode 100644 index 0000000..406b7a4 Binary files /dev/null and b/UniApp/static/auth/WeChat.jpg differ diff --git a/UniApp/static/auth/auth-code.svg b/UniApp/static/auth/auth-code.svg new file mode 100644 index 0000000..da7e659 --- /dev/null +++ b/UniApp/static/auth/auth-code.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/auth/login.jpg b/UniApp/static/auth/login.jpg new file mode 100644 index 0000000..92df531 Binary files /dev/null and b/UniApp/static/auth/login.jpg differ diff --git a/UniApp/static/auth/login.svg b/UniApp/static/auth/login.svg new file mode 100644 index 0000000..d811616 --- /dev/null +++ b/UniApp/static/auth/login.svg @@ -0,0 +1,150 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/UniApp/static/auth/phone.svg b/UniApp/static/auth/phone.svg new file mode 100644 index 0000000..6fc3c02 --- /dev/null +++ b/UniApp/static/auth/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/auth/secret-lock.svg b/UniApp/static/auth/secret-lock.svg new file mode 100644 index 0000000..5056c39 --- /dev/null +++ b/UniApp/static/auth/secret-lock.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/chat/chat.svg b/UniApp/static/chat/chat.svg new file mode 100644 index 0000000..37eaa71 --- /dev/null +++ b/UniApp/static/chat/chat.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/UniApp/static/common/README.md b/UniApp/static/common/README.md new file mode 100644 index 0000000..f78ddf5 --- /dev/null +++ b/UniApp/static/common/README.md @@ -0,0 +1,7 @@ +Reserved common assets (copy your images here with the exact names): +- logo.png (already present, replace if needed) +- icon_back.png +- icon_close.png +- icon_bluetooth.png + + diff --git a/UniApp/static/courseoflife/courseoflife.svg b/UniApp/static/courseoflife/courseoflife.svg new file mode 100644 index 0000000..c4401d9 --- /dev/null +++ b/UniApp/static/courseoflife/courseoflife.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UniApp/static/devices/BlueTooth.svg b/UniApp/static/devices/BlueTooth.svg new file mode 100644 index 0000000..d1d03b7 --- /dev/null +++ b/UniApp/static/devices/BlueTooth.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/UniApp/static/devices/DeviceConnect.jpg b/UniApp/static/devices/DeviceConnect.jpg new file mode 100644 index 0000000..3ac69ce Binary files /dev/null and b/UniApp/static/devices/DeviceConnect.jpg differ diff --git a/UniApp/static/devices/DeviceConnect.svg b/UniApp/static/devices/DeviceConnect.svg new file mode 100644 index 0000000..18b671d --- /dev/null +++ b/UniApp/static/devices/DeviceConnect.svg @@ -0,0 +1,36 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/UniApp/static/devices/README.md b/UniApp/static/devices/README.md new file mode 100644 index 0000000..fc8f5bc --- /dev/null +++ b/UniApp/static/devices/README.md @@ -0,0 +1,8 @@ +Reserved device assets (copy your images here): +- device_placeholder.png +- bluetooth_on.png +- bluetooth_off.png +- search_illustration.png +- device_connected.png + + diff --git a/UniApp/static/home/README.md b/UniApp/static/home/README.md new file mode 100644 index 0000000..af61d05 --- /dev/null +++ b/UniApp/static/home/README.md @@ -0,0 +1,9 @@ +Reserved home assets (copy your images here): +- banner.png +- tab_home.png +- tab_home_active.png +- tab_profile.png +- tab_profile_active.png +- icon_settings.png + + diff --git a/UniApp/static/home/backspace.svg b/UniApp/static/home/backspace.svg new file mode 100644 index 0000000..d2e68bf --- /dev/null +++ b/UniApp/static/home/backspace.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/book-no-active.svg b/UniApp/static/home/book-no-active.svg new file mode 100644 index 0000000..58a03dc --- /dev/null +++ b/UniApp/static/home/book-no-active.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/UniApp/static/home/chat-icon.svg b/UniApp/static/home/chat-icon.svg new file mode 100644 index 0000000..3fee18f --- /dev/null +++ b/UniApp/static/home/chat-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/clock.svg b/UniApp/static/home/clock.svg new file mode 100644 index 0000000..e7e6f5a --- /dev/null +++ b/UniApp/static/home/clock.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/close-icon.svg b/UniApp/static/home/close-icon.svg new file mode 100644 index 0000000..9d49332 --- /dev/null +++ b/UniApp/static/home/close-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/comment.svg b/UniApp/static/home/comment.svg new file mode 100644 index 0000000..08c1c32 --- /dev/null +++ b/UniApp/static/home/comment.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/crystall-ball.svg b/UniApp/static/home/crystall-ball.svg new file mode 100644 index 0000000..fa44717 --- /dev/null +++ b/UniApp/static/home/crystall-ball.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UniApp/static/home/edit-icon.svg b/UniApp/static/home/edit-icon.svg new file mode 100644 index 0000000..34abdb1 --- /dev/null +++ b/UniApp/static/home/edit-icon.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/UniApp/static/home/edit.svg b/UniApp/static/home/edit.svg new file mode 100644 index 0000000..e5d1194 --- /dev/null +++ b/UniApp/static/home/edit.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/heart.svg b/UniApp/static/home/heart.svg new file mode 100644 index 0000000..d8725fd --- /dev/null +++ b/UniApp/static/home/heart.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/UniApp/static/home/home.jpg b/UniApp/static/home/home.jpg new file mode 100644 index 0000000..92df531 Binary files /dev/null and b/UniApp/static/home/home.jpg differ diff --git a/UniApp/static/home/home.svg b/UniApp/static/home/home.svg new file mode 100644 index 0000000..c770469 --- /dev/null +++ b/UniApp/static/home/home.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/UniApp/static/home/kaikai-profile.svg b/UniApp/static/home/kaikai-profile.svg new file mode 100644 index 0000000..3a343a8 --- /dev/null +++ b/UniApp/static/home/kaikai-profile.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/UniApp/static/home/logo.svg b/UniApp/static/home/logo.svg new file mode 100644 index 0000000..6413220 --- /dev/null +++ b/UniApp/static/home/logo.svg @@ -0,0 +1,10 @@ + +
+ + + + + + + +
diff --git a/UniApp/static/home/menu.svg b/UniApp/static/home/menu.svg new file mode 100644 index 0000000..da8793a --- /dev/null +++ b/UniApp/static/home/menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/UniApp/static/home/people.svg b/UniApp/static/home/people.svg new file mode 100644 index 0000000..44f6ed1 --- /dev/null +++ b/UniApp/static/home/people.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/publish.svg b/UniApp/static/home/publish.svg new file mode 100644 index 0000000..176206d --- /dev/null +++ b/UniApp/static/home/publish.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/UniApp/static/home/record.svg b/UniApp/static/home/record.svg new file mode 100644 index 0000000..7ffca2f --- /dev/null +++ b/UniApp/static/home/record.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/send-icon.svg b/UniApp/static/home/send-icon.svg new file mode 100644 index 0000000..9a10cfa --- /dev/null +++ b/UniApp/static/home/send-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/UniApp/static/home/smile-icon.svg b/UniApp/static/home/smile-icon.svg new file mode 100644 index 0000000..0cc390a --- /dev/null +++ b/UniApp/static/home/smile-icon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UniApp/static/home/star-icon.svg b/UniApp/static/home/star-icon.svg new file mode 100644 index 0000000..0107b84 --- /dev/null +++ b/UniApp/static/home/star-icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/star-no-active.svg b/UniApp/static/home/star-no-active.svg new file mode 100644 index 0000000..5823dfd --- /dev/null +++ b/UniApp/static/home/star-no-active.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/star.svg b/UniApp/static/home/star.svg new file mode 100644 index 0000000..e828fe5 --- /dev/null +++ b/UniApp/static/home/star.svg @@ -0,0 +1,4 @@ + + + + diff --git a/UniApp/static/home/voice-icon.svg b/UniApp/static/home/voice-icon.svg new file mode 100644 index 0000000..96015cd --- /dev/null +++ b/UniApp/static/home/voice-icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/UniApp/static/logo.png b/UniApp/static/logo.png new file mode 100644 index 0000000..b5771e2 Binary files /dev/null and b/UniApp/static/logo.png differ diff --git a/UniApp/static/record/female-profile.svg b/UniApp/static/record/female-profile.svg new file mode 100644 index 0000000..f0bf753 --- /dev/null +++ b/UniApp/static/record/female-profile.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/UniApp/static/splash/README.md b/UniApp/static/splash/README.md new file mode 100644 index 0000000..c9f5e14 --- /dev/null +++ b/UniApp/static/splash/README.md @@ -0,0 +1,6 @@ +Reserved splash assets (copy your images here): +- background.png +- logo_lockup.png +- loading_spinner.png + + diff --git a/UniApp/static/welcome/welcome.svg b/UniApp/static/welcome/welcome.svg new file mode 100644 index 0000000..092a1f6 --- /dev/null +++ b/UniApp/static/welcome/welcome.svg @@ -0,0 +1,48 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
diff --git a/UniApp/uni.scss b/UniApp/uni.scss new file mode 100644 index 0000000..b9249e9 --- /dev/null +++ b/UniApp/uni.scss @@ -0,0 +1,76 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ + +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ + +/* 颜色变量 */ + +/* 行为相关颜色 */ +$uni-color-primary: #007aff; +$uni-color-success: #4cd964; +$uni-color-warning: #f0ad4e; +$uni-color-error: #dd524d; + +/* 文字基本颜色 */ +$uni-text-color:#333;//基本色 +$uni-text-color-inverse:#fff;//反色 +$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 +$uni-text-color-placeholder: #808080; +$uni-text-color-disable:#c0c0c0; + +/* 背景颜色 */ +$uni-bg-color:#ffffff; +$uni-bg-color-grey:#f8f8f8; +$uni-bg-color-hover:#f1f1f1;//点击状态颜色 +$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 + +/* 边框颜色 */ +$uni-border-color:#c8c7cc; + +/* 尺寸变量 */ + +/* 文字尺寸 */ +$uni-font-size-sm:12px; +$uni-font-size-base:14px; +$uni-font-size-lg:16px; + +/* 图片尺寸 */ +$uni-img-size-sm:20px; +$uni-img-size-base:26px; +$uni-img-size-lg:40px; + +/* Border Radius */ +$uni-border-radius-sm: 2px; +$uni-border-radius-base: 3px; +$uni-border-radius-lg: 6px; +$uni-border-radius-circle: 50%; + +/* 水平间距 */ +$uni-spacing-row-sm: 5px; +$uni-spacing-row-base: 10px; +$uni-spacing-row-lg: 15px; + +/* 垂直间距 */ +$uni-spacing-col-sm: 4px; +$uni-spacing-col-base: 8px; +$uni-spacing-col-lg: 12px; + +/* 透明度 */ +$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 + +/* 文章场景相关 */ +$uni-color-title: #2C405A; // 文章标题颜色 +$uni-font-size-title:20px; +$uni-color-subtitle: #555555; // 二级标题颜色 +$uni-font-size-subtitle:26px; +$uni-color-paragraph: #3F536E; // 文章段落颜色 +$uni-font-size-paragraph:15px; diff --git a/start-admin.bat b/start-admin.bat new file mode 100644 index 0000000..6fdf505 --- /dev/null +++ b/start-admin.bat @@ -0,0 +1,2 @@ +@echo off +start /b "xxl-job-admin" java -jar F:\ProgramData\xxl-job\xxl-job-admin\target\xxl-job-admin-3.1.2-SNAPSHOT.jar --server.port=18996 --spring.datasource.url="jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai" --spring.datasource.username=root --spring.datasource.password=123456 \ No newline at end of file