![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue练习
橘子羊
一条在前端之路上摸爬滚打的咸鱼
展开
-
vue项目部署iis服务器404问题
关于部署服务器404问题 https://blog.csdn.net/bigbear00007/article/details/90718450原创 2021-09-09 14:28:48 · 544 阅读 · 0 评论 -
点击li切换颜色练习
div中: <ul> <li @click="fun(index)" :class="{'xuanzhong':dianIndex==index}" v-for='(items,index) in haizei'>{{items}}</li> </ul> style中: .xuanzhong{ color: red; } script中: data:{ haizei:["路飞","乔巴","索隆","娜美","山治","乌索普原创 2021-03-24 17:42:13 · 118 阅读 · 0 评论