静态图

This commit is contained in:
ChuXun
2026-01-29 01:04:08 +08:00
parent 02a830145e
commit 2ec68c672e
17 changed files with 37 additions and 120 deletions

View File

@@ -0,0 +1,5 @@
target
.idea
.vscode
.git
*.iml

24
ems-backend/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM maven:3.9.9-eclipse-temurin-17 AS build
WORKDIR /workspace
COPY pom.xml .
COPY mvnw .
COPY .mvn .mvn
RUN chmod +x mvnw && sed -i 's/\r$//' mvnw
COPY src src
RUN ./mvnw -DskipTests package
FROM eclipse-temurin:17-jre-alpine
WORKDIR /app
ENV JAVA_OPTS=""
COPY --from=build /workspace/target/ems-backend-0.0.1-SNAPSHOT.jar /app/app.jar
COPY json-db /app/json-db
COPY uploads /app/uploads
EXPOSE 8080
VOLUME ["/app/json-db", "/app/uploads"]
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /app/app.jar"]

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="com.codeverse.userSettings.MarscodeWorkspaceAppSettingsState">
<option name="ckgOperationStatus" value="SUCCESS" />
<option name="progress" value="0.8795181" />
</component>
</project>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_24" default="true" project-jdk-name="24" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

View File

@@ -1,78 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="17e838e2-c808-459f-9804-3ff048b3ba04" name="更改" comment="">
<change beforePath="$PROJECT_DIR$/../.cursor/rules/css.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/document copy.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/document.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/frontend-rules.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/general copy.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/general.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/git copy.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/git.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/gitflow copy.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/gitflow.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/java.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/myproject.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/springboot.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/toolcalling.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/typescript.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.cursor/rules/vuejs.mdc" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/../.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../.idea/dataSources.local.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../ems-backend/API测试文档.md" beforeDir="false" afterPath="$PROJECT_DIR$/../ems-backend/API测试文档.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../ems-backend/src/main/java/com/dne/ems/EmsBackendApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/../ems-backend/src/main/java/com/dne/ems/EmsBackendApplication.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../ems-backend/业务流程.md" beforeDir="false" afterPath="$PROJECT_DIR$/../ems-backend/业务流程.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../path.txt" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="ProjectColorInfo">{
&quot;customColor&quot;: &quot;&quot;,
&quot;associatedIndex&quot;: 0
}</component>
<component name="ProjectId" id="2ynQ1bCeWIlwadCh2M20tUsV9aI" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ModuleVcsDetector.initialDetectionPerformed": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "master",
"last_opened_file_path": "D:/Work/TTC/FY25/ems/emsfinally/ems-frontend",
"nodejs_package_manager_path": "npm",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-jdk-9823dce3aa75-fbdcb00ec9e3-intellij.indexing.shared.core-IU-251.26094.121" />
<option value="bundled-js-predefined-d6986cc7102b-b26f3e71634d-JavaScript-IU-251.26094.121" />
</set>
</attachedChunks>
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="默认任务">
<changelist id="17e838e2-c808-459f-9804-3ff048b3ba04" name="更改" comment="" />
<created>1750467647840</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1750467647840</updated>
<workItem from="1750467650135" duration="12000" />
<workItem from="1750467846865" duration="61000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
</project>

View File

@@ -1,6 +0,0 @@
{
"recommendations": [
"Vue.volar",
"esbenp.prettier-vscode"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

View File

@@ -109,7 +109,7 @@ const handleSubmit = () => {
justify-content: center;
align-items: center;
height: 100vh;
background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
background-image: url('/forgot-password-bg.avif');
background-size: cover;
background-position: center;
}

View File

@@ -87,7 +87,7 @@ const handleGuestAccess = () => {
height: 100vh;
width: 100vw;
overflow: hidden; /* Prevent scrolling */
background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
background-image: url('/login-bg.avif');
background-size: cover;
background-position: center;
}

View File

@@ -181,7 +181,7 @@ const handleRegister = async () => {
width: 100vw;
overflow-y: auto; /* Allow scrolling only if card is too tall */
padding: 40px 0;
background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
background-image: url('/register-bg.avif');
background-size: cover;
background-position: center;
}

View File

@@ -160,7 +160,7 @@ const handleSubmit = () => {
justify-content: center;
align-items: center;
height: 100vh;
background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
background-image: url('/reset-password-bg.avif');
background-size: cover;
background-position: center;
}