vue基础实践1:class和style数组样式类
class和style数组样式类 对象方式处理动态的样式; :class="{样式类名:响应式数据...}" 响应式数据为true则有这个样式,反之则没有
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv