咏竹莉
where there is a will,there is a way
posts - 132,comments - 1,views - 66816

随笔分类 -  AngularJS

循环li, 动态添加当前类
摘要:方法一: html: <div class="todayEnergyTab"> <ul> <li ng-repeat="item in todayEnergyChart" ng-click="getTodayEnergyChart($index,item)" ng-class="{'current' 阅读全文
posted @ 2021-03-17 17:58 咏竹莉 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示