2023年7月26日
摘要:
request.js //新建http文件夹的request.js // const baseUrl = require("../utils/env1").dev; //测试环境 const baseURL = "https://v.api.aa1.cn/api/pyq"; //公用总路径地址 //
阅读全文
posted @ 2023-07-26 14:39
hqingxiang
阅读(238)
推荐(0)
2023年4月27日
摘要:
Document <style> * { margin: 0; padding: 0; } ul { list-style: none; } .box { width: 650px; height: 250px; margin: 20px auto; } .box ul { overflow: hi
阅读全文
posted @ 2023-04-27 10:43
hqingxiang
阅读(16)
推荐(0)
2023年4月21日
摘要:
Document <style> * { margin: 0; padding: 0; } div { width: 300px; height: 200px; background-color: aquamarine; } </style> <div></div> <input type="tex
阅读全文
posted @ 2023-04-21 17:27
hqingxiang
阅读(83)
推荐(0)
2023年4月17日
摘要:
Document <style> .box, .codeNumber { width: 120px; margin: 30px auto; } #addName { width: 120px; } </style> <div class="codeNumber">验证码是: <span>123</s
阅读全文
posted @ 2023-04-17 16:26
hqingxiang
阅读(111)
推荐(0)
2023年4月12日
摘要:
Document <style> * { margin: 0; padding: 0; } .box { width: 800px; margin: 100px auto; overflow: hidden; } .tBox li { display: flex; } .tBox img { wid
阅读全文
posted @ 2023-04-12 20:09
hqingxiang
阅读(38)
推荐(0)
摘要:
<button>这是一个按钮</button> <script> var btn = document.querySelector('button'); btn.onclick = function () { btn.innerHTML = '正在加载中'; setTimeout(function
阅读全文
posted @ 2023-04-12 15:50
hqingxiang
阅读(7)
推荐(0)
摘要:
Document 0 <script> //显示输入的字数 var text = document.querySelector('textarea'); var num = document.querySelector('span'); console.log(text); text.onkeyup
阅读全文
posted @ 2023-04-12 15:30
hqingxiang
阅读(107)
推荐(0)
2023年4月11日
摘要:
1.//text-align:center 此方法浮动不可用 如果需要让以上元素水平居中,text-align需要给以上元素的父元素设置(行内元素给父元素设置) 2.//line-height属性取值: 1.数字+px 2.倍数(当前标签font-size的倍数) 具体实现: 1.让单行文本垂直居中
阅读全文
posted @ 2023-04-11 09:35
hqingxiang
阅读(87)
推荐(0)
摘要:
<meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <t
阅读全文
posted @ 2023-04-11 09:17
hqingxiang
阅读(105)
推荐(0)
2023年4月5日
摘要:
<script> 猜数字游戏,设定次数,最多猜8次机会 要求:范围在(1~100)之间,如果猜的大了,就提示大了,如果猜的小了,就提示小了。 配合函数使用 function guess() { var random = Math.floor(Math.random() * 110 + 0); for
阅读全文
posted @ 2023-04-05 15:53
hqingxiang
阅读(86)
推荐(0)