摘要:
Vue官网:https://cn.vuejs.org/v2/guide/class-and-style.html#绑定内联样式 学习官网教程。纪录练习。 v-bind:style 绑定一个样式对象 <!DOCTYPE html> <html> <head> <meta charset="utf-8" 阅读全文
摘要:
Vue官网:https://cn.vuejs.org/v2/guide/class-and-style.html#绑定-HTML-Class 学习官网教程。纪录练习。 可以传给 v-bind:class 一个对象,动态地切换 class <!DOCTYPE html> <html> <head> < 阅读全文