自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 axios和vue得结合 node.js

<body> <div id="app"> <input type="text" v-model.trim="msg" @keydown.enter="handleSubmit"> <ul v-if="searchList.length>0" > <li v-for="item in searchList">{{item.nam.

2021-10-24 18:55:56 1412

原创 获取当前时间

<body> <p class="time"></p> <script type="text/javascript"> function currentTime(){ var dt=new Date(); // console.log(dt); // 获取年份 var year=dt.getFullYear(); // 获取月份(0-11分别代表的是月份是1-12月份) var mon..

2021-10-17 15:33:26 111

原创 js 数组 顺序抽奖

<body> <div class="box1"></div> <button type="button" class="btn" onclick="cj()">抽奖</button><br /> <div class="box2"></div> </body> <script type="text/javascript"> var str = [6, 4, 5, 1.

2021-10-05 17:37:09 159

原创 flex-shrink 布局

<style> .parent { width: 300px; height: 300px; background-color: pink; display: flex; justify-content: space-between; align-items: center; } .parent ..

2021-10-05 17:33:19 78

原创 jQuery事件-div的显示隐藏及鼠标的移入移出

<style> .header { width: 302px; height: 40px; background: green; font-size: 20px; margin-bottom: 0px; } .content { width: 300px; border: 1px solid #333; background: #CCC; display: none; margin-top: ..

2021-10-05 17:31:33 416

原创 键盘事件正确运用

<script> // 事件源: document/window 事件类型 事件处理函数 // 整个网页文档对象 document // 按键 按下触发, 一直按住 就一直触发 // document.onkeydown = function(evt) { // console.log(evt.code) // KeyA // if(evt.code === 'Ke...

2021-09-25 13:05:30 119

原创 属性方法与this的指定方法运用

<script> // 赚钱 function earnMoney() { console.log(this) console.log( this.name + '说:定它个小目标,赚它一个亿') } earnMoney() var wsc = { // 属性名: 属性值 name: '王思聪', ...

2021-09-18 11:48:08 214 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除