xerga 1 жил өмнө
parent
commit
8ec86c0a5b

+ 1 - 0
02_JavaWeb/.idea/modules.xml

@@ -11,6 +11,7 @@
       <module fileurl="file://$PROJECT_DIR$/day10_html1.iml" filepath="$PROJECT_DIR$/day10_html1.iml" />
       <module fileurl="file://$PROJECT_DIR$/day11.iml" filepath="$PROJECT_DIR$/day11.iml" />
       <module fileurl="file://$PROJECT_DIR$/day11_html.iml" filepath="$PROJECT_DIR$/day11_html.iml" />
+      <module fileurl="file://$PROJECT_DIR$/day12_html_css.iml" filepath="$PROJECT_DIR$/day12_html_css.iml" />
     </modules>
   </component>
 </project>

+ 9 - 42
02_JavaWeb/.idea/workspace.xml

@@ -5,49 +5,13 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="7222eceb-2db8-407d-9241-ba20a077e1a3" name="Changes" comment="">
-      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day08_mybatis/src/main/java/com/lc/mapper/DeptMapper.java" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day08_mybatis/src/main/java/com/lc/pojo/Dept.java" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day08_mybatis/src/main/resources/com/lc/mapper/DeptMapper.xml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11.iml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html.iml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test01.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test02.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test03_图音频视频.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test04_连接.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test05列表.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test06表格.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/Test07布局.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/login.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/html/register.html" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/imgs/a.jpg" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/imgs/b.mp3" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/imgs/c.mp4" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_html/imgs/code.bmp" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/day11_mybatis/src/main/resources/ehcache.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="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/dataSources.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/5a575eb0-1ac8-47ae-ba56-6da728c47f4d.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources/5a575eb0-1ac8-47ae-ba56-6da728c47f4d.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87.xml" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/information_schema.FNRwLQ.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/information_schema.FNRwLQ.zip" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/mysql.osA4Bg.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/performance_schema.kIw0nw.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/sys.zb4BAA.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/sys.zb4BAA.zip" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/day12_html_css.iml" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/day12_html_css/html/TestCss.html" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/day12_html_css/html/TestForm.html" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/day12_html_css/html/TestItem.html" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/day04_maven_jdbc/src/main/java/com/lc/pojo/Dept.java" beforeDir="false" afterPath="$PROJECT_DIR$/day04_maven_jdbc/src/main/java/com/lc/pojo/Dept.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/day06_mybatis/src/main/java/com/lc/pojo/User.java" beforeDir="false" afterPath="$PROJECT_DIR$/day06_mybatis/src/main/java/com/lc/pojo/User.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/day06_mybatis/target/classes/com/lc/pojo/User.class" beforeDir="false" afterPath="$PROJECT_DIR$/day06_mybatis/target/classes/com/lc/pojo/User.class" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/day07_mybatis/src/test/java/TestMybatis01.java" beforeDir="false" afterPath="$PROJECT_DIR$/day07_mybatis/src/test/java/TestMybatis01.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/day07_mybatis/target/test-classes/TestMybatis01.class" beforeDir="false" afterPath="$PROJECT_DIR$/day07_mybatis/target/test-classes/TestMybatis01.class" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/../maven_test/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../maven_test/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../maven_test/src/main/resources/mapper/DeptMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../maven_test/src/main/resources/mapper/DeptMapper.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../maven_test/src/test/java/com/lc/mybatis/TestMybatis01.java" beforeDir="false" afterPath="$PROJECT_DIR$/../maven_test/src/test/java/com/lc/mybatis/TestMybatis01.java" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -94,7 +58,7 @@
     "SHARE_PROJECT_CONFIGURATION_FILES": "true",
     "WebServerToolWindowFactoryState": "false",
     "jdk.selected.JAVA_MODULE": "17",
-    "last_opened_file_path": "C:/LoveCoding/VIP-27/code/02_JavaWeb/day11_html/imgs",
+    "last_opened_file_path": "C:/LoveCoding/VIP-27/code/02_JavaWeb/day12_html_css/html",
     "node.js.detected.package.eslint": "true",
     "node.js.detected.package.tslint": "true",
     "node.js.selected.package.eslint": "(autodetect)",
@@ -103,7 +67,7 @@
     "project.structure.last.edited": "Modules",
     "project.structure.proportion": "0.15",
     "project.structure.side.proportion": "0.2908046",
-    "settings.editor.selected.configurable": "preferences.pluginManager",
+    "settings.editor.selected.configurable": "editor.preferences.fonts.default",
     "vue.rearranger.settings.migration": "true"
   },
   "keyToStringList": {
@@ -119,6 +83,7 @@
 }]]></component>
   <component name="RecentsManager">
     <key name="CopyFile.RECENT_KEYS">
+      <recent name="C:\LoveCoding\VIP-27\code\02_JavaWeb\day12_html_css\html" />
       <recent name="C:\LoveCoding\VIP-27\code\02_JavaWeb\day11_html\imgs" />
       <recent name="C:\LoveCoding\VIP-27\code\02_JavaWeb\day11_html\html" />
       <recent name="C:\LoveCoding\VIP-27\code\02_JavaWeb\day11" />
@@ -219,6 +184,8 @@
       <workItem from="1695258050207" duration="5956000" />
       <workItem from="1695267608977" duration="1099000" />
       <workItem from="1695431222331" duration="15300000" />
+      <workItem from="1695516934429" duration="32000" />
+      <workItem from="1695810454603" duration="3603000" />
     </task>
     <servers />
   </component>

+ 8 - 0
02_JavaWeb/day12_html_css.iml

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

+ 46 - 0
02_JavaWeb/day12_html_css/html/TestCss.html

@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>Title</title>
+</head>
+<style>
+
+  /*
+    选择器: 选中元素
+      元素选择 标签 h1{}
+
+      class 选择器 选择多个
+
+      id 选择器 #
+   */
+  h1 {
+    color: red; font-size: 12px;
+  }
+
+  .p1{
+    text-align: center;
+    color: yellow;
+    font-size: 16px;
+  }
+
+  #p2{
+    font-size: 16px;
+  }
+
+</style>
+<body>
+
+
+  <h1>你好 css</h1>
+
+  <p class="p1">你好 css1</p>
+  <p class="p1">你好 css2</p>
+  <p class="p1">你好 css3</p>
+  <p class="p1">你好 css4</p>
+
+  <p id="p2" >你好 css5</p>
+
+
+</body>
+</html>

+ 34 - 0
02_JavaWeb/day12_html_css/html/TestForm.html

@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>Title</title>
+</head>
+<body>
+    <!--
+        form 表单
+            action 数据提交地址 # 当前页面
+            method 请求方式
+                post
+                    负载中携带  username: 654321
+                get
+                    地址栏中显示?username=123456
+            数据 用input框携带
+
+            <input type="text"  > 输入框
+                name="username"  提交的属性存在name属性值中 username 是key 传入的值 就是 value
+
+                http://localhost:63342/02_JavaWeb/02_JavaWeb/day12_html_css/html/abc?username=123456
+
+                参数
+                username=123456  可以根据 username 获取 123456
+
+
+     -->
+    <form method="post"  action="abc" >
+        用户名 <input type="text" name="username" placeholder="请输入用户名"  >
+        <br>
+        <input type="submit" value="提交" >
+    </form>
+</body>
+</html>

+ 58 - 0
02_JavaWeb/day12_html_css/html/TestItem.html

@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>Title</title>
+</head>
+<body>
+    <!--
+        input
+            type 的值
+                text 文本
+                password 密码
+                number 数字
+
+                单选按钮  radio 默认值 checked
+            value 显示值
+        select
+            option selected
+
+
+     -->
+    <form method="post"  action="abc" >
+        用户名: <input type="text" name="username" value="123456" placeholder="请输入用户名"  >
+        <br>
+        密码: <input type="password" name="password" placeholder="请输入密码"  >
+        <br>
+        年龄: <input type="number" name="age" placeholder="请输入数字"  >
+        <br>
+        性别: <input type="radio" checked name="sex" value="1"  > 男 <input type="radio" name="sex" value="0"  > 女
+        <br>
+        性别: <input type="checkbox" checked name="hobby" value="篮球"  > 篮球
+        <input type="checkbox"  name="hobby"  value="足球"  > 足球
+        <input type="checkbox"  name="hobby"  value="游戏"  > 游戏
+        <input type="checkbox"  name="hobby"  value="看电影"  > 看电影
+        <input type="checkbox"  name="hobby"  value="看动漫"  > 看动漫
+        <br>
+        学校:
+        <select name="school" >
+            <option selected  value="黑大" >黑大</option>
+            <option value="哈工大" >哈工大</option>
+            <option value="哈工程" >哈工程</option>
+            <option value="理工" >理工</option>
+            <option value="黑工程" >黑工程</option>
+        </select>
+        <br>
+        文本域:
+        <br>
+        <textarea name="desc" rows="5" cols="20" >
+
+        </textarea>
+        隐藏
+        <input type="hidden" name="id" value="1000001" >
+
+        <br>
+        <input type="submit" value="提交" >
+    </form>
+</body>
+</html>

+ 1 - 27
maven_test/.idea/workspace.xml

@@ -5,34 +5,7 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="c55ade25-e54d-48a0-93d9-70876a2596b5" name="Changes" comment="">
-      <change afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/uiDesigner.xml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/../02_JavaWeb/day08_mybatis/src/main/java/com/lc/mapper/DeptMapper.java" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/../02_JavaWeb/day08_mybatis/src/main/java/com/lc/pojo/Dept.java" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/../02_JavaWeb/day08_mybatis/src/main/resources/com/lc/mapper/DeptMapper.xml" afterDir="false" />
-      <change afterPath="$PROJECT_DIR$/../02_JavaWeb/day11.iml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/compiler.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources.local.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/5a575eb0-1ac8-47ae-ba56-6da728c47f4d.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/5a575eb0-1ac8-47ae-ba56-6da728c47f4d.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87.xml" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/information_schema.FNRwLQ.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/information_schema.FNRwLQ.zip" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/mysql.osA4Bg.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/performance_schema.kIw0nw.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/sys.zb4BAA.meta" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/dataSources/e1de3f07-12af-4996-b9a0-605a975b8b87/storage_v2/_src_/schema/sys.zb4BAA.zip" beforeDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/encodings.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/misc.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/modules.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/../02_JavaWeb/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/day04_maven_jdbc/src/main/java/com/lc/pojo/Dept.java" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/day04_maven_jdbc/src/main/java/com/lc/pojo/Dept.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/day06_mybatis/src/main/java/com/lc/pojo/User.java" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/day06_mybatis/src/main/java/com/lc/pojo/User.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/day06_mybatis/target/classes/com/lc/pojo/User.class" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/day06_mybatis/target/classes/com/lc/pojo/User.class" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/day07_mybatis/src/test/java/TestMybatis01.java" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/day07_mybatis/src/test/java/TestMybatis01.java" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../02_JavaWeb/day07_mybatis/target/test-classes/TestMybatis01.class" beforeDir="false" afterPath="$PROJECT_DIR$/../02_JavaWeb/day07_mybatis/target/test-classes/TestMybatis01.class" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/main/resources/mapper/DeptMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/mapper/DeptMapper.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/test/java/com/lc/mybatis/TestMybatis01.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/lc/mybatis/TestMybatis01.java" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -211,6 +184,7 @@
       <workItem from="1694835624911" duration="940000" />
       <workItem from="1695276976942" duration="2122000" />
       <workItem from="1695284663643" duration="715000" />
+      <workItem from="1695715398726" duration="36000" />
     </task>
     <servers />
   </component>