随笔分类 -  Vue

vue+css3下拉列表展开
摘要:<template> <div> <h2 class="record-title">中奖记录</h2> <div> <div v-for="(item, index) in arr" :key="index" class="record-item"> <div class="record-item-field"> <div :class="{'active': item.isDro 阅读全文
posted @ 2019-12-17 13:47 Jin0312uno 阅读(1008) 评论(0) 推荐(0)
Vue入门笔记(二)--基础部分之条件渲染
摘要:github地址:https://github.com/iTao9354/basicVue/tree/master/conditional%20rendering(demo01-03) 一、v-if & v-else-if & v-else 1.见下例: 其中v-else必须紧跟在v-if或v-el 阅读全文
posted @ 2017-08-03 10:11 Jin0312uno 阅读(186) 评论(0) 推荐(0)
Vue安装--采用命令行工具(CLI)
只有注册用户登录后才能阅读该文。
posted @ 2017-08-03 10:01 Jin0312uno 阅读(44) 评论(0) 推荐(0)
Vue入门笔记(一)--基础部分
摘要:github地址:https://github.com/iTao9354/basicVue(demo01-28) 一、初识Vue 可以使用app.message对渲染后的数据进行修改。 2. Vue常用的指令: 1)v-bind 用来绑定常用属性 主要用法:直接在html标签上添加v-bind:属性 阅读全文
posted @ 2017-07-28 17:53 Jin0312uno 阅读(353) 评论(0) 推荐(0)