随笔分类 -  vue

摘要:# 事件: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 阅读(20) 评论(0) 推荐(0)
摘要:# input :text,password,select... # text文本类型的双向数据绑定 -使用 :value='变量' 单向数据绑定,页面变化,变量不会跟着变 》一般不用 -使用 v-model='变量' 双向数据绑定,页面变化,变量变化都会相互影响 使用 <!DOCTYPE html 阅读全文
posted @ 2022-10-19 14:26 Sherwin_szw 阅读(24) 评论(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 阅读(74) 评论(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 阅读(27) 评论(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 阅读(19) 评论(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 阅读全文
posted @ 2022-10-18 17:33 Sherwin_szw 阅读(34) 评论(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 阅读全文
posted @ 2022-10-18 16:24 Sherwin_szw 阅读(19) 评论(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 阅读全文
posted @ 2022-10-18 14:44 Sherwin_szw 阅读(27) 评论(0) 推荐(0)