会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
就看你一眼
博客园
首页
新随笔
联系
订阅
管理
2020年4月24日
父子组件间相互传值
摘要: 1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>子组件传值给父组件与父组件传值给子组件</title> 6 <script src="https://unpkg.com/vue/dist/vue.js"></
阅读全文
posted @ 2020-04-24 08:17 就看你一眼
阅读(351)
评论(0)
推荐(0)
2020年4月21日
利用组件实现求任意两数之和
摘要: 1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>获取子组件的数据,然后求和</title> 6 <!--适应移动端--> 7 <meta name="viewport" content="width=devi
阅读全文
posted @ 2020-04-21 07:41 就看你一眼
阅读(162)
评论(0)
推荐(0)
2020年4月7日
js 图片轮播简单版
摘要: <html> <head> <meta charset="utf-8" /> <title></title> <script> window.onload=function(){ setInterval("rollImg()",2000); } var imgarr=["https://www.w3
阅读全文
posted @ 2020-04-07 20:14 就看你一眼
阅读(429)
评论(0)
推荐(0)
2020年3月20日
js正则表达式总结
摘要: /^\w+$/ 匹配字母、数字和下划线组成的字符串 /^([1-9]|0[1-9]|1[012])$/ 匹配一年的十二个月份或者/^(0?[1-9]|1[012])$/ /^[a-zA-Z]+$/ 判断字符串是否全是字母 /^\d+$/ 判断字符串是否全是数字 /^[a-zA-Z].+@.+\.[a
阅读全文
posted @ 2020-03-20 21:28 就看你一眼
阅读(237)
评论(1)
推荐(1)
2020年3月17日
图片轮播
摘要: 1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>呼吸灯效果</title> 6 <!--适应移动端--> 7 <meta name="viewport" content="width=device-width
阅读全文
posted @ 2020-03-17 23:20 就看你一眼
阅读(196)
评论(0)
推荐(0)
利用border-radius画椭圆
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>画椭圆</title> <style> div{ width:200px; height:100px; background-color:#ffa500; border-radiu
阅读全文
posted @ 2020-03-17 21:18 就看你一眼
阅读(935)
评论(0)
推荐(0)
公告