Browse Source

上传文件至 ''

18407941196 7 months ago
parent
commit
8ae890d4e7
5 changed files with 338 additions and 0 deletions
  1. 239 0
      22.html
  2. 2 0
      add.js
  3. 42 0
      index.html
  4. 41 0
      package-lock.json
  5. 14 0
      package.json

+ 239 - 0
22.html

@@ -0,0 +1,239 @@
+<html>
+
+<head>
+    <!--这是标题名字-->
+    <title>Mandy_davi</title>
+    
+    <!--这是标题图片-->
+    <link href="标题图片.png" rel="icon">
+    <style type="text/css">
+
+        /*图片*/
+        .one {
+            width: 100px;
+            height: 100px;
+            padding: 20px;
+            position: absolute;
+            top: 20px;
+            left: 10px;
+        }
+
+        /*文字*/
+        .two {
+            width: 400px;
+            height: 500px;
+            padding: 30px;
+            position: absolute;
+            top: 22%;
+            left: 15%;
+            color: aliceblue;
+        }
+
+        
+        .three {
+            font-size: 20px;
+            height: 65px;
+            color:#3f87a6;
+        }
+
+        .fourth {
+            font-size: 27px;
+            font-family: Georgia, 'Times New Roman', Times, serif;
+            color:#B47879;
+
+
+        }
+
+        .fourth1 {
+            width: 400px;
+            height: 500px;
+            padding: 30px;
+            position: absolute;
+            top: 50px;
+            left: 2%;
+            color: black;
+        }
+
+        .four1 {
+
+            left: 70%;
+
+        }
+
+        .one1 {
+            background-color: beige;
+            width: 358px;
+            height: 350px;
+            padding: 50px;
+            position: absolute;
+
+            top: 19%;
+            left: 60%;
+
+            /*左上角*/
+            border-top-left-radius: 25px;
+            /*右上角*/
+            border-top-right-radius: 25px;
+            /*左下角*/
+            border-bottom-right-radius: 25px;
+            /*右下角*/
+            border-bottom-left-radius: 25px;
+        }
+
+        .box {
+            position: relative;
+            width: 200px;
+            border-bottom: 1px solid #B47879;
+            margin: 30px auto;
+        }
+
+        .box input {
+            width: 200px;
+            height: 40px;
+            border: 0;
+            /* 取消蓝色边框 */
+            outline: none;
+        }
+
+        .box img {
+            position: absolute;
+            top: 12px;
+            right: 2px;
+            width: 24px;
+        }
+
+        .btn {
+            text-align: center;
+            padding: 10px;
+            width: 50%;
+            margin-top: 10px;
+            /*彩色背景*/
+            background: linear-gradient(0.25turn, #3f87a6, #ebf8e1, #f69d3c);
+            position: absolute;
+            top: 50%;
+            left: 26%;
+            font-family: Georgia, 'Times New Roman', Times, serif;
+            font-weight: 300px;
+
+            /*左上角*/
+            border-top-left-radius: 25px;
+            /*右上角*/
+            border-top-right-radius: 25px;
+            /*左下角*/
+            border-bottom-right-radius: 25px;
+            /*右下角*/
+            border-bottom-left-radius: 25px;
+        }
+
+        .fourth2 {
+            width: 400px;
+            height: 500px;
+            padding: 30px;
+            position: absolute;
+            top: -1.9vh;
+            left: 3px;
+            color: black;
+        }
+
+        .three4 {
+            height: 20px;
+            font-family: Georgia, 'Times New Roman', Times, serif;
+        }
+
+        /*登录*/
+        .fh {
+            padding: 30px;
+            position: absolute;
+            top: 1px;
+            left: 12%;
+            color: black;
+            font-size: 10px;
+            padding: 25px;
+        }
+
+        .th {
+            height: 20px;
+            width: 50%;
+        }
+
+        .th1 {
+            color: aqua;
+            padding: 5px;
+            position: absolute;
+            bottom: 10px;
+            left: 10px;
+        }
+    </style>
+    <script>
+        function displayDate() {
+            document.getElementById("demo").innerHTML = Date();
+        }
+    </script>
+</head>
+
+<body background="20220811005.jpeg" style="background-size: 100%;">
+    <div class="one">
+        <!--position固定值位置-->
+        <img title="商标" src="标志.jpg" width="50" height="50" style="float:left; position: fixed;">
+
+    </div>
+
+    <div class="two">
+        <div class="three">
+            <h1 style="margin-bottom: 10px;">火焰卫士消防宣传</h1>
+        </div>
+        <div class="fourth">
+            <p style="margin-top: 20px;">
+                消防工作,人人有责      
+           </p>
+        </div>
+    </div>
+
+    <div class="one1">
+        <div class="fourth2">
+            <div class="three4" style="margin: 3px;">
+                <h1 style="margin-bottom: 3px;">欢迎注册</h1>
+            </div>
+            <h6 style="margin-top: 20px;">已用账号?
+
+            </h6>
+        </div>
+
+        <div class="fourth1">
+            <div class="th">
+                <div class="fh">
+                    <a href="登入界面.html" style="padding-left: 13px;text-decoration: none;">登录</a>
+                </div>
+            </div>
+            <form>
+                <div class="box">
+
+                    <input type="text" name="" placeholder="名字" id="pwd" style="background: beige;">
+                </div>
+
+                <div class="box">
+
+                    <input type="text" name="" placeholder="邮箱或手机号" id="pwd" style="background: beige;">
+                </div>
+
+                <div class="box">
+
+                    <input type="password" name="" placeholder="密码" id="pwd" style="background: beige;">
+                </div>
+
+                <a href="草稿.html"><button type="button" onclick="alert('别点了还是什么也没有写!')"
+                        style="border: 10px; background-color:transparent;;padding: 6px;"><input type="submit"
+                            value="注册" class="btn" text="black" style="color: black;border: 0px;"></button></a>
+
+        </div>
+    </div>
+    </form>
+    <div class="th1">
+        <p id="demo">这里可以点击显示日历和时间</p>
+        <button type="button" onclick="displayDate()"
+            style="background-color: transparent;border: 0px;color:aqua;padding: 0px;">显示日期</button>
+
+    </div>
+</body>
+
+</html>

+ 2 - 0
add.js

@@ -0,0 +1,2 @@
+let x=1;
+console.log(x)

+ 42 - 0
index.html

@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8" />
+    <title>ECharts</title>
+    <!-- 引入刚刚下载的 ECharts 文件 -->
+    <script src="./node_modules/echarts/dist/echarts.min.js"></script>
+  </head>
+  <body>
+    <!-- 为 ECharts 准备一个定义了宽高的 DOM -->
+    <div id="main" style="width: 600px;height:400px;"></div>
+    <script type="text/javascript">
+      // 基于准备好的dom,初始化echarts实例
+      var myChart = echarts.init(document.getElementById('main'));
+
+      // 指定图表的配置项和数据
+      var option = {
+        title: {
+          text: 'ECharts 入门示例'
+        },
+        tooltip: {},
+        legend: {
+          data: ['销量']
+        },
+        xAxis: {
+          data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子']
+        },
+        yAxis: {},
+        series: [
+          {
+            name: '销量',
+            type: 'bar',
+            data: [5, 20, 36, 10, 10, 20]
+          }
+        ]
+      };
+
+      // 使用刚指定的配置项和数据显示图表。
+      myChart.setOption(option);
+    </script>
+  </body>
+</html>

+ 41 - 0
package-lock.json

@@ -0,0 +1,41 @@
+{
+  "name": "my-web",
+  "version": "1.0.0",
+  "lockfileVersion": 3,
+  "requires": true,
+  "packages": {
+    "": {
+      "name": "my-web",
+      "version": "1.0.0",
+      "license": "ISC",
+      "dependencies": {
+        "echarts": "^5.5.1"
+      }
+    },
+    "node_modules/echarts": {
+      "version": "5.5.1",
+      "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.5.1.tgz",
+      "integrity": "sha512-Fce8upazaAXUVUVsjgV6mBnGuqgO+JNDlcgF79Dksy4+wgGpQB2lmYoO4TSweFg/mZITdpGHomw/cNBJZj1icA==",
+      "license": "Apache-2.0",
+      "dependencies": {
+        "tslib": "2.3.0",
+        "zrender": "5.6.0"
+      }
+    },
+    "node_modules/tslib": {
+      "version": "2.3.0",
+      "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz",
+      "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
+      "license": "0BSD"
+    },
+    "node_modules/zrender": {
+      "version": "5.6.0",
+      "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.6.0.tgz",
+      "integrity": "sha512-uzgraf4njmmHAbEUxMJ8Oxg+P3fT04O+9p7gY+wJRVxo8Ge+KmYv0WJev945EH4wFuc4OY2NLXz46FZrWS9xJg==",
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "tslib": "2.3.0"
+      }
+    }
+  }
+}

+ 14 - 0
package.json

@@ -0,0 +1,14 @@
+{
+  "name": "my-web",
+  "version": "1.0.0",
+  "main": "add.js",
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "author": "",
+  "license": "ISC",
+  "description": "",
+  "dependencies": {
+    "echarts": "^5.5.1"
+  }
+}