- 博客(6)
- 收藏
- 关注
原创 动态组件is和keep-alive
动态组件 var cus=Vue.component("cus1",{ template:`my is first`, methods:{ change(ev){ ev.target.style.background="red"; } } }); var cus2=Vue.compo
2017-04-28 23:01:49 1184
原创 递归树形结构
递归树形结构 Vue.component('tree-list', { props:{ incrementCount:{ type:Number, default:0 }, data:{ type:Array, default:[] } }, computed:{ count(){ var c
2017-04-28 21:49:43 303
原创 IMWeb训练营作业,自定义 select
自定义 select .warp{ } Vue.component("custom-select",{ data:function () { return { selectshow:false, val:"" } }, props:["btnValue","list"], template:` v
2017-04-24 17:25:03 231
原创 计算属性和深度监控
todu list .editing :first-child{ display:none; } .content{ margin: 0 auto; } .editing .edit{ display: block; } .edit { display: none; } .view{ width: 90%; border
2017-04-24 12:11:50 1012
原创 IMWeb训练营作业
todu list .editing :first-child{ display:none; } .editing .edit{ display: block; } .edit { display: none; } ul{ list-style-type: none; } 任务计划列表 添加任务
2017-04-20 10:41:34 286
原创 html基础之诗词纵向排列
诗词 .content{ background-image: url("http://s15.sinaimg.cn/mw690/003ieNgKzy6UtU5Kn26fe&690"); background-repeat: no-repeat; background-position: center; background-size: 100% 100%; width: 100%;
2017-04-18 11:05:36 3248
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人