+
@@ -27,6 +27,10 @@ export default {
title: String,
description: String,
code: String,
+ active: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {
@@ -52,8 +56,10 @@ $border-color: #ebedf0;
color: #314659;
border: 1px solid $border-color;
border-radius: 4px;
- & + & {
- margin-top: 60px;
+ margin-bottom: 60px;
+ margin-top: 20px;
+ &.active {
+ border-color: #1284e7;
}
}
diff --git a/example/helper/container.vue b/example/helper/container.vue
index 515b129..116558a 100644
--- a/example/helper/container.vue
+++ b/example/helper/container.vue
@@ -18,32 +18,45 @@