上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <tabl 阅读全文
posted @ 2022-10-25 19:14 Sherwin_szw 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <h1>表 阅读全文
posted @ 2022-10-24 21:17 Sherwin_szw 阅读(9) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <!-- 阅读全文
posted @ 2022-10-22 13:52 Sherwin_szw 阅读(12) 评论(0) 推荐(0) 编辑
摘要: # 放在事件后的 @click.once='函数' .stop 只处理自己的事件,不再冒泡给父标签(阻止事件冒泡) .self 只处理自己的事件,子控件冒泡的事件不处理 .prevent 阻止a链接的跳转 .once 事件只会触发一次(适用于抽奖页面) <!DOCTYPE html> <html l 阅读全文
posted @ 2022-10-20 17:32 Sherwin_szw 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <inpu 阅读全文
posted @ 2022-10-20 16:46 Sherwin_szw 阅读(12) 评论(0) 推荐(0) 编辑
摘要: # 事件:click dbclick blur input change 单击 双击 失去焦点 输入内容 发生变化 # input框会有blur, input, change 事件 使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="U 阅读全文
posted @ 2022-10-19 16:16 Sherwin_szw 阅读(16) 评论(0) 推荐(0) 编辑
摘要: # input :text,password,select... # text文本类型的双向数据绑定 -使用 :value='变量' 单向数据绑定,页面变化,变量不会跟着变 》一般不用 -使用 v-model='变量' 双向数据绑定,页面变化,变量变化都会相互影响 使用 <!DOCTYPE html 阅读全文
posted @ 2022-10-19 14:26 Sherwin_szw 阅读(16) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <h2>v 阅读全文
posted @ 2022-10-19 11:01 Sherwin_szw 阅读(63) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="vue.js"></script> </head> <body> <div id="app"> <h2># 阅读全文
posted @ 2022-10-19 10:20 Sherwin_szw 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2022-10-18 20:29 Sherwin_szw 阅读(12) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页