vue对象变化而变化了 通过更改v-on后面的click和” “中的内容,可以实现不同的事件触发不同的方法 方法要写在methods区域 可以使用@来简写 v-show与v-if 通过v-if实现,只会出现符合条件的元素...--button 样式-->> el-row> el-button>默认按钮el-button> el-button type="primary">主要按钮...el-...
el-button更改选中后的默认颜色 先统一设置按钮颜色type="primary" 点击后将颜色改为橘色效果图: 修改样式代码如下: .el-button--primary.is-active, .el-button--primary:active{ background:rgb(230, 162, 60); border-color:rgb(230, 162, 60); color:#fff; } .el-button--primary:focus, .el-butto...