使用vue点击li,获取当前点击li父辈元素的属性值方法
vue实现加载并展示后台数据的tab选项卡
创新互联建站从2013年创立,先为荔城等服务建站,荔城等地企业,进行企业商务咨询服务。为荔城企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。
vue用于渲染页面
jquery用于方法实现动态效果
- {{flow.name.fullName}}
{{flow.name.time}}- {{flow.val1}}
- {{flow.val2}}
- {{flow.val3}}
{ "flows": [ { "date": "2017年5月", "flowsMonth": [ { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "200", "val2": "1.3", "val3": "2300" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "1", "val2": "2", "val3": "3" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "1", "val2": "2", "val3": "3" } ] }, { "date": "2017年6月", "flowsMonth": [ { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "200", "val2": "1.3", "val3": "2300" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "1", "val2": "22", "val3": "33" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "12", "val2": "32", "val3": "13" } ] } , { "date": "2017年8月", "flowsMonth": [ { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "200", "val2": "1.3", "val3": "2300" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "61", "val2": "542", "val3": "63" }, { "name": { "fullName": "xxx 10G", "time": "当月有效" }, "val1": "51", "val2": "22", "val3": "34" } ] } ] }
以上这篇使用vue点击li,获取当前点击li父辈元素的属性值方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持创新互联。
网站名称:使用vue点击li,获取当前点击li父辈元素的属性值方法
当前路径:http://scyanting.com/article/pjiidj.html