Compare commits
17 Commits
main
...
feature/lx
Author | SHA1 | Date |
---|---|---|
|
0769663fe0 | 4 months ago |
|
45bf601850 | 4 months ago |
|
140a059809 | 4 months ago |
|
9d444f55a3 | 4 months ago |
|
218783f26b | 4 months ago |
|
13dc7dd1dd | 4 months ago |
|
1b4bcabe3b | 4 months ago |
|
9ce60a01cd | 4 months ago |
|
71486f2cd1 | 4 months ago |
|
523642ab49 | 4 months ago |
|
08d6fbefb1 | 4 months ago |
|
28aa8019ed | 4 months ago |
|
52f52c9b04 | 4 months ago |
|
fcf4d7984a | 4 months ago |
|
94e6719942 | 5 months ago |
|
0fe04dc92a | 5 months ago |
|
b4a34f3397 | 5 months ago |
@ -1,18 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 定义XML文档的版本和编码 -->
|
||||
<project version="4">
|
||||
<!-- 定义项目版本 -->
|
||||
<component name="CompilerConfiguration">
|
||||
<!-- 定义编译器配置 -->
|
||||
<annotationProcessing>
|
||||
<!-- 定义注解处理 -->
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<!-- 定义Maven默认注解处理器配置 -->
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<!-- 定义源代码输出目录 -->
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<!-- 定义测试代码输出目录 -->
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<!-- 定义输出目录相对于内容根目录 -->
|
||||
<module name="exam" />
|
||||
<!-- 定义模块名称 -->
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
<component name="JavacSettings">
|
||||
<!-- 定义Javac设置 -->
|
||||
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||
<!-- 定义附加选项覆盖 -->
|
||||
<module name="exam" options="-parameters" />
|
||||
<!-- 定义模块名称和选项 -->
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 定义XML文档的版本和编码 -->
|
||||
<project version="4">
|
||||
<!-- 定义项目版本 -->
|
||||
<component name="Encoding">
|
||||
<!-- 定义组件名称 -->
|
||||
<file url="file://$PROJECT_DIR$/backend/src/main/java" charset="UTF-8" />
|
||||
<!-- 定义文件路径和字符编码 -->
|
||||
</component>
|
||||
</project>
|
@ -1,6 +1,68 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliArrayNamingShouldHaveBracket" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliEqualsAvoidNull" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidCallStaticSimpleDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidCommentBehindStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidComplexCondition" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidConcurrentCompetitionRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidDoubleOrFloatEqualCompare" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidManuallyCreateThread" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidMissUseOfMathRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidNegationOperator" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidNewDateGetTime" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidPatternCompileInMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidReturnInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidStartWithDollarAndUnderLineNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaAvoidUseTimer" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaBigDecimalAvoidDoubleConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaBooleanPropertyShouldNotStartWithIs" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassCastExceptionWithSubListToArrayList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassCastExceptionWithToArray" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassMustHaveAuthor" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaClassNamingShouldBeCamel" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCollectionInitShouldAssignCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCommentsMustBeJavadocFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaConcurrentExceptionWithModifyOriginSubList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaConstantFieldShouldBeUpperCase" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaCountDownShouldInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaDontModifyInForeachCircle" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaEnumConstantsMustHaveComment" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaExceptionClassShouldEndWithException" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaIbatisMethodQueryForList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaLockShouldWithTryFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaLowerCamelCaseVariableNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaMethodReturnWrapperType" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaMethodTooLong" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPackageNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoMustOverrideToString" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoMustUsePrimitiveField" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaPojoNoDefaultValue" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaRemoveCommentedCode" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaServiceOrDaoClassShouldEndWithImpl" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSneakyThrowsWithoutExceptionType" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaStringConcat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSwitchExpression" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaTestClassShouldEndWithTestNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadLocalShouldRemove" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadPoolCreation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaThreadShouldSetName" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaTransactionMustHaveRollback" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUndefineMagicConstant" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUnsupportedExceptionWithModifyAsList" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUseQuietReferenceNotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="AlibabaUseRightCaseForDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||
</profile>
|
||||
|
@ -1,19 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 定义项目版本 -->
|
||||
<project version="4">
|
||||
<!-- 定义远程仓库配置 -->
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<!-- 定义第一个远程仓库 -->
|
||||
<remote-repository>
|
||||
<!-- 定义远程仓库ID -->
|
||||
<option name="id" value="central" />
|
||||
<!-- 定义远程仓库名称 -->
|
||||
<option name="name" value="Central Repository" />
|
||||
<!-- 定义远程仓库URL -->
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<!-- 定义第二个远程仓库 -->
|
||||
<remote-repository>
|
||||
<!-- 定义远程仓库ID -->
|
||||
<option name="id" value="central" />
|
||||
<!-- 定义远程仓库名称 -->
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<!-- 定义远程仓库URL -->
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<!-- 定义第三个远程仓库 -->
|
||||
<remote-repository>
|
||||
<!-- 定义远程仓库ID -->
|
||||
<option name="id" value="jboss.community" />
|
||||
<!-- 定义远程仓库名称 -->
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<!-- 定义远程仓库URL -->
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
|
@ -1,14 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 项目版本 -->
|
||||
<project version="4">
|
||||
<!-- 外部存储配置管理器 -->
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<!-- Maven项目管理器 -->
|
||||
<component name="MavenProjectsManager">
|
||||
<!-- 原始文件列表 -->
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<!-- 后端项目的pom.xml文件 -->
|
||||
<option value="$PROJECT_DIR$/backend/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<!-- 项目根管理器 -->
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8 (2)" project-jdk-type="JavaSDK">
|
||||
<!-- 输出目录 -->
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -1,8 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 定义XML文档的版本和编码 -->
|
||||
<project version="4">
|
||||
<!-- 定义项目的版本 -->
|
||||
<component name="ProjectModuleManager">
|
||||
<!-- 定义项目的模块管理器 -->
|
||||
<modules>
|
||||
<!-- 定义项目的模块 -->
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/spring-boot-online-exam-master.iml" filepath="$PROJECT_DIR$/.idea/spring-boot-online-exam-master.iml" />
|
||||
<!-- 定义项目的模块文件路径 -->
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
</project>
|
||||
<!-- 定义项目的根元素 -->
|
@ -1,123 +1,200 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<!-- 定义项目版本 -->
|
||||
<component name="Palette2">
|
||||
<!-- 定义调色板组件 -->
|
||||
<group name="Swing">
|
||||
<!-- 定义Swing组件组 -->
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义水平间距组件 -->
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义垂直间距组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义面板组件 -->
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<!-- 定义滚动面板组件 -->
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义按钮组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
<initial-values>
|
||||
<!-- 定义初始值 -->
|
||||
<property name="text" value="Button" />
|
||||
<!-- 定义按钮文本 -->
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义单选按钮组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<!-- 定义默认约束 -->
|
||||
<initial-values>
|
||||
<!-- 定义初始值 -->
|
||||
<property name="text" value="RadioButton" />
|
||||
<!-- 定义单选按钮文本 -->
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义复选框组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<!-- 定义默认约束 -->
|
||||
<initial-values>
|
||||
<!-- 定义初始值 -->
|
||||
<property name="text" value="CheckBox" />
|
||||
<!-- 定义复选框文本 -->
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义标签组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<!-- 定义默认约束 -->
|
||||
<initial-values>
|
||||
<!-- 定义初始值 -->
|
||||
<property name="text" value="Label" />
|
||||
<!-- 定义标签文本 -->
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义文本框组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="-1" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义密码框组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="-1" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义格式化文本框组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="-1" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义文本区域组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义文本面板组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义编辑面板组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义组合框组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义表格组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义列表组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义树组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="150" height="50" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义选项卡面板组件 -->
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="200" height="200" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义分割面板组件 -->
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="200" height="200" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<!-- 定义微调器组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义滑块组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义分隔符组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义进度条组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义工具栏组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<!-- 定义默认约束 -->
|
||||
<preferred-size width="-1" height="20" />
|
||||
<!-- 定义首选大小 -->
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<!-- 定义工具栏分隔符组件 -->
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<!-- 定义滚动条组件 -->
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
<!-- 定义默认约束 -->
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,13 @@
|
||||
# 定义语言为node_js
|
||||
language: node_js
|
||||
# 定义node_js版本为10.15.0
|
||||
node_js:
|
||||
- 10.15.0
|
||||
# 缓存yarn
|
||||
cache: yarn
|
||||
# 定义脚本
|
||||
script:
|
||||
# 运行yarn
|
||||
- yarn
|
||||
- yarn run lint --no-fix && yarn run build
|
||||
# 运行yarn run lint --no-fix && yarn run build
|
||||
- yarn run lint --no-fix && yarn run build
|
@ -1,23 +1,34 @@
|
||||
// 导出配置文件
|
||||
module.exports = {
|
||||
// 模块文件扩展名
|
||||
moduleFileExtensions: [
|
||||
'js',
|
||||
'jsx',
|
||||
'json',
|
||||
'vue'
|
||||
],
|
||||
// 转换规则
|
||||
transform: {
|
||||
// 将.vue文件转换为jest可识别的格式
|
||||
'^.+\\.vue$': 'vue-jest',
|
||||
// 将.css、.styl、.less、.sass、.scss、.svg、.png、.jpg、.ttf、.woff、.woff2文件转换为stub
|
||||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
||||
// 将.jsx、.js文件转换为babel可识别的格式
|
||||
'^.+\\.jsx?$': 'babel-jest'
|
||||
},
|
||||
// 模块名称映射
|
||||
moduleNameMapper: {
|
||||
// 将../替换为<rootDir>/src/
|
||||
'^../(.*)$': '<rootDir>/src/$1'
|
||||
},
|
||||
// 快照序列化器
|
||||
snapshotSerializers: [
|
||||
'jest-serializer-vue'
|
||||
],
|
||||
// 测试匹配规则
|
||||
testMatch: [
|
||||
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
|
||||
],
|
||||
// 测试URL
|
||||
testURL: 'http://localhost/'
|
||||
}
|
||||
}
|
@ -1,52 +1 @@
|
||||
#preloadingAnimation{
|
||||
position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;
|
||||
z-index: 9999;overflow: hidden}
|
||||
.lds-roller{
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);
|
||||
width:64px;
|
||||
height:64px;
|
||||
}
|
||||
.lds-roller div{
|
||||
animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;
|
||||
transform-origin:32px 32px;
|
||||
}
|
||||
.lds-roller div:after{
|
||||
content:" ";
|
||||
display:block;
|
||||
position:absolute;
|
||||
width:6px;
|
||||
height:6px;
|
||||
border-radius:50%;
|
||||
background:#13c2c2;
|
||||
margin:-3px 0 0 -3px;
|
||||
}
|
||||
.lds-roller div:nth-child(1){animation-delay:-0.036s;}
|
||||
.lds-roller div:nth-child(1):after{top:50px;left:50px;}
|
||||
.lds-roller div:nth-child(2){animation-delay:-0.072s;}
|
||||
.lds-roller div:nth-child(2):after{top:54px;left:45px;}
|
||||
.lds-roller div:nth-child(3){animation-delay:-0.108s;}
|
||||
.lds-roller div:nth-child(3):after{top:57px;left:39px;}
|
||||
.lds-roller div:nth-child(4){animation-delay:-0.144s;}
|
||||
.lds-roller div:nth-child(4):after{top:58px;left:32px;}
|
||||
.lds-roller div:nth-child(5){animation-delay:-0.18s;}
|
||||
.lds-roller div:nth-child(5):after{top:57px;left:25px;}
|
||||
.lds-roller div:nth-child(6){animation-delay:-0.216s;}
|
||||
.lds-roller div:nth-child(6):after{top:54px;left:19px;}
|
||||
.lds-roller div:nth-child(7){animation-delay:-0.252s;}
|
||||
.lds-roller div:nth-child(7):after{top:50px;left:14px;}
|
||||
.lds-roller div:nth-child(8){animation-delay:-0.288s;}
|
||||
.lds-roller div:nth-child(8):after{top:45px;left:10px;}
|
||||
#preloadingAnimation .load-tips{
|
||||
color: #13c2c2;
|
||||
font-size:2rem;
|
||||
position:absolute;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);margin-top:80px;
|
||||
text-align:center;width:400px;height:64px;}
|
||||
@keyframes lds-roller{0%{transform:rotate(0deg);}
|
||||
100%{transform:rotate(360deg);}}
|
||||
#preloadingAnimation{position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;z-index: 9999;overflow: hidden}.lds-roller{display:inline-block;position:relative;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;}.lds-roller div{animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;transform-origin:32px 32px;}.lds-roller div:after{content:" ";display:block;position:absolute;width:6px;height:6px;border-radius:50%;background:#13c2c2;margin:-3px 0 0 -3px;}.lds-roller div:nth-child(1){animation-delay:-0.036s;}.lds-roller div:nth-child(1):after{top:50px;left:50px;}.lds-roller div:nth-child(2){animation-delay:-0.072s;}.lds-roller div:nth-child(2):after{top:54px;left:45px;}.lds-roller div:nth-child(3){animation-delay:-0.108s;}.lds-roller div:nth-child(3):after{top:57px;left:39px;}.lds-roller div:nth-child(4){animation-delay:-0.144s;}.lds-roller div:nth-child(4):after{top:58px;left:32px;}.lds-roller div:nth-child(5){animation-delay:-0.18s;}.lds-roller div:nth-child(5):after{top:57px;left:25px;}.lds-roller div:nth-child(6){animation-delay:-0.216s;}.lds-roller div:nth-child(6):after{top:54px;left:19px;}.lds-roller div:nth-child(7){animation-delay:-0.252s;}.lds-roller div:nth-child(7):after{top:50px;left:14px;}.lds-roller div:nth-child(8){animation-delay:-0.288s;}.lds-roller div:nth-child(8):after{top:45px;left:10px;}#preloadingAnimation .load-tips{color: #13c2c2;font-size:2rem;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin-top:80px;text-align:center;width:400px;height:64px;} @keyframes lds-roller{0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);}}
|
@ -1,27 +1 @@
|
||||
<div id="preloadingAnimation"><div class=lds-roller><div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class=load-tips>Loading</div>
|
||||
</div>
|
||||
<div id="preloadingAnimation"><div class=lds-roller><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><div class=load-tips>Loading</div></div>
|
@ -1,31 +1,5 @@
|
||||
/**
|
||||
* 预加载动画
|
||||
*/
|
||||
<div class="preloading-animate">
|
||||
<!--预加载的包装容器 -->
|
||||
<div class="preloading-wrapper">
|
||||
<svg class="preloading-balls"
|
||||
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
||||
<circle cx="67.802" cy="59.907" r="6" fill="#51CACC">
|
||||
<animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
<circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77">
|
||||
<animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
<circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
<animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/>
|
||||
</circle>
|
||||
</svg>
|
||||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
</div>
|
||||
</div>
|
@ -1,20 +1 @@
|
||||
.preloading-animate{
|
||||
background:#ffffff;
|
||||
width:100%;
|
||||
height:100%;
|
||||
position:fixed;
|
||||
left:0;
|
||||
top:0;
|
||||
z-index:299;
|
||||
}
|
||||
.preloading-animate .preloading-wrapper{
|
||||
position:absolute;
|
||||
width:5rem;
|
||||
height:5rem;
|
||||
left:50%;
|
||||
top:50%;
|
||||
transform:translate(-50%,-50%);
|
||||
}
|
||||
.preloading-animate .preloading-wrapper .preloading-balls{
|
||||
font-size:5rem;
|
||||
}
|
||||
.preloading-animate{background:#ffffff;width:100%;height:100%;position:fixed;left:0;top:0;z-index:299;}.preloading-animate .preloading-wrapper{position:absolute;width:5rem;height:5rem;left:50%;top:50%;transform:translate(-50%,-50%);}.preloading-animate .preloading-wrapper .preloading-balls{font-size:5rem;}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue