摘要: 过滤之列表排序 <body> <!-- 准备好一个容器--> <div id="root"> <h2>人员列表</h2> <input type="text" placeholder="请输入名字" v-model="keyWord"> <button @click="sortType = 2">年 阅读全文
posted @ 2022-04-24 15:01 杨建鑫 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 过滤之计算属性实现 <body> <div id="root"> <h2>人员列表</h2> <input type="text" placeholder="请输入名字" v-model="keyWord"> <ul> <li v-for="(p,index) of filPerons" :key= 阅读全文
posted @ 2022-04-24 14:45 杨建鑫 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 过滤之监听属性实现 <body> <div id="root"> <h2>人员列表</h2> <input type="text" placeholder="请输入名字" v-model="keyWord"> <ul> <li v-for="(p,index) of filPerons" :key= 阅读全文
posted @ 2022-04-24 14:44 杨建鑫 阅读(15) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <meta charset="UTF-8" /> <title>绑定样式</title> <style> .basic{ width: 400px; height: 100px; border: 1px solid black; } .happy{ border: 4px 阅读全文
posted @ 2022-04-24 10:14 杨建鑫 阅读(104) 评论(0) 推荐(0) 编辑
摘要: <body> <div id="root"> <h2>今天天气很{{info}}</h2> <button @click="changeWeather">切换天气</button> <hr/> <h3>a的值是:{{numbers.a}}</h3> <button @click="numbers.a 阅读全文
posted @ 2022-04-24 09:22 杨建鑫 阅读(32) 评论(0) 推荐(0) 编辑
摘要: <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<sp 阅读全文
posted @ 2022-04-23 14:40 杨建鑫 阅读(32) 评论(0) 推荐(0) 编辑
摘要: <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 测试:<in 阅读全文
posted @ 2022-04-23 14:27 杨建鑫 阅读(14) 评论(0) 推荐(0) 编辑
摘要: <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<sp 阅读全文
posted @ 2022-04-23 14:09 杨建鑫 阅读(51) 评论(0) 推荐(0) 编辑
摘要: <body> <!-- 准备好一个容器--> <div id="root"> 姓:<input type="text" v-model="firstName"> <br/><br/> 名:<input type="text" v-model="lastName"> <br/><br/> 全名:<sp 阅读全文
posted @ 2022-04-23 12:58 杨建鑫 阅读(39) 评论(0) 推荐(0) 编辑
摘要: vue的介绍 1.vue是一套用于构建用户界面的渐进式的JavaScript框架 2.vue的特点: a.采用组件化模式,提高代码复用率,且让代码更好维护 b.声明式编码,让编码人员无需直接操作DOM,提高开发效率 c.使用虚拟DOM + 优秀的Diff算法,尽量复用DOM节点 3.学习Vue前,最 阅读全文
posted @ 2022-04-23 12:43 杨建鑫 阅读(117) 评论(0) 推荐(0) 编辑